Skip to content

Instantly share code, notes, and snippets.

@TwanoO67
Last active March 20, 2019 08:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save TwanoO67/5963507d429b7d803653b92c7b54806b to your computer and use it in GitHub Desktop.
Save TwanoO67/5963507d429b7d803653b92c7b54806b to your computer and use it in GitHub Desktop.
#!/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