Hackbydoing Academy cheat sheet · nmap · recon · scanning
| nmap -sn 192.168.1.0/24 | Host discovery only (ping sweep) — who is alive |
| nmap <ip> | Top-1000 TCP ports on one host |
| nmap -sV <ip> | Version detection — grab banners, name the services |
| nmap -O <ip> | OS fingerprinting (needs root for full effect) |
| nmap -p- <ip> | ALL 65,535 ports (slow, thorough) |
| nmap -p 22,80,443 <ip> | Specific ports only |
| nmap -sU <ip> | UDP scan (DNS, SNMP, DHCP live here — often forgotten) |
| nmap -A <ip> | Aggressive: versions + OS + scripts + traceroute |
| open | Something is listening and answering — this is attack surface |
| closed | The host answered "nothing here" — the host is alive |
| filtered | A firewall ate the probe — no answer at all |
| The banner is the prize | Product + version → search it against known CVEs (vulnerability analysis) |
| Defender's note | Scan yourself before someone else does; close or firewall anything you can't explain |
Free from the Hackbydoing Academy — the game that teaches real cybersecurity, attack and defense, on simulated networks. Play free at hackbydoing.com · Print this page (Ctrl/Cmd+P) for a clean paper copy.