Ping Sweeps

A ping sweep is a network scanning technique that uses ICMP (Internet Control Message Protocol) to identify live hosts on a network. It's also known as an ICMP sweep or ping scan.

Nmap

nmap -sn 192.168.1.1/24

Linux Ping Sweep

 for i in {1..254} ;do (ping -c 1 x.x.x.$i | grep "bytes from" &) ;done

Windows Ping Sweep

for /L %i in (1,1,255) do @ping -n 1 -w 200 x.x.x.%i > nul && echo x.x.x.%i is up.

Last updated