mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 19:09:01 +00:00
Check the appropriate functions in portrules for SSL/TLS
This commit is contained in:
@@ -119,7 +119,7 @@ categories = { "default", "safe", "discovery" }
|
||||
|
||||
|
||||
portrule = function(host, port)
|
||||
return shortport.ssl(host, port) or sslcert.isPortSupported(port)
|
||||
return shortport.ssl(host, port) or sslcert.isPortSupported(port) or sslcert.getPrepareTLSWithoutReconnect(port)
|
||||
end
|
||||
|
||||
-- Find the index of a value in an array.
|
||||
|
||||
Reference in New Issue
Block a user