Last active
March 20, 2019 08:32
-
-
Save TwanoO67/5963507d429b7d803653b92c7b54806b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RED='\033[0;31m' | |
NC='\033[0m' # No Color | |
echo "Trying to curl every IP on your network" | |
for IP in $(arp -a |grep 192 |awk '{print $2}' |sed -r 's/\(//g' | sed -r 's/\)//g') | |
do | |
echo -e "${RED}TESTING: $IP${NC}" | |
curl http://$IP | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment