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:
|
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`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}}`
|