Skip to content

Instantly share code, notes, and snippets.

@ericfourrier
Last active February 24, 2016 19:12
Show Gist options
  • Save ericfourrier/cb34b1f5a18f56653030 to your computer and use it in GitHub Desktop.
Save ericfourrier/cb34b1f5a18f56653030 to your computer and use it in GitHub Desktop.
# scan all ports
nmap -sP 192.168.1.0/24
# scan all ports and try to detect mac address
sudo nmap -sP 192.168.1.0/24
# scan list of posts
nmap -O 192.168.1.1-42 # scan from 1 to 42
# Os detection
sudo nmap -O 192.168.1.150 # target ip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment