internetwache / GitTools

A repository with 3 tools for pwn'ing websites with .git repositories available
MIT License
3.78k stars 612 forks source link

Proxy Suppport #42

Closed Jamalc0m closed 3 years ago

Jamalc0m commented 4 years ago

Add to the tool proxy support. Thanks,

Barkhat26 commented 3 years ago

Urllib will automatically detect proxies set up in the environment - so one can just set the HTTP_PROXY variable either in your environment e.g. for Bash:

export HTTP_PROXY=http://proxy_url:proxy_port export HTTPS_PROXY=http://proxy_url:proxy_port

for Windows CMD: set HTTP_PROXY=http://proxy_url:proxy_port set HTTPS_PROXY=http://proxy_url:proxy_port

If you want to use Basic Authenctiation for proxy you should specify credentials as following: http://username:password@proxy_url:proxy_port

gehaxelt commented 3 years ago

Hey @Barkhat26, thanks for chiming in and providing a correct answer. I've added a hint to the README.

Best, Sebastian