Handle another common error type
parent
41ca655d86
commit
774862508e
|
@ -57,7 +57,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
report_service(:host => rhost, :port => rport, :name => "pcanywhere", :info => "")
|
report_service(:host => rhost, :port => rport, :name => "pcanywhere", :info => "")
|
||||||
print_status("#{rhost}:#{rport} pcAnywhere")
|
print_status("#{rhost}:#{rport} pcAnywhere")
|
||||||
|
|
||||||
rescue ::Rex::ConnectionError, ::EOFError
|
rescue ::Rex::ConnectionError, ::EOFError, ::Errno::ECONNRESET
|
||||||
rescue ::Exception => e
|
rescue ::Exception => e
|
||||||
print_error("#{rhost}:#{rport} Error: #{e.class} #{e} #{e.backtrace}")
|
print_error("#{rhost}:#{rport} Error: #{e.class} #{e} #{e.backtrace}")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue