Skip to content

Instantly share code, notes, and snippets.

View makash's full-sized avatar
🤖
I am out on a Ralph journey.

Akash Mahajan makash

🤖
I am out on a Ralph journey.
View GitHub Profile
16716594 n003-000-000-000.static.ge.com
11063439 nothing.attdns.com
4975683 hn.kd.ny.adsl
2683538 static.kpn.net
2647717 localhost
1759131 walmart.com
1098677 unknown.Level3.net
1024262
774367 no-dns-yet.demon.co.uk
528853 no-data
#!/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