Last active
July 15, 2020 08:20
-
-
Save ejcx/ecb1ae956c399336d1bd to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
while read -r domain | |
do | |
# Remember. Account for the fact that some sites don't exist on HTTP | |
# And others don't exist on HTTPS. Prune later. | |
curl -I "https://$domain" --max-time 3 -H "Origin: https://$domain.evil.com" | ./respirator& | |
curl -I "http://$domain" --max-time 3 -H "Origin: http://$domain.evil.com" | ./respirator& | |
done < "top1mdomains" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment