From 823c75908d35af72c9eed5e54f7b32b98f7230d7 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Thu, 29 Jan 2015 16:54:41 -0600 Subject: [PATCH] Fix #4672 - Fix Hardcoded false for screenshot -v Fix #4672 --- .../post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb b/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb index 5661c29ed4..046ad66371 100644 --- a/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb +++ b/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb @@ -150,7 +150,7 @@ class Console::CommandDispatcher::Stdapi::Ui when "-p" path = val when "-v" - view = false if ( val =~ /^(f|n|0)/i ) + view = true if ( val =~ /^(t|y|1)/i ) end }