Last active
July 26, 2018 17:02
-
-
Save dinks/8446517 to your computer and use it in GitHub Desktop.
ISP Bad?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get the-1m.csv from Alexa http://www.alexa.com/topsites (right hand side of page) | |
| for i in `head -n 1000 top-1m.csv | cut -f2 -d,`; do | |
| echo "Site: $i"; | |
| diff <(curl --ipv4 -s -v --dns-servers 66.x.x.4,66.x.x.4 --url http://$i/ 2>&1 | grep -v "0x" | grep -v "Date: ") <(curl --ipv4 -s -v --dns-servers 8.8.8.8,8.8.4.4 --url http://$i/ 2>&1 | grep -v "0x" | grep -v "Date: "); | |
| done > 1000.diff.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment