diff options
author | madt1m <blackjuniper@protonmail.com> | 2018-06-23 03:02:39 +0200 |
---|---|---|
committer | madt1m <blackjuniper@protonmail.com> | 2018-06-23 03:02:39 +0200 |
commit | e842aa3798ee71812cc68ce0f3b7360edbc023c3 (patch) | |
tree | c8b2a2e27d9574dc7d6bf9e7b97cd0078e5d3144 /examples | |
parent | ba144b15bc1a33f71200e54eb4a25894a11d6a53 (diff) | |
download | mitmproxy-e842aa3798ee71812cc68ce0f3b7360edbc023c3.tar.gz mitmproxy-e842aa3798ee71812cc68ce0f3b7360edbc023c3.tar.bz2 mitmproxy-e842aa3798ee71812cc68ce0f3b7360edbc023c3.zip |
Added protobuf methods; implemented initial DB logic
Diffstat (limited to 'examples')
-rw-r--r-- | examples/addons/protodumper.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/addons/protodumper.py b/examples/addons/protodumper.py new file mode 100644 index 00000000..6a1d676c --- /dev/null +++ b/examples/addons/protodumper.py @@ -0,0 +1,5 @@ +from mitmproxy.io import protobuf + + +def response(f): + protobuf.loads(protobuf.dumps(f)) |