Merge pull request #4 from pentestprime/master

Edit pingsweep.sh

Former-commit-id: 89833396f3c33a053f340acd61a376dc7d02c1cc
Former-commit-id: a8ae05890b20db5076a99d7b2b0c2956b50233b6
This commit is contained in:
Kaj Forney 2018-11-01 15:14:33 -06:00 committed by GitHub
commit a6c859bb9e

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