Skip to content

Commit eb830cb

Browse files
committed
Idiomaticise the rubies
1 parent 08e7072 commit eb830cb

File tree

1 file changed

+1
-1
lines changed
  • lib/rex/post/meterpreter/ui/console/command_dispatcher

1 file changed

+1
-1
lines changed

lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def cmd_snarf_hashes(*args)
221221
end
222222

223223
def system_privilege_check
224-
if !client.sys.config.is_system?
224+
unless client.sys.config.is_system?
225225
print_line("[-] Warning: Not currently running as SYSTEM, not all tokens will be available")
226226
print_line(" Call rev2self if primary process token is SYSTEM")
227227
end

0 commit comments

Comments
 (0)