mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-28 15:30:21 +00:00
fix variable name
This commit is contained in:
parent
184ebe7032
commit
965fb0ad3c
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue