Skip to content

Instantly share code, notes, and snippets.

@xcsrz
Created November 7, 2016 19:42
Show Gist options
  • Save xcsrz/21f92b8fbcb02d513433ea066290e93c to your computer and use it in GitHub Desktop.
Save xcsrz/21f92b8fbcb02d513433ea066290e93c to your computer and use it in GitHub Desktop.
Who can see/sniff your dns queries?
traceroute 8.8.8.8|awk -F[\(\)] '$2~/[0-9]/{print $2}'|while read i;do whois $i | awk -F ":\s*" '/^(OrgName|City|State|Country)/ {gsub(/^[ \t]+|[ \t]+$/, "", $2); printf $2" "}'; echo $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment