Add multilang syscheck
parent
69dead8c8f
commit
fc7d151273
|
@ -159,7 +159,11 @@ class Console::CommandDispatcher::Mimikatz
|
|||
end
|
||||
|
||||
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")
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue