nmap default ports scanned

Michael Stout

Well-known member
Sep 6, 2023
2
11
London
michaelstout.com
The default ports scanned are 1000 of the ports Nmap believe to be the most important.
The -F scan will scan 100 ports.

Other scanning options would be, using -p include

Bash:
$ nmap 192.168.0.9 -p80
$ nmap 192.168.0.9 -p0-1023
$ nmap 192.168.0.9 -p22,23,25,110,3389
$ nmap 192.168.0.9 -p0-65535

or my personal faviorite for all 65536 TCP ports
Bash:
$ nmap 192.168.0.9 -p-
 
Last edited: