1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 02:49:01 +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

@@ -45,7 +45,7 @@ categories = {"intrusive"}
dependencies = {"snmp-brute"}
portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
portrule = shortport.port_or_service(161, "snmp", "udp", {"open", "open|filtered"})
local function fail (err) return stdnse.format_output(false, err) end
---