📘
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
  • Alternative: AutoRecon
  1. Commons

Basic Scans

Nmap

  1. Network Scan

sudo nmap <IP>/<subnet mask> -o network.nmap
  1. Port Scan

sudo nmap --top-ports=100 <IP> -Pn -o target.openmap
sudo nmap -p- --open <IP> -Pn -o target.nmap

sudo nmap -sV -sC -sT -T4 -A --top-ports=100 --open <IP> -Pn -o target.fullmap
sudo nmap -sV -sC -sT -T4 -A -p- --open <IP> -Pn -o target.fullmap
sudo nmap -sS -vv -T4 -A -p- --open <IP> -Pn -o nmap.fullmap

#S1ren nmap scan
sudo nmap -sV -sC -sT -T4 -A -p<> --open <IP> -Pn -o target.map<>

sudo nmap -sV -sC -sU -T4 -A --top-ports=100 <IP> -Pn -o target.udpmap
sudo nmap -sV -sC -sU -T4 -A -p- --open <IP> -Pn -o target.udpmap
  1. Vulnerability Scan

sudo nmap -sV -p<> --script "vuln" <IP>
  1. UDP Scan

sudo nmap -sU --top-ports 100 -vvv <IP> -o target.udp
  1. S1REN Scan

sudo nmap -sC -sV -p- -n -Pn --open --min-rate 2000 <IP> -o target.s1ren

Alternative: AutoRecon

sudo autorecon <IP>

PreviousGuidelineNextService Enumeration

Last updated 25 days ago