1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/mitmproxy.md

22 lines
567 B
Markdown
Raw Normal View History

2016-01-28 16:14:24 -05:00
# mitmproxy
> An interactive man-in-the-middle HTTP proxy.
> See also: `mitmweb`.
> More information: <https://docs.mitmproxy.org/stable/concepts-options>.
2016-01-28 16:14:24 -05:00
- Start `mitmproxy` with default settings:
2016-01-28 16:14:24 -05:00
`mitmproxy`
- Start `mitmproxy` bound to a custom address and port:
2016-01-28 16:14:24 -05:00
`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`