mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
New, broader portrule for SSH scripts. Closes #1825
This commit is contained in:
@@ -139,7 +139,7 @@ license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
|
||||
categories = {"safe","default","discovery"}
|
||||
|
||||
|
||||
portrule = shortport.port_or_service(22, "ssh")
|
||||
portrule = shortport.ssh
|
||||
|
||||
postrule = function() return (nmap.registry.sshhostkey ~= nil) end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user