tldr/pages/common/mitmdump.md

18 lines
463 B
Markdown
Raw Normal View History

2016-01-28 20:36:32 +00:00
# mitmdump
> View, record, and programmatically transform HTTP traffic.
> The command-line counterpart to mitmproxy.
2019-06-04 10:25:11 +01:00
> More information: <https://docs.mitmproxy.org/stable/overview-tools/#mitmdump>.
2016-01-28 20:36:32 +00:00
- Start a proxy and save all output to a file:
`mitmdump -w {{filename}}`
- Filter a saved traffic file to just POST requests:
`mitmdump -nr {{input_filename}} -w {{output_filename}} "{{~m post}}"`
2016-01-28 20:36:32 +00:00
- Replay a saved traffic file:
`mitmdump -nc {{filename}}`