NMAP Cheat Sheet - wAlber47/Tech-Journal GitHub Wiki

This page will serve as a running guide to using NMAP.

Syntax

  • Always run scans as sudo.
  • use nmap [target] to perform a basic scan on a single target.

Flags

  • -sV = perform version detection of the services running on the open port
  • -A = called 'Aggressive Detection Mode' and it runs several operations at once (which are additional flags).
  • -p = used to specify ports to run the scan against, can do a range or lists.
  • -O = Operating system detection
  • -Pn = skip host discovery
  • --open = only report the open machines
  • T0 through T5 specifies the level of aggression the scan will be performed with.

External Guides/Documentation

nmap Cheat Sheet
Official Documentation
Explain Shell