We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69dead8 commit fc7d151Copy full SHA for fc7d151
lib/rex/post/meterpreter/ui/console/command_dispatcher/mimikatz.rb
@@ -159,7 +159,11 @@ def get_privs
159
end
160
161
def system_check
162
- unless (client.sys.config.getuid == "NT AUTHORITY\\SYSTEM")
+ # Recreate is_system? as it is an MSF method not available to Rex
163
+ # This adds some foreign language support
164
+ local_sys = resolve_sid("S-1-5-18")
165
+
166
+ unless (client.sys.config.getuid == "#{local_sys[:domain]}\\#{local_sys[:name]}")
167
print_warning("Not currently running as SYSTEM")
168
return false
169
0 commit comments