Open sourceActive

mitmproxy

An interactive HTTPS proxy with an addon API for inspecting and modifying traffic.

Open source page

Field note

What it does

mitmproxy is an interactive HTTPS proxy with a comprehensive addon API for inspecting and modifying traffic. The API changelog documents breaking changes across versions, including connection events, contentviews, logging, WebSocket flows, and certificate handling.

Capabilities

Available capabilities

No use cases filed yet.

Tags

Tags

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Addon API

Extend mitmproxy with custom addons that hook into events.

Certificate Generation

Uses cryptography library for certificate generation.

Client replay

Replay the client-side of an HTTP conversation.

Contentviews

Customizable content rendering for flows.

Intercept HTTP and HTTPS

Intercept HTTP & HTTPS requests and responses and modify them on the fly.

Logging

Uses Python's builtin logging module instead of homegrown system.

Reverse proxy

Reverse proxy mode to forward traffic to a specified server.

Save traffic

Save complete HTTP conversations for later replay and analysis.

Scripting

Make scripted changes to HTTP traffic using Python.

Server replay

Replay HTTP responses of a previously recorded server.

SSL/TLS certificate generation

SSL/TLS certificates for interception are generated on the fly.

Transparent proxy

Transparent proxy mode on macOS and Linux.

WebSocket Flows

WebSocket flows are now attached to HTTPFlow via .websocket attribute.