Skip to content

xomnibot@lab:~/cheatsheets/nmap-cheatsheet$

Nmap

Nmap Speed & Enumeration Cheatsheet

Essential Nmap command flags, timing options, and NSE scripts for fast network enumeration.

1 min read
On this page

// commands

Port Scanning Basics

nmap -sC -sV -oN initial.nmap $TARGET_IP

Default scripts (-sC), service version detection (-sV), output to normal file (-oN).

nmap -p- --min-rate 5000 $TARGET_IP

Fast scan across all 65,535 TCP ports with minimum packet rate.

NSE Script Scanning

nmap --script vuln $TARGET_IP

Run all safe vulnerability detection scripts against open services.

Additional Notes

Nmap remains the primary network scanner for penetration testing and CTF challenges.