aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2018-05-08 11:07:05 +0200
committerGitHub <noreply@github.com>2018-05-08 11:07:05 +0200
commitad74c18f74256537fd22037e8aec0e9707773fa0 (patch)
tree59d3e7f169da5332f05bae288fcc2db04f97590e /examples
parent8a682d3532ec071f20f4ba0f4700fbcdb7921699 (diff)
parenta46a317dcacb7cc416e15ab3a4f8804a5a09f046 (diff)
downloadmitmproxy-ad74c18f74256537fd22037e8aec0e9707773fa0.tar.gz
mitmproxy-ad74c18f74256537fd22037e8aec0e9707773fa0.tar.bz2
mitmproxy-ad74c18f74256537fd22037e8aec0e9707773fa0.zip
Merge pull request #3107 from 0xHJK/master
add har_dump example cmdline invocation
Diffstat (limited to 'examples')
-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
"""