talira

mitmproxy

An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

open sourceMITself-hostablefree

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy with a console interface for HTTP/1, HTTP/2 and WebSockets. mitmdump is its command-line version ("tcpdump for HTTP") and mitmweb a web interface. It lets you inspect, modify and replay traffic and script it with Python.

Ways to install

Package managers

Problems it solves

  • see exactly what HTTPS requests my mobile app sends to its backend
  • debug what a third-party SDK is sending over the network
  • modify an API response on the fly to test how my app handles errors
  • record HTTP traffic and replay it later
  • inspect WebSocket messages between client and server
  • Charles Proxy is paid, need a free alternative
  • script request rewriting with Python
  • capture traffic from a CLI tool that ignores my browser devtools

Features

  • TLS interception
  • console UI
  • mitmdump CLI
  • mitmweb web UI
  • HTTP/1, HTTP/2, HTTP/3, WebSockets
  • Python addons
  • replay
  • Protobuf decoding

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what mitmproxy does.

  1. Proxyman HTTP debugging proxy for macOS, Windows, Linux, iOS and Android
  2. Charles Proxy HTTP and HTTPS debugging proxy for Windows, macOS and Linux

Compare mitmproxy with the top 3