Skip to content

Instantly share code, notes, and snippets.

@nguyendangminh
Last active September 2, 2015 16:21
Show Gist options
  • Save nguyendangminh/93ec28eb93a0fe0031d2 to your computer and use it in GitHub Desktop.
Save nguyendangminh/93ec28eb93a0fe0031d2 to your computer and use it in GitHub Desktop.
nmap cookbook
$ sudo apt-get install nmap
# Scan all hosts in the network (between 192.168.1.0 and 192.168.1.255) by ping
$ nmap -sP 192.168.1.0/24
# Scan all open ports on a host
$ nmap 192.168.1.123
# Detect OS, services
$ nmap -A minhnd.com
$ namp -O minhnd.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment