Kali Notes
Kali Notes
SCRIPT WRITING
cat ip.txt | grep "64 bytes" |cut -d(delimiter) " " -f 4 | tr -d ":"
definations
nano ipsweep.sh
./ipsweep.sh 192.168.1.1
./ipsweep 192
else
for ip in 'seq 1 254' ; do
ping -c 1 $1.$ip | grep "64 bytes" | cut -d " " -f 4 | tr -d ":" &
done
fi
back to terminal
./ipsweep
on the terminal