Skip to content

Instantly share code, notes, and snippets.

@Ja7ad
Forked from ekiara/using-wget-with-socks-proxy
Last active December 4, 2020 15:24
Show Gist options
  • Save Ja7ad/cddd48d674756ba8236ab4873769eee9 to your computer and use it in GitHub Desktop.
Save Ja7ad/cddd48d674756ba8236ab4873769eee9 to your computer and use it in GitHub Desktop.
terminal run command with 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 nano /etc/proxychains.conf
>>>>
socks4 127.0.0.1 18888
socks4 127.0.0.1 9050
<<<<
## USE PROXYCHAINS ##
proxychains pip install django
proxychains pipenv install djangorestframework
proxychains curl https://www.thething.com/to/be/downloaded.pdf
proxychains wget anythings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment