diff --git a/doc-src/mitmdump.html b/doc-src/mitmdump.html index 6346da425..792f9c52f 100644 --- a/doc-src/mitmdump.html +++ b/doc-src/mitmdump.html @@ -6,7 +6,10 @@ documentation. -## Example: saving traffic +# Examples + + +## Saving traffic
> mitmdump -w outfile @@ -15,7 +18,18 @@ documentation. Start up mitmdump in proxy mode, and write all traffic to __outfile__. -## Example: client replay +## Filtering saved traffic + ++> mitmdump -nr infile -w outfile "~m post" ++ +Start mitmdump without binding to the proxy port (_-n_), read all flows from +infile, apply the specified filter expression (only match POSTs), and write to +outfile. + + +## Client replay> mitmdump -nc outfile @@ -33,7 +47,7 @@ another: See the [Client-side Replay](@!urlTo("clientreplay.html")!@) section for more information. -## Example: running a script +## Running a script> mitmdump -s examples/add_header.py @@ -43,7 +57,7 @@ This runs the __add_header.py__ example script, which simply adds a new header to all responses. -## Example: scripted data transformation +## Scripted data transformation> mitmdump -ns examples/add_header.py -r srcfile -w dstfile