mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
SNMP scripts are enabled on non-standard ports. See #1473
This commit is contained in:
@@ -61,7 +61,7 @@ prerule = function()
|
||||
return true
|
||||
end
|
||||
|
||||
portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
|
||||
portrule = shortport.port_or_service(161, "snmp", "udp", {"open", "open|filtered"})
|
||||
|
||||
-- List of IANA-assigned network interface types
|
||||
-- Taken from IANAifType-MIB
|
||||
|
||||
Reference in New Issue
Block a user