Skip to content

Commit

Permalink
better regex for obsolete proxyresolv script (thx yhzarcali)
Browse files Browse the repository at this point in the history
closes #11
  • Loading branch information
rofl0r committed Jan 29, 2013
1 parent 1da09e4 commit f3af123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxyresolv
Original file line number Diff line number Diff line change
Expand Up @@ -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;}'

0 comments on commit f3af123

Please sign in to comment.