1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 21:22:09 +02:00
tldr/pages/common/mitmdump.md
2020-10-04 18:33:38 +01:00

17 lines
463 B
Markdown

# mitmdump
> View, record, and programmatically transform HTTP traffic.
> The command-line counterpart to mitmproxy.
> More information: <https://docs.mitmproxy.org/stable/overview-tools/#mitmdump>.
- 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}}"`
- Replay a saved traffic file:
`mitmdump -nc {{filename}}`