1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-08 16:35:23 +02:00
tldr/pages/common/httpflow.md
Managor 4b1e0196d1
common/*: reduce usage of "command-line" (part 3) (#16951)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-28 13:12:44 +00:00

24 lines
521 B
Markdown

# httpflow
> A utility to capture and dump HTTP streams.
> More information: <https://github.com/six-ddc/httpflow>.
- Capture traffic on all interfaces:
`httpflow -i {{any}}`
- Use a bpf-style capture to filter the results:
`httpflow {{host httpbin.org or host baidu.com}}`
- Use a regular expression to filter requests by URLs:
`httpflow -u '{{regular_expression}}'`
- Read packets from PCAP format binary file:
`httpflow -r {{out.cap}}`
- Write the output to a directory:
`httpflow -w {{path/to/directory}}`