Proxy requests to AWS public endpoints and filter them using an allowlist
Project description
PyClotho
A python implementation using mitmproxy of Clotho
The proxy will only accept requests to amazonaws.com with a valid Authorization header. It will filter AWS accounts, regions, and services based on the configuration
How to run
On the server
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
or using Docker
```sh
docker run --rm -v $(pwd):/home/mitmproxy/.mitmproxy \
-p 8080:8080 mitmproxy/mitmproxy:10.2.2 mitmproxy \
-s /home/mitmproxy/.mitmproxy/clotho.py
On the client
export http_proxy=http//serverip:8080
export https_proxy=http://serverip:8080
aws s3 ls --no-verify-ssl
Development
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Clotho-0.1.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Clotho-0.1.0-py3-none-any.whl
(3.7 kB
view hashes)