Clotho


NameClotho JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/ClothoProxy/PyClotho
SummaryProxy requests to AWS public endpoints and filter them using an allowlist
upload_time2024-02-18 13:18:28
maintainer
docs_urlNone
authorCostasK
requires_python>=3.9
licenseMIT
keywords aws proxy cross-account security
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyClotho

A python implementation using [mitmproxy](https://mitmproxy.org/) of [Clotho](https://github.com/ClothoProxy/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](./config.yaml.example)


## How to run

On the server
```sh
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

```sh
export http_proxy=http//serverip:8080
export https_proxy=http://serverip:8080
aws s3 ls --no-verify-ssl
```


## Development

```sh
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ClothoProxy/PyClotho",
    "name": "Clotho",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "aws proxy cross-account security",
    "author": "CostasK",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/de/e8/dead1193266edc5841fcc266d6331f983ebfa958e76322ebeaca7bff73bd/Clotho-0.1.0.tar.gz",
    "platform": null,
    "description": "# PyClotho\n\nA python implementation using [mitmproxy](https://mitmproxy.org/) of [Clotho](https://github.com/ClothoProxy/Clotho)\n\nThe proxy will only accept requests to amazonaws.com with a valid Authorization header.\nIt will filter AWS accounts, regions, and services based on the [configuration](./config.yaml.example)\n\n\n## How to run\n\nOn the server\n```sh\npython3 -m venv env\nsource env/bin/activate\npip install -r requirements.txt\n\n```\n\n\n```\n\nor using Docker \n\n```sh\ndocker run --rm -v $(pwd):/home/mitmproxy/.mitmproxy \\\n-p 8080:8080 mitmproxy/mitmproxy:10.2.2 mitmproxy \\\n-s /home/mitmproxy/.mitmproxy/clotho.py\n```\n\nOn the client\n\n```sh\nexport http_proxy=http//serverip:8080\nexport https_proxy=http://serverip:8080\naws s3 ls --no-verify-ssl\n```\n\n\n## Development\n\n```sh\npython3 -m venv env\nsource env/bin/activate\npip install -r requirements.txt\n\n```\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Proxy requests to AWS public endpoints and filter them using an allowlist",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/ClothoProxy/PyClotho"
    },
    "split_keywords": [
        "aws",
        "proxy",
        "cross-account",
        "security"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b7b80ea03f23e0b7da4b59661e8c9df94812787acd559ab64eb3a7ab8e3eacae",
                "md5": "b39d4b6e608f4897e9317394c401914f",
                "sha256": "5e5fe126c33488521283a27d1002242cab84d7ca175b74c0e4dd9787546f20d5"
            },
            "downloads": -1,
            "filename": "Clotho-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b39d4b6e608f4897e9317394c401914f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 3708,
            "upload_time": "2024-02-18T13:18:27",
            "upload_time_iso_8601": "2024-02-18T13:18:27.315854Z",
            "url": "https://files.pythonhosted.org/packages/b7/b8/0ea03f23e0b7da4b59661e8c9df94812787acd559ab64eb3a7ab8e3eacae/Clotho-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dee8dead1193266edc5841fcc266d6331f983ebfa958e76322ebeaca7bff73bd",
                "md5": "2f9f8d41d2e00ba1c869f359c001c265",
                "sha256": "cde84ae5e3b118d929a5ce8e9b23544da5e471e4a726fe6af185c7f4000f12a0"
            },
            "downloads": -1,
            "filename": "Clotho-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2f9f8d41d2e00ba1c869f359c001c265",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4011,
            "upload_time": "2024-02-18T13:18:28",
            "upload_time_iso_8601": "2024-02-18T13:18:28.823734Z",
            "url": "https://files.pythonhosted.org/packages/de/e8/dead1193266edc5841fcc266d6331f983ebfa958e76322ebeaca7bff73bd/Clotho-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-18 13:18:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ClothoProxy",
    "github_project": "PyClotho",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "clotho"
}
        
Elapsed time: 0.96502s