Merge pull request #4 from pentestprime/master

Edit pingsweep.sh

Former-commit-id: 21281168345523f493bc0ae5a65a2f8caeaaf9bd
Former-commit-id: a8ae05890b20db5076a99d7b2b0c2956b50233b6
This commit is contained in:
Kaj Forney 2018-11-01 15:14:33 -06:00 committed by GitHub
commit dd580e6f12

View file

@ -1,4 +1,4 @@
#!/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
#!/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&
done