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. It is built on top of mitmproxy v5

Requirements Status Language grade: Python Language grade: JavaScript

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-2.0.0.tar.gz (538.0 kB view details)

Uploaded Source

Built Distribution

http_tools-2.0.0-py3-none-any.whl (572.1 kB view details)

Uploaded Python 3

File details

Details for the file http-tools-2.0.0.tar.gz.

File metadata

  • Download URL: http-tools-2.0.0.tar.gz
  • Upload date:
  • Size: 538.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9

File hashes

Hashes for http-tools-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d8d093adb798f2d79441e5853bda062b3012a055f116005e9c8ee739e5fc2a64
MD5 d2a7beaeadb4c4e9d5bd7b4310e47e5e
BLAKE2b-256 c92f86f81c421c993f2c64d067351f258240a3d8f443d2b7d263fb1579e40e63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: http_tools-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 572.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9

File hashes

Hashes for http_tools-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4c2a8d1aa6eb2d5c0c913a09fc3c8ebc80ca1e3514d019a77d52505a4a0199f
MD5 c66597fefce265b9b55e29d22f2207b2
BLAKE2b-256 f0b28f4833e8a86088da1e07246ed6620b78355cf23cc117d61b9ee570cabff6

See more details on using hashes here.

Supported by

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