Files
tldr/pages.zh/common/httpflow.md

24 lines
530 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# httpflow
> 一款用于捕获和转储HTTP流的命令行工具。
> 更多信息请访问:<https://github.com/six-ddc/httpflow>。
- 在所有接口上捕获流量:
`httpflow -i {{any}}`
- 使用bpf样式的捕获来过滤结果
`httpflow {{host httpbin.org or host baidu.com}}`
- 使用正则表达式根据URL过滤请求
`httpflow -u '{{regular_expression}}'`
- 从PCAP格式的二进制文件中读取数据包
`httpflow -r {{out.cap}}`
- 将输出写入目录:
`httpflow -w {{path/to/directory}}`