pentest-distro-builder/filesystem/etc/skel/scripts/pingsweep.sh

6 lines
132 B
Bash
Executable file

#!/bin/bash
for ip in $(seq 1 254); do
ping -c 1 172.30.0.$ip |grep "bytes from" |cut -d" " -f4|cut -d";" -f1&
sleep 0.01
done