From fa222dca65b2ae484c5778e10206033d6ed08b79 Mon Sep 17 00:00:00 2001 From: naivekun Date: Wed, 25 Mar 2020 22:02:53 +0800 Subject: fix document error --- docs/src/content/tools-mitmdump.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/src/content/tools-mitmdump.md') diff --git a/docs/src/content/tools-mitmdump.md b/docs/src/content/tools-mitmdump.md index fb6a6c0c..dcc3bbf6 100644 --- a/docs/src/content/tools-mitmdump.md +++ b/docs/src/content/tools-mitmdump.md @@ -53,7 +53,7 @@ See the [client-side replay]({{< relref "overview-features#client-side-replay" ### Running a script {{< highlight bash >}} -mitmdump -s examples/add_header.py +mitmdump -s examples/simple/add_header.py {{< / highlight >}} This runs the **add_header.py** example script, which simply adds a new @@ -62,7 +62,7 @@ header to all responses. ### Scripted data transformation {{< highlight bash >}} -mitmdump -ns examples/add_header.py -r srcfile -w dstfile +mitmdump -ns examples/simple/add_header.py -r srcfile -w dstfile {{< / highlight >}} This command loads flows from **srcfile**, transforms it according to -- cgit v1.2.3 From e7839a4320747718fc417f58d02c66a7950c6c33 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Apr 2020 00:20:33 +0530 Subject: docs update --- docs/src/content/tools-mitmdump.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/src/content/tools-mitmdump.md') diff --git a/docs/src/content/tools-mitmdump.md b/docs/src/content/tools-mitmdump.md index fb6a6c0c..f3424266 100644 --- a/docs/src/content/tools-mitmdump.md +++ b/docs/src/content/tools-mitmdump.md @@ -35,16 +35,16 @@ and write to outfile. ### Client replay {{< highlight bash >}} -mitmdump -nc outfile +mitmdump -nC outfile {{< / highlight >}} Start mitmdump without binding to the proxy port (`-n`), then replay all -requests from outfile (`-c filename`). Flags combine in the obvious way, +requests from outfile (`-C filename`). Flags combine in the obvious way, so you can replay requests from one file, and write the resulting flows to another: {{< highlight bash >}} -mitmdump -nc srcfile -w dstfile +mitmdump -nC srcfile -w dstfile {{< / highlight >}} See the [client-side replay]({{< relref "overview-features#client-side-replay" -- cgit v1.2.3