Skip to content

Instantly share code, notes, and snippets.

@sergixnet
Last active May 23, 2018 08:36
Show Gist options
  • Save sergixnet/669d18aae17b0a6bea4f78d3066fa2db to your computer and use it in GitHub Desktop.
Save sergixnet/669d18aae17b0a6bea4f78d3066fa2db to your computer and use it in GitHub Desktop.

Nmap commands

See all open ports of a host

$ nmap thehost.com

See all the open ports with service versions

$ nmap -sV thehost.com

See more information with aggresive scan

$ nmap -A thehost.com

NSE (Nmap scripting engine)

Some nmap script examples

$ nmap --script banner thehost.com
$ nmap --script http-headers thehost.com
$ nmap --script http-enum thehost.com
$ nmap --script dns-brute thehost.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment