Skip to content

Instantly share code, notes, and snippets.

@raminfp
Forked from ekiara/using-wget-with-socks-proxy
Created October 22, 2022 07:38
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 raminfp/dfb1e99ddbdd7528924704e5aa20f187 to your computer and use it in GitHub Desktop.
Save raminfp/dfb1e99ddbdd7528924704e5aa20f187 to your computer and use it in GitHub Desktop.
Using wget with socks proxy
# using-wget-with-socks-proxy
# This should work for everything includeing curl, pip, pipenv, etc
# TLDR: Use proxychains (https://github.com/haad/proxychains)
## INSTALL PROXY CHAINS ##
$ sudo apt update -y
$ sudo apt install proxychains
## EDIT PROXYCHAINS CONFIG ##
$ sudo vim /etc/proxychains.conf
>>>>
socks4 127.0.0.1 18888
<<<<
## USE PROXYCHAINS ##
proxychains pip install django
proxychains pipenv install djangorestframework
curl https://www.thething.com/to/be/downloaded.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment