<aside>
Basic Pentesting
</aside>
nmap
basic TCP scan (top 1k ports)
nmap 10.129.42.253
version + default scripts + all TCP ports
nmap -sV -sC -p- 10.129.42.253
full TCP scan, timing, save normal output
nmap -p 1-65535 -sV -sC -T4 -oN nmap_full.txt 10.129.42.253
UDP scan (may be slow), save output
nmap -sU -p- -T4 -oN nmap_udp.txt 10.129.42.253
aggressive scan (OS, versions, scripts, traceroute)
nmap -A -T4 10.129.42.253
OS detection
nmap -O 10.129.42.253
skip host discovery (treat host as up)
nmap -Pn 10.129.42.253
TCP SYN stealth scan
nmap -sS -p- 10.129.42.253
TCP connect scan (fallback)