Skip to content

Instantly share code, notes, and snippets.

View hsbiti's full-sized avatar
🎯
Focusing

Hamza Sbiti hsbiti

🎯
Focusing
  • Lausanne
  • 05:23 (UTC +01:00)
View GitHub Profile
#!/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