mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 09:59:04 +00:00
Let ssl-cert grab certs from DTLS services. Fix rules for TCP-only scripts
This commit is contained in:
@@ -103,7 +103,9 @@ local get_fingerprints = function(path)
|
||||
return true, fingerprints
|
||||
end
|
||||
|
||||
portrule = shortport.ssl
|
||||
portrule = function(host, port)
|
||||
return shortport.ssl(host, port) or sslcert.isPortSupported(port) or sslcert.getPrepareTLSWithoutReconnect(port)
|
||||
end
|
||||
|
||||
action = function(host, port)
|
||||
-- Get script arguments.
|
||||
|
||||
Reference in New Issue
Block a user