TCP/UDP
# Basic scan of the first 1000 TCP ports
nmap -sS -n --open 10.10.10.0/24
# More intense scanning of open ports
nmap -sT -Pn -n --open 10.10.10.0/24 -sV -p 42,53,80,88,135,139,389,443,445,464,593,636,1512,3306,3268,3269,3389,8080,8889# Basic scan of the first 1000 TCP ports
nmap -sS -n --open 10.10.10.0/24
# More intense scanning of open ports
nmap -sT -Pn -n --open 10.10.10.0/24 -sV -p 42,53,80,88,135,139,389,443,445,464,593,636,1512,3306,3268,3269,3389,8080,8888$ip='localhost'
for($i=0; $i -le 65445; $i++){
Test-NetConnection $ip -Port $i -InformationLevel 'Detailed'
}Last updated