Add vprint of the exception message

bug/bundler_fix
Nicolas Devillers 2016-02-10 22:47:51 +01:00
parent 1637891ece
commit 8118198628
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ class Metasploit3 < Msf::Post
:pass_variable => 'passwd=',
:viewonly_variable => 'passwd2=',
:port_variable => 'PortNumber='}
rescue
# Registry value not found
rescue Rex::Post::Meterpreter::RequestError => e
vprint_error(e.message)
end
locations << {:name => 'WinVNC3_HKLM',