9 examples for nmap

{{ score }}
  # Scans the range 192.168.1.0-192.168.1.255 for port 80
nmap -p80 192.168.1.0/24
        
{{ score }}
  # Stealth (slowest) TCP/UDP scan of 192.168.1.0/24 for first 1024 ports 
nmap -sT -sU -T5 192.168.1.0/24 -p 1-1024
        
{{ score }}
  # Shows all active IP adresses on the local network (replace 192.168.178. with your LAN IP) 
nmap -sP 192.168.178.0/24
        
{{ score }}
  # ping scan of the 192.168.1.0 network
nmap -sP 192.168.1.0/24
        
{{ score }}
  # Stealth SYN Scan for all ports on 192.168.1.0
nmap -sS -P0 -p- 192.168.1.0
        
{{ score }}
  # Check a specific port (in this case, 8080) on a remote host
nmap -p8080 www.google.com
        
{{ score }}
  # Check specific UDP port
nmap -sU -p65530 example.org
        
{{ score }}
  # Use nmap to check for an open DNS resolver (best to run against external interface to protect against DNS amplification)
nmap -sU -p 53 -P0 --script "dns-recursion" 192.168.0.1
        
{{ score }}
  # Use nmap script to list cipher suites supported by a HTTPS site. For example: You can use it to veify that SSL3 is disabled, helpful companion to -- openssl s_client -connect example.com:443
nmap --script ssl-enum-ciphers example.com