Skip to content

Instantly share code, notes, and snippets.

@andrew-morris
Last active May 2, 2018 09:53
Show Gist options
  • Save andrew-morris/da4f63ec334989cf6cb8 to your computer and use it in GitHub Desktop.
Save andrew-morris/da4f63ec334989cf6cb8 to your computer and use it in GitHub Desktop.
Downloading files through Tor on the command line
alias tcurl="curl --proxy socks5h://127.0.0.1:9050 $1"
$ tcurl http://shady-website.com:9234/malware-sample.bin >> malware-sample.bin
$ curl http://ifconfig.pro
66.194.23.234
$ tcurl http://ifconfig.pro
162.247.72.216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment