mitmproxy

Interactive HTTPS intercepting proxy.

KaliParrotLinuxmedium

pkg: mitmproxy

mitmproxy intercepts, inspects and modifies HTTP/HTTPS traffic with a console UI and a Python scripting API.

Syntax

mitmproxy (configure client to use the proxy)

Example

mitmproxy -p 8080

Starts an intercepting proxy on 8080; install its CA on the client to read HTTPS.

Options & flags

What each switch does. Toggle them in the builder below to assemble a command.

-p <8080>Listen port.
-s <addon.py>Run an addon/script.
-wWrite a flow file.
--mode <regular>Proxy mode: regular, transparent, reverse.

Command builder

Tick options (and fill any values) to build a ready-to-copy command.

mitmproxy

Usage examples

mitmproxy -p 8080

Interactive intercepting proxy.

mitmdump -s addon.py

Headless capture with a script.

Advantages
  • Powerful, scriptable interception
  • Great for API/app testing
  • TUI + web + CLI (mitmdump)
Disadvantages
  • Requires proxy + CA trust on client
  • HTTPS needs cert install
  • Not a transparent network MITM by default
Tags
#proxy#http#interception

Official docs: mitmproxy

Related commands

Frequently asked questions

What is mitmproxy used for?
mitmproxy intercepts, inspects and modifies HTTP/HTTPS traffic with a console UI and a Python scripting API.
What is an example mitmproxy command?
A common example is: mitmproxy -p 8080 — Starts an intercepting proxy on 8080; install its CA on the client to read HTTPS.
Is mitmproxy part of Kali Linux?
Yes. mitmproxy ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install mitmproxy.
What category of security tool is mitmproxy?
mitmproxy is a Sniffing & Spoofing tool with a medium-risk profile when run against a live target.

Try recon tools live

Run real scans against a domain you control, stage by stage.

Open the lab →