Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (18 sloc) 554 Bytes
#!/bin/bash
#simple is ample
#hillary soita
#@bit3c0de -> twitter
for url in $(cat alldomains.txt)
do
if curl --output /dev/null --head --silent --fail -m 4 "$url"; then
echo "------------------------------------------------"
echo "Valid URL: $url"
echo "------------------------------------------------"
# echo -e "\n"
else
echo "------------------------------------------------"
echo "$(tput setaf 1)Invalid URL$(tput sgr0): $url"
echo "------------------------------------------------"
# echo -e "\n"
fi
done
You can’t perform that action at this time.