Add multilang syscheck

bug/bundler_fix
Meatballs 2013-06-15 17:39:01 +01:00
parent 69dead8c8f
commit fc7d151273
1 changed files with 5 additions and 1 deletions

View File

@ -159,7 +159,11 @@ class Console::CommandDispatcher::Mimikatz
end end
def system_check def system_check
unless (client.sys.config.getuid == "NT AUTHORITY\\SYSTEM") # Recreate is_system? as it is an MSF method not available to Rex
# This adds some foreign language support
local_sys = resolve_sid("S-1-5-18")
unless (client.sys.config.getuid == "#{local_sys[:domain]}\\#{local_sys[:name]}")
print_warning("Not currently running as SYSTEM") print_warning("Not currently running as SYSTEM")
return false return false
end end