mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
commit
e116366a89
1 changed files with 16 additions and 0 deletions
16
pages/common/mitmdump.md
Normal file
16
pages/common/mitmdump.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# mitmdump
|
||||||
|
|
||||||
|
> View, record, and programmatically transform HTTP traffic.
|
||||||
|
> The command-line counterpart to mitmproxy.
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue