Skip to content

Instantly share code, notes, and snippets.

View makash's full-sized avatar

Akash Mahajan makash

View GitHub Profile
#!/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