Nmap Commands

Nmap Scan Top Ports

nmap -A -v --top-ports 20

Nmap Scan on List of Hosts

nmap -A -v -iL Hosts.txt -oN output.txt

Masscan

Massscan full port scan for TCP and UDP Both

masscan -p1-65535,U:1-65535 --rate=1000 10.10.10.74 -e tun0  

Rustscan with Nmap (Fast Port Scanning)

This command Finds out Open Ports Quicky, then Passes the ports to Nmap with -A Flag to do Aggressive Scan

rustscan -a 10.10.68.208 -- -A # Single IP

rustscan -a 192.168.1.1,192.168.1.2,192.168.1.3 -- -A  # Multiple IPs

Get IP, MAC && Vendor Name

Get Only IP IPaddress

Port Scan Script On all Ips

Last updated