better regex for obsolete proxyresolv script (thx yhzarcali)

closes #11
This commit is contained in:
rofl0r 2013-01-29 18:43:17 +01:00
parent 1da09e49e5
commit f3af1239a9

View File

@ -15,4 +15,4 @@ fi
export LD_PRELOAD=libproxychains4.so
dig $1 @$DNS_SERVER +tcp | awk '/A.+[0-9]+\.[0-9]+\.[0-9]/{print $5;}'
dig $1 @$DNS_SERVER +tcp | awk '/A.?[0-9]+\.[0-9]+\.[0-9]/{print $5;}'