o Update SSLv2-support NSE script to run against more services which

are likely SSL. [Sven Klemm]
This commit is contained in:
fyodor 2008-01-13 04:36:27 +00:00
parent eb3c9e1830
commit 44179ae135
2 changed files with 13 additions and 1 deletions

View file

@ -7,7 +7,11 @@ categories = {"intrusive"}
require "shortport"
portrule = shortport.port_or_service(443, {"ssl/http", "ssl", "https"})
local portfunction = shortport.port_or_service({443,993,995},{'https','imaps','pop3s'})
portrule = function( host, port )
return portfunction( host, port ) or port.version.service_tunnel == 'ssl'
end
hex2dec = function(hex)