x86 warning for mimikatz

bug/bundler_fix
Meatballs 2013-04-29 23:14:32 +01:00
parent 02788f71d9
commit 36ef2cb5a1
1 changed files with 6 additions and 3 deletions

View File

@ -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