snmpwalk
snmpwalk -v 2c -c public underpass.htb
snmpwalk -v 2c -c public 10.129.42.253 1.3.6.1.2.1.1.5.0
snmpwalk -v 2c -c private 10.129.42.253
version 1
snmpwalk -v1 -c public 10.10.1.22
version 2c
snmpwalk -v2c -c public 10.10.1.22
Flags
| Option | Description | Default / Notes |
|---|---|---|
-q | Quiet mode (suppress header; print variable values only) | — |
-r:host | Name or network address (IPv4/IPv6) of remote host | — |
-p:port | SNMP port number on remote host | 161 |
-t:timeout | SNMP timeout in seconds (1–600) | 5 |
-v:version | SNMP version | 1 (supports 1, 2c, 3) |
-c:community | SNMP Community Strings for SNMP v1/v2c | public |
-ei:engine_id | Engine ID (hexadecimal string, SNMPv3) | — |
-sn:sec_name | SNMP security name (SNMPv3) | — |
-ap:auth_proto | Authentication protocol (MD5, SHA, SNMPv3) | — |
-aw:auth_passwd | Authentication password (SNMPv3) | — |
-pp:priv_proto | Privacy protocol: DES, IDEA, AES128, AES192, AES256, 3DES (SNMPv3) | — |
-pw:priv_passwd | Privacy password (SNMPv3) | — |
-cn:cont_name | Context name (SNMPv3) | — |
-ce:cont_engine | Context engine (hexadecimal string, SNMPv3) | — |
-os:start_oid | OID of first SNMP variable to walk | .1 |
-op:stop_oid | OID of last SNMP variable to walk | Walk to last variable |
-csv | Output in CSV format | — |