Nmap Cheat Sheet

  • Finding all live device on a network
    • nmap -sP 192.168.1.1/24 | awk ‘/is up/ {print up}; {gsub (/\(|\)/,””); up = $NF}’
  • TCP connect port scan
    • nmap -sT <IP Address>
  • Discover all host on a network, no port scanning
    • nmap -sn 192.168.10.1/24
  • Scan a specific port on a target
    • nmap -p 22 123.322.123.144
  • Scanning a range of ports
    • nmap -p 20-445 <IP Address>
  • What is the version of the service that this port is running 🙂
    • nmap -p 22 -sV <IP Address>
  • Enabling OS detection and querying OS for this IP Address…etc
    • nmap -AO <IP Address>

22  Pentest  
Total 0 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Question ?

You will receive an email when your question will be answered.

+ = Verify Human or Spambot ?