network nmap - ghdrako/doc_snipets GitHub Wiki

Usage:

  • simple scan - nmap 192.168.1.254
  • more information scan - nmap -v 192.168.1.254
  • OS information scan - nmap -A 192.168.1.254
  • OS fingerprinting - - nmap -O 192.168.1.254
  • Specific TCP ports – nmap -p T:9090,22 192.168.1.254
  • Specific UDP ports – nmap -sU 53 192.168.1.254
  • Scan port range – nmap -p 22-2000 192.168.1.254
  • Find remote host service versions – nmap -sV 192.168.1.254
  • Scan a subnet – nmap 192.168.1.*
  • Scan multiple hosts – nmap 192.168.1.252,253,254
  • Scan a complete IP range – nmap 192.168.1.1-254