1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Check the appropriate functions in portrules for SSL/TLS

This commit is contained in:
dmiller
2016-04-11 20:42:02 +00:00
parent 0699edbe05
commit a24006e0b7
4 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories = {"discovery", "safe", "default"}
portrule = function(host, port)
return shortport.ssl(host, port) or sslcert.isPortSupported(port)
return shortport.ssl(host, port) or sslcert.getPrepareTLSWithoutReconnect(port)
end
-- Miscellaneous script-wide constants