fix variable name

This commit is contained in:
TrustedSec 2017-11-02 11:31:19 -04:00
parent 184ebe7032
commit 965fb0ad3c

View file

@ -1537,7 +1537,7 @@ def generate_powershell_alphanumeric_payload(payload, ipaddr, port, payload2):
"$w", var11) "$w", var11)
# unicode and base64 encode and return it # unicode and base64 encode and return it
return base64.b64encode(powershell_command.encode('utf_16_le')).decode("ascii") return base64.b64encode(powershell_code.encode('utf_16_le')).decode("ascii")
# generate base shellcode # generate base shellcode
def generate_shellcode(payload, ipaddr, port): def generate_shellcode(payload, ipaddr, port):