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-b9f4589650da
unstable
kris 2008-10-28 02:55:10 +00:00
parent 71885912b8
commit aec269616a
1 changed files with 1 additions and 0 deletions

View File

@ -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