Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # This script is called by proxychains to resolve DNS names
- # DNS server used to resolve names
- # credit goes to robert fuller
- DNS_SERVER=4.2.2.2
- if[$# = 0]; then
- echo " usage:"
- echo " proxyresolv"
- exit
- fi
- export LD_PRELOAD=libproxychains.so.3
- dig $1 @DNS_SERVER + tcp | awk '/A.+[0-9]+\.[0-9]+\.[0-9]/{print $5;}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement