Created
February 11, 2019 13:31
-
-
Save alicommit-malp/f6f55f7b671b4ad86b2395e3e1b32531 to your computer and use it in GitHub Desktop.
DNS leak test script
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
#!/bin/sh │info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2] | |
dns1=$(nslookup -q=A whoami.akamai.net | grep "Address" |grep -v "#" |grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}") │ Request finished in 0.458ms 200 text/css | |
dns2=$(nslookup -q=A resolver.dnscrypt.org | grep "Address" |grep -v "#" |grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}") │info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2] | |
dns3=$(nslookup -q=A whoami.ultradns.net | grep "Address" |grep -v "#" |grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}") │ Sending file. Request path: '/css/alertify.css'. Physical path: | |
curl http://ipinfo.io/$dns1/country │ '/home/king/RiderProjects/KoPlatform.VoiceApi.WebRtc/wwwroot/css/ale | |
curl http://ipinfo.io/$dns2/country │rtify.css' | |
curl http://ipinfo.io/$dns3/country |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment