nmap target — Scan top 1000 portsnmap -p 1-65535 target — Scan ALL portsnmap -sV target — Version detectionnmap -O target — OS detectionnmap -A target — Aggressive scan (everything)nmap -sS target — SYN scan (half-open)nmap -sN target — NULL scannmap -f target — Fragment packetsnmap --script vuln target — Run vulnerability scriptsnmap --script http-enum target — Enumerate web directoriesnmap 192.168.1.0/24 — Scan entire subnetnmap -sn 192.168.1.0/24 — Ping sweep (host discovery)Learn Nmap in depth with our ethical hacking course!
Subscribe to ONLY4YOU and get hands-on access to 40+ premium courses — Ethical Hacking, Kali Linux, Metasploit, Network Hacking, Bug Bounty & more!