Running a default scan

Once Nmap is installed and you've chosen a target, it's relatively straightforward to run a scan with the default settings. The command is as straightforward as nmap scanme.nmap.org (assuming http://scanme.nmap.org/ is the target of this particular scan).

Running a default scan

As you can see in the preceding screenshot, running a default scan is very easy. Normally, Nmap uses a SYN scan as the default scan type; but because we did not run the scan with root privileges via sudo, Nmap reverts to a "connect" scan instead. We'll get into the differences of specific scan types in Chapter 4, Advanced Nmap Scans.

For now, you can see that we've detected ...

Get Nmap Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.