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 62e335d commit 1637651Copy full SHA for 1637651
lib/rex/post/meterpreter/ui/console/command_dispatcher/mimikatz.rb
@@ -159,11 +159,7 @@ def get_privs
159
end
160
161
def system_check
162
- # 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]}")
+ unless (client.sys.config.getuid == "NT AUTHORITY\\SYSTEM")
167
print_warning("Not currently running as SYSTEM")
168
return false
169
0 commit comments