Scan a port range
Scan ports 1-1024
nmap -p 1-1024 192.168.1.1
- tool
- nmap15 commands
More nmap commands
-
nmap -sU 192.168.1.1Scan UDP ports, slower than TCP and needs root
-
nmap -sC 192.168.1.1Run the default NSE scripts against the target
-
nmap --script http-title 192.168.1.1Run one Nmap Scripting Engine script by name
-
nmap -oX scan.xml 192.168.1.1Save the scan results in XML format
-
nmap -F 192.168.1.1Scan only the 100 most common ports