x86 warning for mimikatz
parent
02788f71d9
commit
36ef2cb5a1
|
@ -26,6 +26,10 @@ class Console::CommandDispatcher::Mimikatz
|
|||
#
|
||||
def initialize(shell)
|
||||
super
|
||||
if (shell.client.platform =~ /x86/) and (shell.client.sys.config.sysinfo['Architecture'] =~ /x64/)
|
||||
print_line
|
||||
print_warning "Loaded x86 Mimikatz on an x64 architecture."
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
|
@ -83,8 +87,7 @@ class Console::CommandDispatcher::Mimikatz
|
|||
arguments = cmd_args.split(" ")
|
||||
end
|
||||
|
||||
print client.mimikatz.send_custom_command(cmd_func, arguments)
|
||||
print_line
|
||||
print_line client.mimikatz.send_custom_command(cmd_func, arguments)
|
||||
end
|
||||
|
||||
def mimikatz_request(provider, method)
|
||||
|
@ -106,7 +109,7 @@ class Console::CommandDispatcher::Mimikatz
|
|||
table << [acc[:authid], acc[:package], acc[:domain], acc[:user], acc[:password]]
|
||||
end
|
||||
|
||||
print_status table.to_s
|
||||
print_line table.to_s
|
||||
|
||||
return true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue