aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/mitmdump.html
diff options
context:
space:
mode:
authorRouli <rouli.net@gmail.com>2013-03-18 14:24:13 +0200
committerRouli <rouli.net@gmail.com>2013-03-18 14:24:13 +0200
commitc94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f (patch)
tree1e62785d669d86f6e551a99b9debfe445389bd48 /doc-src/mitmdump.html
parentb6cae7cd2d0105d6a6fe9d35864d0f9b7c5f8924 (diff)
parent5c33f6784b4ba34dd9825ea7e3070cdf0b2b4621 (diff)
downloadmitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.gz
mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.tar.bz2
mitmproxy-c94aadcb0ee5e7aab8acc46a0e4ac7d02a28df6f.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'doc-src/mitmdump.html')
-rw-r--r--doc-src/mitmdump.html22
1 files changed, 18 insertions, 4 deletions
diff --git a/doc-src/mitmdump.html b/doc-src/mitmdump.html
index 6346da42..792f9c52 100644
--- a/doc-src/mitmdump.html
+++ b/doc-src/mitmdump.html
@@ -6,7 +6,10 @@ documentation.
-## Example: saving traffic
+# Examples
+
+
+## Saving traffic
<pre class="terminal">
> 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
+
+<pre class="terminal">
+> mitmdump -nr infile -w outfile "~m post"
+</pre>
+
+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
<pre class="terminal">
> 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
<pre class="terminal">
> 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
<pre class="terminal">
> mitmdump -ns examples/add_header.py -r srcfile -w dstfile