What is Nmap?
Nmap (Network Mapper) is a powerful open-source tool used for:
network discovery, port scanning, service detection, and OS fingerprinting.
It is the first weapon in a Red Teamer’s arsenal.
Common Scanning Commands
# Basic Scan
nmap 192.168.1.1
# Stealth SYN Scan
nmap -sS target.com
# Service & Version Detection
nmap -sV target.com
# OS Detection
nmap -O target.com
# Full Port Scan
nmap -p- target.com
Sample Output
Starting Nmap 7.94
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
3306/tcp open mysql
Device type: general purpose
Running: Linux 5.X
OS details: Linux 5.4 - 5.15
Attack Phase Mapping
[ Reconnaissance ] → Host discovery, ping scan
[ Enumeration ] → Open ports, services, versions
[ Vulnerability ] → Feed results into Metasploit / Burp
← Back to Tools
Home