mitmproxy

An interactive man-in-the-middle HTTP proxy. See also: mitmweb. More information: <https://docs.mitmproxy.org/stable/concepts-options>.

Install

All systems
curl cmd.cat/mitmproxy.sh
Debian Debian
apt-get install mitmproxy
Ubuntu
apt-get install mitmproxy
Arch Arch Linux
pacman -S mitmproxy
image/svg+xml Kali Linux
apt-get install mitmproxy
Windows (WSL2)
sudo apt-get update sudo apt-get install mitmproxy
OS X
brew install mitmproxy
Raspbian
apt-get install mitmproxy

An interactive man-in-the-middle HTTP proxy. See also: mitmweb. More information: <https://docs.mitmproxy.org/stable/concepts-options>.

  • Start `mitmproxy` with default settings:
    mitmproxy
  • Start `mitmproxy` bound to a custom address and port:
    mitmproxy --listen-host ip_address --listen-port port
  • Start `mitmproxy` using a script to process traffic:
    mitmproxy --scripts path/to/script.py
  • Export the logs with SSL/TLS master keys to external programs (wireshark, etc.):
    SSLKEYLOGFILE="path/to/file" mitmproxy

© tl;dr; authors and contributors