From eb830cb361c79a877888799aed3c20e06373d2c0 Mon Sep 17 00:00:00 2001 From: OJ Date: Mon, 10 Nov 2014 07:44:36 +1000 Subject: [PATCH] Idiomaticise the rubies --- .../post/meterpreter/ui/console/command_dispatcher/incognito.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb b/lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb index 0371963bda..921d176e9a 100644 --- a/lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb +++ b/lib/rex/post/meterpreter/ui/console/command_dispatcher/incognito.rb @@ -221,7 +221,7 @@ class Console::CommandDispatcher::Incognito end def system_privilege_check - if !client.sys.config.is_system? + unless client.sys.config.is_system? print_line("[-] Warning: Not currently running as SYSTEM, not all tokens will be available") print_line(" Call rev2self if primary process token is SYSTEM") end