diff --git a/pentesting/pentesting-snmp/README.md b/pentesting/pentesting-snmp/README.md index 1ce49b9a..f9538e98 100644 --- a/pentesting/pentesting-snmp/README.md +++ b/pentesting/pentesting-snmp/README.md @@ -181,3 +181,30 @@ If there is an ACL that only allows some IPs to query the SMNP service, you can * snmpd.conf * snmp-config.xml +## HackTricks Automatic Commands + +``` +Protocol_Name: SNMP #Protocol Abbreviation if there is one. +Port_Number: 161 #Comma separated if there is more than one. +Protocol_Description: Simple Network Managment Protocol #Protocol Abbreviation Spelled out + +Name: Notes +Description: Notes for SNMP +Note: """ +SNMP - Simple Network Management Protocol is a protocol used to monitor different devices in the network (like routers, switches, printers, IoTs...). + +https://book.hacktricks.xyz/pentesting/pentesting-snmp +""" + +Name: SNMP Check +Descriptio: Enumerate SNMP +Command: """snmp-check {IP}""" + +Name: OneSixtyOne +Description: Crack SNMP passwords +Command: """onesixtyone -c /usr/share/seclists/Discovery/SNMP/common-snmp-community-strings-onesixtyone.txt {IP} -w 100""" + +Name: Nmap +Description: Nmap snmp (no brute) +Command: nmap --script "snmp* and not snmp-brute" {IP} +```