Skip to main content

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

Project description

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.

Made with Love in India

PyPI version License python http-tools

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)
  4. Server Web UI - httptools -m server
    • Starts the Web UI at https://0.0.0.0:1337 by default.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

http_tools-6.0.1.tar.gz (550.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

http_tools-6.0.1-py3-none-any.whl (572.9 kB view details)

Uploaded Python 3

File details

Details for the file http_tools-6.0.1.tar.gz.

File metadata

  • Download URL: http_tools-6.0.1.tar.gz
  • Upload date:
  • Size: 550.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for http_tools-6.0.1.tar.gz
Algorithm Hash digest
SHA256 b2c36015682e8eabe0c9fd5eba74edcb217846e2e08db1581f7e1a3ba0a0b44d
MD5 d0b3491f54ccd487704b4cfaf1263f19
BLAKE2b-256 bc2d6687d80bd64c63cb957d4bb09ec9c0536c6e780ff30b1cfafbfd0fdf1615

See more details on using hashes here.

Provenance

The following attestation bundles were made for http_tools-6.0.1.tar.gz:

Publisher: python-publish.yml on MobSF/httptools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file http_tools-6.0.1-py3-none-any.whl.

File metadata

  • Download URL: http_tools-6.0.1-py3-none-any.whl
  • Upload date:
  • Size: 572.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for http_tools-6.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2464a77e543045994b9b242d1a32dc25f08ac3726cfbff0608f256401b80c43
MD5 925761fe23f94f7ef59fc4ce16e2a889
BLAKE2b-256 99b6ae8b708d101465432a80052c80db7084e55966ca1a48ec5958afd5a5475a

See more details on using hashes here.

Provenance

The following attestation bundles were made for http_tools-6.0.1-py3-none-any.whl:

Publisher: python-publish.yml on MobSF/httptools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page