📘
OSCP Exam Prep
OSCP Exam Prep
OSCP Exam Prep
  • Reference List
  • Guideline
  • Commons
    • Basic Scans
    • Service Enumeration
      • HTTP(S) (80 / 443)
      • SMB (139 / 445)
      • FTP (21)
      • DNS (53)
      • SSH (22)
      • LDAP (389/636/3268)
      • Kerberos (88)
      • SNMP (161)
      • SMTP (25)
      • RDP (3389)
      • Evil-WinRM (5985/5986)
      • MYSQL (3306)
      • MSSQL (1433)
    • Default/Common Credentials
    • Shells
      • TTY Shell
    • File Transfer
    • KeePass Database
    • Port Forwarding
    • File Metadata
  • Attacks
    • Run a command x times
    • Public Exploits
    • User Creation
    • Password Cracking
      • Using custom wordlists
    • LFI/RFI
    • SQLi
    • PwnKit
    • SAM and SYSTEM files
    • Phishing for Access (Requires MailSVR)
    • GitDumper
  • Enumeration
    • Linux
    • Windows
  • Privilege Escalation
    • Linux
    • Windows
  • Port Forwarding Extras
    • Linux
    • Windows
  • Active Directory
    • Enumeration
    • Lateral Movement
    • Privilege Escalation
Powered by GitBook
On this page
  • nmap
  • onesixtyone
  • snmpwalk
  1. Commons
  2. Service Enumeration

SNMP (161)

nmap

sudo nmap -sU --open -p 161 10.11.1.1-254

onesixtyone

To Prep:
    echo public > community && echo private >> community && echo manager >> community
    for ip in $(seq 1 254); do echo 0.0.0.$ip; done > ips

To Run:
    onesixtyone -c community -i ips

snmpwalk

snmpwalk  -c public -v2c <IP> NET-SNMP-EXTEND-MIB::nsExtendOutputFull
snmpwalk  -c community -v2c <IP> NET-SNMP-EXTEND-MIB::nsExtendOutputFull

snmpwalk -c public -v2c -t 10 <IP>
snmpwalk -c public -v2c <IP> .1.3.6.1.4.1.8072.1.3.2
snmpwalk -c public -v2c <IP> 1.3.6.1.4.1.77.1.2.25
snmpwalk -c public -v2c <IP> 1.3.6.1.2.1.25.4.2.1.2
snmpwalk -c public -v2c <IP> 1.3.6.1.2.1.6.13.1.3

PreviousKerberos (88)NextSMTP (25)

Last updated 3 months ago