NMAP Cheat Sheet
NMAP Cheat Sheet
Nmap is a free open source tool, employed to discover hosts and services on a
computer network by sending packets and analyzing the retrieved responses. Nmap
offers some features for probing computer networks, including host discovery and service
and operating system detection.
Nmap can provide further information on targets, including reverse DNS names,
device types, and MAC addresses.
Host discovery – Identifying hosts on a network. For example, listing the hosts that
respond to TCP and/or ICMP requests or have a particular port open.
Scriptable interaction with the target support using the Nmap Scripting Engine
(NSE).
Usage of Nmap
Discovery Options
Perform a Ping Only Scan nmap -sP [target] nmap -sP 192.168.0.1
CMP Address Mask Ping nmap -PM [target] nmap -PM 192.168.0.1
Version Detection
Fingerprints
Only Display Open Ports nmap –open [target] nmap –open 192.168.0.1