Last Updated: November 21, 2025
Nmap
Network scanning tool
Common Scans
| Item | Description |
|---|---|
nmap 192.168.1.1
|
Basic scan |
nmap -sS 192.168.1.1
|
SYN stealth scan |
nmap -sV 192.168.1.1
|
Version detection |
nmap -O 192.168.1.1
|
OS detection |
nmap -A 192.168.1.1
|
Aggressive scan |
nmap -p- 192.168.1.1
|
Scan all ports |
Target Specification
| Item | Description |
|---|---|
nmap 192.168.1.0/24
|
Scan subnet |
nmap 192.168.1.1-254
|
Scan range |
nmap -iL targets.txt
|
Scan from file |
Best Practices
- Start with ping scan (-sn)
- Use -Pn for hosts that block ping
- Save results with -oN
- Respect network policies
💡 Pro Tips
Quick Reference
Nmap is the standard for network discovery