NMAP Commands

Commands used in Labs

Command
Description

-sN

no port scan

-Pn

tells the tool to not perform a host discovery phase before scanning

-sV

version scanning

-A

more intense version scanning

nmap -p1-6000 10.0.5.17

specify a range of ports to scan on host

nmap -p 135,139,445,3389 10.0.5.17

specify specific ports to scan

-sC

script scan

--traceroute

traceroute of the scan, will tell you what was performed during the scan, and how long it took.

Man page flags

Target Specification

Host Discovery

Scan Techniques

Port Specification and Scan Order

Service/Version Detection

Script Scan

OS Detection

Timing and Performance

Firewall/IDS Evasion and Spoofing

Output

MISC/Examples

Last updated