http-tools


Namehttp-tools JSON
Version 5.0.0 PyPI version JSON
download
home_pagehttps://github.com/MobSF/httptools
Summaryhttptools helps you to capture, repeat and live intercept HTTP requests. It is built on top of [mitmproxy](https://mitmproxy.org/)
upload_time2024-10-27 23:33:36
maintainerNone
docs_urlNone
authorAjin Abraham
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # httptools

## capture | intercept | repeat
httptools helps you to capture, repeat and live intercept HTTP requests with scripting capabilities and is built on top of [mitmproxy](https://mitmproxy.org/).

Made with ![Love](https://cloud.githubusercontent.com/assets/4301109/16754758/82e3a63c-4813-11e6-9430-6015d98aeaab.png) in India

[![PyPI version](https://badge.fury.io/py/http-tools.svg)](https://badge.fury.io/py/http-tools)
[![License](https://img.shields.io/:license-lgpl3+-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0.en.html)
[![python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![http-tools](https://github.com/MobSF/httptools/workflows/http-tools/badge.svg?branch=master)](https://github.com/MobSF/httptools/actions)

### Install

```
pip install http-tools
```

### Develop
```
$ git clone https://github.com/MobSF/httptools.git
$ cd httptools
$ python setup.py develop
```

### Usage

```
$ httptools
usage: httptools [-h] [-m MODE] [-p PORT] [-i IP] [-n NAME] [-u UPSTREAM]

optional arguments:
  -h, --help            show this help message and exit
  -m MODE, --mode MODE  Supported modes
                        1. capture: Capture requests.
                        2. repeat: Repeat captured requests.
                        3. intercept: Intercept and tamper the request.
                        4. server: Start httptools server.
  -p PORT, --port PORT  Proxy Port
  -i IP, --ip IP        Proxy Host
  -n NAME, --name NAME  Project Name
  -u UPSTREAM, --upstream UPSTREAM
                        Upstream Proxy
```

1. Capture - `httptools -m capture`
   * Starts HTTPS proxy at `0.0.0.0:1337` by default.
   * Install Root CA cert from `http://mitm.it/`
2. Repeat - `httptools -m repeat`
   * Replay the captured traffic. Use --upstream to forward it to
     a fuzzer like BurpSuite or OWASP ZAP.
3. Intercept - `httptools -m intercept`
   * To Fiddle with HTTP request and response in live.
   * Use: `http_tools/modules/interceptor.py` (The location will be relative to where httptools is installed)
3. Server Web UI - `httptools -m server`
   * Starts the Web UI at `https://0.0.0.0:1337` by default.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/MobSF/httptools",
    "name": "http-tools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Ajin Abraham",
    "author_email": "ajin25@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6e/40/4813117910bbb8d17e4265155d3f63fef74b376d903023810cba7e283ef6/http_tools-5.0.0.tar.gz",
    "platform": null,
    "description": "# httptools\n\n## capture | intercept | repeat\nhttptools helps you to capture, repeat and live intercept HTTP requests with scripting capabilities and is built on top of [mitmproxy](https://mitmproxy.org/).\n\nMade with ![Love](https://cloud.githubusercontent.com/assets/4301109/16754758/82e3a63c-4813-11e6-9430-6015d98aeaab.png) in India\n\n[![PyPI version](https://badge.fury.io/py/http-tools.svg)](https://badge.fury.io/py/http-tools)\n[![License](https://img.shields.io/:license-lgpl3+-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0.en.html)\n[![python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)\n[![http-tools](https://github.com/MobSF/httptools/workflows/http-tools/badge.svg?branch=master)](https://github.com/MobSF/httptools/actions)\n\n### Install\n\n```\npip install http-tools\n```\n\n### Develop\n```\n$ git clone https://github.com/MobSF/httptools.git\n$ cd httptools\n$ python setup.py develop\n```\n\n### Usage\n\n```\n$ httptools\nusage: httptools [-h] [-m MODE] [-p PORT] [-i IP] [-n NAME] [-u UPSTREAM]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -m MODE, --mode MODE  Supported modes\n                        1. capture: Capture requests.\n                        2. repeat: Repeat captured requests.\n                        3. intercept: Intercept and tamper the request.\n                        4. server: Start httptools server.\n  -p PORT, --port PORT  Proxy Port\n  -i IP, --ip IP        Proxy Host\n  -n NAME, --name NAME  Project Name\n  -u UPSTREAM, --upstream UPSTREAM\n                        Upstream Proxy\n```\n\n1. Capture - `httptools -m capture`\n   * Starts HTTPS proxy at `0.0.0.0:1337` by default.\n   * Install Root CA cert from `http://mitm.it/`\n2. Repeat - `httptools -m repeat`\n   * Replay the captured traffic. Use --upstream to forward it to\n     a fuzzer like BurpSuite or OWASP ZAP.\n3. Intercept - `httptools -m intercept`\n   * To Fiddle with HTTP request and response in live.\n   * Use: `http_tools/modules/interceptor.py` (The location will be relative to where httptools is installed)\n3. Server Web UI - `httptools -m server`\n   * Starts the Web UI at `https://0.0.0.0:1337` by default.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "httptools helps you to capture, repeat and live intercept HTTP requests. It is built on top of [mitmproxy](https://mitmproxy.org/)",
    "version": "5.0.0",
    "project_urls": {
        "Homepage": "https://github.com/MobSF/httptools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e404813117910bbb8d17e4265155d3f63fef74b376d903023810cba7e283ef6",
                "md5": "9c486915c9d2223286fadd3acd551527",
                "sha256": "798bbd728d353902556c511bcca0838d5916c857103e0c06a460e9f759f24815"
            },
            "downloads": -1,
            "filename": "http_tools-5.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9c486915c9d2223286fadd3acd551527",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 550370,
            "upload_time": "2024-10-27T23:33:36",
            "upload_time_iso_8601": "2024-10-27T23:33:36.532044Z",
            "url": "https://files.pythonhosted.org/packages/6e/40/4813117910bbb8d17e4265155d3f63fef74b376d903023810cba7e283ef6/http_tools-5.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-27 23:33:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MobSF",
    "github_project": "httptools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "http-tools"
}
        
Elapsed time: 0.34430s