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

@@ -40,7 +40,7 @@ dependencies = {"snmp-brute"}
-- Revised 07/26/2012 - v0.3 - added newtargets support
portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
portrule = shortport.port_or_service(161, "snmp", "udp", {"open", "open|filtered"})
--- Processes the table and creates the script output
--