diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2017-04-29 18:33:13 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2017-04-29 23:32:31 +1200 |
commit | 4b568f99d6a56e4331af5aac00bcf7d4642a115d (patch) | |
tree | 34c2099b6fa2bcfd99a314d578583a8f2f2fab42 /web/src | |
parent | d439b3451148038a83a20964d1b26e6a17ae7eb0 (diff) | |
download | mitmproxy-4b568f99d6a56e4331af5aac00bcf7d4642a115d.tar.gz mitmproxy-4b568f99d6a56e4331af5aac00bcf7d4642a115d.tar.bz2 mitmproxy-4b568f99d6a56e4331af5aac00bcf7d4642a115d.zip |
Introduce cuts: a flow dissector
This PR introduces the cuts addon, a flow dissector that allows you to select
and operate on specific components of flows. It also adds the first consumer
for cuts - the cuts.save command.
Save the content of the focus to /tmp/foo:
cuts.save s.content|@focus /tmp/foo
Save the URL and response content-type headers for all flows currently shown to
file, comma-separated, one flow per line:
cuts.save s.url,q.header[content-type]|@focus /tmp/foo
We also use this to replace the body save shortcut in the console flowlist.
Diffstat (limited to 'web/src')
0 files changed, 0 insertions, 0 deletions