From 417088f14c3effd67c078ff5f180ceb541181270 Mon Sep 17 00:00:00 2001 From: kingpp Date: Fri, 21 Oct 2022 16:50:04 +0800 Subject: [PATCH] Encrypt the payload of ms17010 to avoid being killed by AV --- Plugins/ms17010.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/ms17010.go b/Plugins/ms17010.go index cf847be..5b5c282 100644 --- a/Plugins/ms17010.go +++ b/Plugins/ms17010.go @@ -55,7 +55,7 @@ func PKCS7Padding(ciphertext []byte, blocksize int) []byte { padtext := bytes.Repeat([]byte{byte(padding)}, padding) return append(ciphertext, padtext...) } -//去码 + func PKCS7UnPadding(origData []byte) []byte { length := len(origData) unpadding := int(origData[length-1])