Handle another common error type

This commit is contained in:
HD Moore 2012-01-28 23:31:10 -06:00
parent 41ca655d86
commit 774862508e
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Metasploit3 < Msf::Auxiliary
report_service(:host => rhost, :port => rport, :name => "pcanywhere", :info => "")
print_status("#{rhost}:#{rport} pcAnywhere")
rescue ::Rex::ConnectionError, ::EOFError
rescue ::Rex::ConnectionError, ::EOFError, ::Errno::ECONNRESET
rescue ::Exception => e
print_error("#{rhost}:#{rport} Error: #{e.class} #{e} #{e.backtrace}")
end