httpflow: add page (#4493)

beep
Argishti Rostamian 2020-10-06 09:27:34 -07:00 committed by GitHub
parent 290544381e
commit b16010bf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/common/httpflow.md Normal file
View File

@ -0,0 +1,24 @@
# httpflow
> A command line 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 regexp to filter requests by urls:
`httpflow -u '{{regex}}'`
- Read packets from pcap format binary file:
`httpflow -r {{out.cap}}`
- Write the output to a directory:
`httpflow -w {{path/to/directory}}`