IP & Port Scanning
Introduction
Discovering assets
sudo nmap -sn -n <NETWORK>/<MASK>sudo arp-scan -I <NETWORK_INTERFACE> <NETWORK>/<MASK>
sudo netdiscover -r <NETWORK>/<MASK>nmap --top-ports 20 -v -oG - 2>/dev/null | grep 'Ports scanned' | awk '{print $4}' | sed 's/.*(\(.*\))/\1/' | awk -F\; '{print $2}'masscan -p<PORTS> <NETWORK>/<MASK>
nmap -n -p<PORTS> <NETWORK>/<MASK> #SLOWERScanning assets
TCP Ports
UDP Ports
Port information gathering
Simple vulnerability scanning
Detecting the Operating System
Massive host scanning

Windows environment
Last updated