Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
nmap
/
OS detection
OS detection
nmap
Enable OS detection (requires root)
nmap -O 192.168.1.1
⎘ copy
#nmap
#network
#os
more nmap
all 15 commands →
Aggressive scan
nmap -A 192.168.1.1
Scan a subnet
nmap 192.168.1.0/24
Ping scan (host discovery)
nmap -sn 192.168.1.0/24
Scan specific ports
nmap -p 22,80,443,8080 192.168.1.1
Scan port range
nmap -p 1-1024 192.168.1.1