mitmdump

View, record, and programmatically transform HTTP traffic. The command-line counterpart to mitmproxy. More information: <https://docs.mitmproxy.org/stable/#mitmdump>.

Install

All systems
curl cmd.cat/mitmdump.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

View, record, and programmatically transform HTTP traffic. The command-line counterpart to mitmproxy. More information: <https://docs.mitmproxy.org/stable/#mitmdump>.

  • Start a proxy and save all output to a file:
    mitmdump -w path/to/file
  • Filter a saved traffic file to just POST requests:
    mitmdump -nr input_filename -w output_filename "~m post"
  • Replay a saved traffic file:
    mitmdump -nc path/to/file

© tl;dr; authors and contributors