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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user