pentest-distro-builder/filesystem/root/scripts/pingsweep.sh

5 lines
124 B
Bash
Raw Normal View History

2018-09-05 17:06:30 -06:00
#!/bin/bash
for ip in $(seq 1 254); do
ping -c 1 172.100.100.$ip |grep "bytes from" |cut -d" " -f4|cut -d";" -f1&
done