From 081e4c0b8b098dc89afc83dcb38e3f67cd5f4f0d Mon Sep 17 00:00:00 2001 From: Johan Degn <54548365+johandegn@users.noreply.github.com> Date: Mon, 22 May 2023 04:20:15 +0200 Subject: [PATCH] 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> --- pages/common/mitmproxy.md | 13 +++++++++---- pages/common/mitmweb.md | 17 +++++++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 pages/common/mitmweb.md diff --git a/pages/common/mitmproxy.md b/pages/common/mitmproxy.md index 51e1f48b56..c12d5947b3 100644 --- a/pages/common/mitmproxy.md +++ b/pages/common/mitmproxy.md @@ -1,12 +1,17 @@ # mitmproxy > An interactive man-in-the-middle HTTP proxy. -> More information: . +> See also: `mitmweb`. +> More information: . -- 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}}` diff --git a/pages/common/mitmweb.md b/pages/common/mitmweb.md new file mode 100644 index 0000000000..689058edb2 --- /dev/null +++ b/pages/common/mitmweb.md @@ -0,0 +1,17 @@ +# mitmweb + +> A web-based interactive man-in-the-middle HTTP proxy. +> See also: `mitmproxy`. +> More information: . + +- 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}}`