aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/har_dump.py
diff options
context:
space:
mode:
author0xHJK <HJKdev+GitHub@gmail.com>2018-05-08 16:27:56 +0800
committer0xHJK <HJKdev+GitHub@gmail.com>2018-05-08 16:27:56 +0800
commita46a317dcacb7cc416e15ab3a4f8804a5a09f046 (patch)
tree59d3e7f169da5332f05bae288fcc2db04f97590e /examples/complex/har_dump.py
parent8a682d3532ec071f20f4ba0f4700fbcdb7921699 (diff)
downloadmitmproxy-a46a317dcacb7cc416e15ab3a4f8804a5a09f046.tar.gz
mitmproxy-a46a317dcacb7cc416e15ab3a4f8804a5a09f046.tar.bz2
mitmproxy-a46a317dcacb7cc416e15ab3a4f8804a5a09f046.zip
har_dump example cmdline invocation
Diffstat (limited to 'examples/complex/har_dump.py')
-rw-r--r--examples/complex/har_dump.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/complex/har_dump.py b/examples/complex/har_dump.py
index 040c7d28..33a2f79f 100644
--- a/examples/complex/har_dump.py
+++ b/examples/complex/har_dump.py
@@ -1,5 +1,11 @@
"""
This inline script can be used to dump flows as HAR files.
+
+example cmdline invocation:
+mitmdump -s ./har_dump.py --set hardump=./dump.har
+
+filename endwith '.zhar' will be compressed:
+mitmdump -s ./har_dump.py --set hardump=./dump.zhar
"""