Fix msftidy and make sure all print_*s in check() are vprint_*s

bug/bundler_fix
sinn3r 2015-01-07 12:12:25 -06:00
parent 3e80efb5a8
commit ef97d15158
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
## ##
# This module requires Metasploit: http//metasploit.com/download # This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework # Current source: https://github.com/rapid7/metasploit-framework
## ##
@ -76,7 +76,7 @@ class Metasploit3 < Msf::Exploit::Remote
end end
return Exploit::CheckCode::Safe return Exploit::CheckCode::Safe
rescue ::Rex::ConnectionError rescue ::Rex::ConnectionError
print_error("#{peer} - Connection failed") vprint_error("#{peer} - Connection failed")
end end
return Exploit::CheckCode::Unknown return Exploit::CheckCode::Unknown