logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Control HTTP Traffic - mitmproxy | Online Free DevTools by Hexmos

Control HTTP traffic with mitmproxy, an interactive man-in-the-middle proxy. Intercept, inspect, and modify network requests easily. Free online tool, no registration required.

mitmproxy

An interactive man-in-the-middle HTTP proxy. See also: mitmweb, mitmdump. More information: https://docs.mitmproxy.org/stable/.

  • Start mitmproxy with default settings (will listen on port 8080):

mitmproxy

  • Start mitmproxy bound to a custom address and port:

mitmproxy --listen-host {{ip_address}} {{[-p|--listen-port]}} {{port}}

  • Start mitmproxy using a script to process traffic:

mitmproxy {{[-s|--scripts]}} {{path/to/script.py}}

  • Export the logs with SSL/TLS master keys to external programs (wireshark, etc.):

SSLKEYLOGFILE="{{path/to/file}}" mitmproxy

  • Specify mode of operation of the proxy server (regular is the default):

mitmproxy {{[-m|--mode]}} {{regular|transparent|socks5|...}}

  • Set the console layout:

mitmproxy --console-layout {{horizontal|single|vertical}}

  • Save all proxied traffic to a file for later analysis:

mitmproxy {{[-w|--save-stream-file]}} {{path/to/dump.mitm}}

  • Replay a previously saved HTTP flow file:

mitmproxy {{[-nr|--no-server --rfile]}} {{path/to/dump.mitm}}

See Also