Mitm Wiki May 2026

It covers both the command-line mitmproxy , the web interface mitmweb , and the underlying library mitmdump . | Feature | Description | |---------|-------------| | Man-in-the-Middle (MITM) proxy | Intercepts HTTP/HTTPS, HTTP/2, WebSockets, and TCP traffic between client and server. | | Transparent proxy mode | Works without client configuration (e.g., on routers or gateway setups). | | Reverse proxy mode | Acts as a front-end proxy to a target backend server. | | Upstream proxy support | Chains to another proxy (HTTP, HTTPS, SOCKS). | | SSL/TLS interception | Dynamically generates certificates on the fly using its own CA. | 2. Traffic Viewing & Manipulation | Feature | Description | |---------|-------------| | Live flow view | See requests/responses in real time with syntax highlighting. | | Full request/response inspection | Headers, body, cookies, form data, JSON, XML, binary (hex view). | | Intercept & modify | Pause flows, edit requests/responses before forwarding. | | Replay requests | Re-send previously captured requests (single or batch). | | Set breakpoints | Break on request, response, or both, with filter rules. | | Filter flows | Filter by method, domain, path, status code, content type, etc. | | Search inside flows | Regex search across all flow content. | 3. Web Interface (mitmweb) | Feature | Description | |---------|-------------| | Browser-based UI | Interactive dashboard – view flows, modify, replay. | | Live WebSocket messages | Inspect WebSocket frames in real time. | | Flow export/import | Save/load flows to .mitm or .har files. | | Remote access | Run on a server and access from any browser. | 4. Command-Line & Scripting | Tool | Use Case | |------|----------| | mitmdump | Headless, scriptable version – perfect for automation. | | --set options | Configure all proxy settings (e.g., --set block_global=false ). | | Addon system | Write Python scripts to modify traffic programmatically. | | Built-in addons | Map local files, modify headers, block domains, dump flows. | | Event hooks | request() , response() , websocket_message() , etc. |

Example addon snippet: