Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.66 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.66 KB

HTTP Toolkit Android integration for mitmproxy

A mitmproxy addon that allows use of the HTTP Toolkit Android app.

Rationale

HTTP Toolkit is not as featureful as mitmproxy, but it has a very polished Android connection experience. This addon allows all of HTTP Toolkit's Android features (namely, guided certificate installation and per-app tunneling) to be used with mitmproxy.

Usage

Installation

  1. Download the HTTP Toolkit Android app
  2. Clone this repository, or download the addon script

Execution

  1. Launch mitmproxy (or mitmdump, mitmweb, etc.):
    mitmproxy -s src/mitmproxy_httptoolkit_android.py
  2. Follow the instructions in the log (type E in the TUI) to connect

Note: Multiple modes

If multiple mitmproxy modes are in use, the app will be able to connect to any listen_host. It will only use the listen_port of the first mode for all of them, however, due to limitations in its API.

Installing the system certificate (rooted devices)

This feature is not yet implemented, but can be done manually in a number of ways.

Method 1: Magisk

Install the CA certificate as instructed by the app. Then, install this Magisk module and reboot.

Method 2: Generic

Manually perform the actions the HTTP Toolkit server does.