Get service overview of a individual host or network
Individual Host
- TCP:
sudo nmap --top-ports 25 -Pn -sT -sV --version-all -O --open -oA overview-TCP-top25 {IP}
sudo nmap -p0-65535 -Pn -sT -sV --version-all -O --open -oA overview-TCP-all {IP}
- UDP:
sudo nmap --top-ports 25 -Pn -sU -sV --version-all -O --open -oA overview-UDP-top25 {IP}
sudo nmap --top-ports 100 -Pn -sU -sV --version-all -O --open -oA overview-UDP-top100 {IP}
Network
- TCP:
sudo nmap -p0-65535 -Pn -sT --open {IP}/{MASK}
- UCP:
sudo nmap --top-ports 20 -Pn -sU --open {IP}/{MASK}
Relevant Note(s): Penetration Testing Active Information Gathering