mitmproxy: update page (#13514)

mitmproxy: edit page
pull/28/head
Fazle Arefin 2024-08-28 02:25:17 +10:00 committed by GitHub
parent 6eeb36f1ed
commit e43c589508
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 5 deletions

View File

@ -1,21 +1,29 @@
# mitmproxy
> An interactive man-in-the-middle HTTP proxy.
> See also: `mitmweb`.
> More information: <https://docs.mitmproxy.org/stable/concepts-options>.
> See also: `mitmweb` and `mitmdump`.
> More information: <https://docs.mitmproxy.org/stable/>.
- Start `mitmproxy` with default settings:
- 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}} --listen-port {{port}}`
`mitmproxy --listen-host {{ip_address}} {{--listen-port|-p}} {{port}}`
- Start `mitmproxy` using a script to process traffic:
`mitmproxy --scripts {{path/to/script.py}}`
`mitmproxy {{--scripts|-s}} {{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 {{--mode|-m}} {{regular|transparent|socks5|...}}`
- Set the console layout:
`mitmproxy --console-layout {{horizontal|single|vertical}}`