1
0
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:
nnposter
2020-07-27 03:32:27 +00:00
parent 99220fe0bc
commit 631d2556c0
12 changed files with 16 additions and 12 deletions

View File

@@ -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