Skip to content

Instantly share code, notes, and snippets.

@gboddin
Created August 16, 2020 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gboddin/6c10f22b5d16299a91192f934c3d70c6 to your computer and use it in GitHub Desktop.
Save gboddin/6c10f22b5d16299a91192f934c3d70c6 to your computer and use it in GitHub Desktop.
Check tor exit node circuit
192.168.0.63:9051 <- suspicious
198.100.148.114
46.19.141.86
198.100.148.114
46.19.141.86
192.168.0.63:9052
185.12.45.114
185.12.45.114
185.12.45.114
185.12.45.114
192.168.0.63:9053
185.220.102.254
185.220.102.254
185.220.102.254
185.220.102.254
....
for ip in 192.168.0.63 192.168.0.72; do
for port in 9051 9052 9053 9054 9055; do
echo $ip:$port
ALL_PROXY=socks5://$ip:$port curl http://ifconfig.me
echo
ALL_PROXY=socks5://$ip:$port curl https://ifconfig.me
echo
ALL_PROXY=socks5://$ip:$port curl http://api.ipify.org
echo
ALL_PROXY=socks5://$ip:$port curl https://api.ipify.org
echo
echo
done
done
SocksPort 9050
SocksPort 9051
SocksPort 9052
SocksPort 9053
SocksPort 9054
SocksPort 9055
SocksPort 9056
SocksPort 9057
SocksPort 9059
SocksPort 9060
SocksPort 9061
SocksPort 9062
ExcludeExitNodes 178.32.123.203,87.98.156.136,87.98.156.62,87.98.152.111,87.98.156.68,45.12.177.185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment