Skip to content

Instantly share code, notes, and snippets.

@code-machina
Created November 27, 2018 04:46
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 code-machina/cc8604635f82be481fe19dbf8e8534de to your computer and use it in GitHub Desktop.
Save code-machina/cc8604635f82be481fe19dbf8e8534de to your computer and use it in GitHub Desktop.
Http Request Using Tor socket
for ((c=1; c<=200; c++)) do
HTTP_URL
curl -s --socks5-hostname 127.0.0.1:9050 '$HTTP_URL' -o /dev/null -w "\nStatus: %{http_code}\n" &
# curl --socks5-hostname 127.0.0.1:9050 'https://api.ipify.org?format=json'&
# echo "\n" >> test.out
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment