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 }