Nmap Flags - morgan-hanrahan/Tech-Journal GitHub Wiki

Link to all nmap flags: https://linux.die.net/man/1/nmap

  • -p: Allows for single and multiple ports. Scans specified ports only.
  • -Pn: Skips host discovery. Treats all hosts as online.
  • -O: Enables OS detection
  • -sV: Examine open ports to determine service & version info
  • -A: Enables OS detection, version detection, script scanning, and traceroute
  • --traceroute: Trace hop path
  • -sL: lists targets to scan
  • --open: Only shows hosts with open ports
  • -oG: Allows you to write a greppable output into a file
  • -v: verbose