nmap
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Nmap Network Scanner
Scan networks, discover hosts, and detect services using nmap.
Tool Status
- Tool installed: !
command -v nmap > /dev/null 2>&1 && echo "YES -- $(nmap --version 2>/dev/null | head -1)" || echo "NO -- Install: brew install nmap (macOS) | apt install nmap (Debian/Ubuntu)" - Wrapper scripts available: !
test -f scripts/nmap/identify-ports.sh && echo "YES -- use wrapper scripts for structured JSON output" || echo "NO -- using standalone mode with direct commands"
Mode: Wrapper Scripts Available
If wrapper scripts are available (shown as YES above), prefer these commands. They provide structured JSON output and educational context.
Host Discovery
bash scripts/nmap/discover-live-hosts.sh <target> -j -x-- Find active hosts using ping sweeps, ARP, and ICMP probes
Port Scanning
bash scripts/nmap/identify-ports.sh <target> -j -x-- Scan for open ports and detect services behind them