2016-01-28 20:36:32 +00:00
|
|
|
# mitmdump
|
|
|
|
|
|
|
|
> View, record, and programmatically transform HTTP traffic.
|
|
|
|
> The command-line counterpart to mitmproxy.
|
2023-11-19 21:07:13 +00:00
|
|
|
> More information: <https://docs.mitmproxy.org/stable/#mitmdump>.
|
2016-01-28 20:36:32 +00:00
|
|
|
|
|
|
|
- Start a proxy and save all output to a file:
|
|
|
|
|
2022-12-06 06:47:56 +00:00
|
|
|
`mitmdump -w {{path/to/file}}`
|
2016-01-28 20:36:32 +00:00
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
2022-12-06 06:47:56 +00:00
|
|
|
`mitmdump -nc {{path/to/file}}`
|