Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy

To mock a proxy we will build and user a container:

docker build -t mitmproxy-mock .
docker run -p 8080:8080 -p 8081:8081 mitmproxy-mock

you will see some logs on usage.

Test proxy config

Boto3

pip install boto3
python boto3-proxy.py

Qarnot SDK

Add your token to the script (from https://tasq.qarnot.com/settings/access-token)

pip install qarnot
python qarnot-proxy.py

Qarnot SDK From env

Add the correct proxuy configuration to your env vars

# export http_proxy="http://<user>:<pass>@<proxy>:<port>"

export http_proxy="http://localhost:8080"
export HTTP_PROXY="http://localhost:8080"
export https_proxy="http://localhost:8080"
export HTTPS_PROXY="http://localhost:8080"

then run your classic script

pip install qarnot
python qarnot-proxy-from-env.py

About

s3-proxy

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages