mitmproxy is an interactive proxy for inspecting, modifying and replaying network traffic. It is designed for developers, security testers and researchers who need to understand how applications communicate over HTTP, HTTPS and other protocols.
The software provides three interfaces. mitmproxy is an interactive terminal application, mitmweb offers a browser-based interface, and mitmdump provides command-line facilities for capturing and processing traffic. All three share the same underlying proxy engine.
Requests and responses can be inspected, filtered and modified in real time. mitmproxy can capture encrypted HTTPS traffic when its certificate is trusted, allowing testers to examine headers, cookies, request bodies and application responses. Recorded traffic can be saved, replayed or analysed later.
The software supports several proxy configurations, including regular, reverse, transparent and upstream modes. Python scripting provides extensive control over traffic handling, enabling custom testing workflows, response modification and automation.
This is free and open source software.
Key Features
- Intercept HTTP and HTTPS traffic for inspection and modification.
- Provide interactive terminal, web and command-line interfaces.
- Inspect request and response headers, cookies and bodies.
- Support HTTP/1, HTTP/2, HTTP/3 and WebSocket traffic.
- Modify requests and responses before forwarding them.
- Filter captured traffic using search expressions.
- Save HTTP flows and replay recorded requests.
- Decode and display formats including JSON and Protobuf.
- Support regular, reverse, transparent and upstream proxy configurations.
- Capture traffic from local applications and supported external devices.
- Provide Python scripting for custom traffic processing.
- Simulate server responses and modify application behaviour during testing.
- Support TLS interception using locally trusted certificates.
Website: mitmproxy.org
Support:
Developer: Aldo Cortesi
License: MIT License

mitmproxy is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Security Testing | |
|---|---|
| ZAP | Web app scanner |
| mitmproxy | Interactive HTTPS proxy |
| ffuf | Fast web fuzzer for discovering hidden paths, virtual hosts and parameters |
| Wfuzz | Web application fuzzer and Python library for security assessments |
| sqlmap | Penetration testing tool |
| Dalfox | Identify cross-site scripting vulnerabilities in web applications |
| Commix | Python-based penetration testing tool |
| jwt_tool | Toolkit for auditing JSON Web Tokens and testing security weaknesses |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.