mitmweb: add page, mitmproxy: update page (#10262)

* mitmproxy: replace deprecated arguments and add example

* mitmweb: add page

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Johan Degn 2023-05-22 04:20:15 +02:00 committed by GitHub
parent 481d29f45d
commit 081e4c0b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 4 deletions

View File

@ -1,12 +1,17 @@
# mitmproxy
> An interactive man-in-the-middle HTTP proxy.
> More information: <https://mitmproxy.org>.
> See also: `mitmweb`.
> More information: <https://docs.mitmproxy.org/stable/concepts-options>.
- Start mitmproxy with default settings:
- Start `mitmproxy` with default settings:
`mitmproxy`
- Start mitmproxy bound to custom address and port:
- Start `mitmproxy` bound to a custom address and port:
`mitmproxy -b {{ip_address}} -p {{port}}`
`mitmproxy --listen-host {{ip_address}} --listen-port {{port}}`
- Start `mitmproxy` using a script to process traffic:
`mitmproxy --scripts {{path/to/script.py}}`

17
pages/common/mitmweb.md Normal file
View File

@ -0,0 +1,17 @@
# mitmweb
> A web-based interactive man-in-the-middle HTTP proxy.
> See also: `mitmproxy`.
> More information: <https://docs.mitmproxy.org/stable/concepts-options>.
- Start `mitmweb` with default settings:
`mitmweb`
- Start `mitmweb` bound to a custom address and port:
`mitmweb --listen-host {{ip_address}} --listen-port {{port}}`
- Start `mitmweb` using a script to process traffic:
`mitmweb --scripts {{path/to/script.py}}`