Ignore EACCES from connect in TCP portscanner aux module. This can be caused
by (at least) ICMPv6 Administratively Prohibited messages, on at least Linux. I got these by scanning ports 21-23 on ipv6.google.com, for example. git-svn-id: file:///home/svn/framework3/trunk@5797 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
71885912b8
commit
aec269616a
|
@ -86,6 +86,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
break
|
||||
rescue ::SocketError
|
||||
rescue ::Rex::ConnectionRefused, ::Rex::ConnectionTimeout
|
||||
rescue ::Errno::EACCES
|
||||
rescue ::Exception => e
|
||||
print_status("Unknown error: #{e.class} #{e.to_s}")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue