Fix issue 7610, cisco_ironport_enum falsely claimed connection failed.

Make sure we return 1 in check_conn method.
bug/bundler_fix
Jin Qian 2016-11-23 14:59:07 -06:00
parent 3640e87a37
commit 65b858ac06
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class MetasploitModule < Msf::Auxiliary
'method' => 'GET' 'method' => 'GET'
}) })
print_good("#{rhost}:#{rport} - Server is responsive...") print_good("#{rhost}:#{rport} - Server is responsive...")
return 1
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout, ::Rex::ConnectionError, ::Errno::EPIPE rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout, ::Rex::ConnectionError, ::Errno::EPIPE
return return
end end