Table of Contents

nmap

Target Selection

range nmap 192.168.0.10-19
subnet nmap 10.0.5.0/24
from text file nmap -iL LIST_OF_IPS.txt

Port Selection

single port nmap -p 22 192.168.0.1/24
range of ports nmap -p 1-999 192.168.0.1
most common ports nmap -F 192.168.0.1
all ports (1-65535) nmap -p- 192.168.0.1

Service and OS Detection

OS and services nmap -A 192.168.0.1
standard services nmap -sV 192.168.0.1
aggressive service detection nmap -sV –version-intensity 5 192.168.0.1
super aggressive service detection nmap -sV –version-intensity 9 192.168.0.1

Further information

StationX - Nmap Cheat Sheet