mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 19:56:55 +00:00
Update cheatsheets
This commit is contained in:
22
mitmdump
Normal file
22
mitmdump
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mitmdump
|
||||
|
||||
> View, record, and programmatically transform HTTP traffic.
|
||||
> The command-line counterpart to mitmproxy.
|
||||
> More information: <https://docs.mitmproxy.org/stable/#mitmdump>.
|
||||
|
||||
- Start a proxy and save all output to a file:
|
||||
|
||||
`mitmdump -w {{path/to/file}}`
|
||||
|
||||
- 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 {{path/to/file}}`
|
||||
Reference in New Issue
Block a user