Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ####----All these commands were tested on kali linux 2.0 debian jessie----######
- clear
- GET www.dnsleaktest.com > Dleak.txt
- clear
- a0000b="$(cat Dleak.txt | grep Hello | cut -d" " -f7 | cut -d"<" -f1)"
- c0000d="$(cat Dleak.txt | grep from |cut -d"," -f2 | cut -d"<" -f1)"
- e0000f="$(cat Dleak.txt | grep from |cut -d"," -f1 | cut -d" " -f6-99)"
- echo "-------DNS LEAK TEST-------"
- echo -e "\nIP:\t$a0000b\nCOUTRY:\b:$c0000d\nCITY:\t$e0000f\n\n"
- echo "---------------------------"
- rm Dleak.txt
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement