Skip to content

Instantly share code, notes, and snippets.

Created April 2, 2014 06:36
Show Gist options
  • Save anonymous/9928983 to your computer and use it in GitHub Desktop.
Save anonymous/9928983 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in $(cat $1);
do
str2=$(curl -i -s -k -X 'POST' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0' -H 'DNT: 1' -H 'X-Requested-With: XMLHttpRequest' -H 'X-Prototype-Version: 1.6.0' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Referer: http://www.yougetsignal.com/tools/web-sites-on-web-server/' -H 'Origin: http://www.yougetsignal.com' --data-binary $'remoteAddress='$i'&key=' 'http://domains.yougetsignal.com/domains.php' | grep -i "domainCount")
echo $i $str2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment