mitmproxy Command Examples

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

mitmproxy

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

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

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

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

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