Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

22
tldr/mitmdump Normal file
View 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}}`