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
David Ansart 0128cb9870
mitmproxy : add the variable "SSLKEYLOGFILE" (#10306)
* mitmproxy : add the variable "SSLKEYLOGFILE"
source : https://docs.mitmproxy.org/stable/howto-wireshark-tls/

* mitmproxy : add ':' at the end of the description

* Update pages/common/mitmproxy.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-06-03 14:54:33 +02:00

21 lines
567 B
Markdown

# 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`