fix document error

This commit is contained in:
naivekun 2020-03-25 22:02:53 +08:00
parent e01f044c33
commit fa222dca65

View File

@ -53,7 +53,7 @@ See the [client-side replay]({{< relref "overview-features#client-side-replay"
### Running a script ### Running a script
{{< highlight bash >}} {{< highlight bash >}}
mitmdump -s examples/add_header.py mitmdump -s examples/simple/add_header.py
{{< / highlight >}} {{< / highlight >}}
This runs the **add_header.py** example script, which simply adds a new This runs the **add_header.py** example script, which simply adds a new
@ -62,7 +62,7 @@ header to all responses.
### Scripted data transformation ### Scripted data transformation
{{< highlight bash >}} {{< highlight bash >}}
mitmdump -ns examples/add_header.py -r srcfile -w dstfile mitmdump -ns examples/simple/add_header.py -r srcfile -w dstfile
{{< / highlight >}} {{< / highlight >}}
This command loads flows from **srcfile**, transforms it according to This command loads flows from **srcfile**, transforms it according to