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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Clotho-0.1.0.tar.gz.
File metadata
- Download URL: Clotho-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cde84ae5e3b118d929a5ce8e9b23544da5e471e4a726fe6af185c7f4000f12a0
|
|
| MD5 |
2f9f8d41d2e00ba1c869f359c001c265
|
|
| BLAKE2b-256 |
dee8dead1193266edc5841fcc266d6331f983ebfa958e76322ebeaca7bff73bd
|
File details
Details for the file Clotho-0.1.0-py3-none-any.whl.
File metadata
- Download URL: Clotho-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e5fe126c33488521283a27d1002242cab84d7ca175b74c0e4dd9787546f20d5
|
|
| MD5 |
b39d4b6e608f4897e9317394c401914f
|
|
| BLAKE2b-256 |
b7b80ea03f23e0b7da4b59661e8c9df94812787acd559ab64eb3a7ab8e3eacae
|