httpflow
A utility to capture and dump HTTP streams. tldr-pages
On several platforms
Several platforms
Capture traffic on all interfaces
httpflow -i anyIdentifyUse a bpf-style capture to filter the results
httpflow host httpbin.org or host baidu.comIdentifyUse a regex to filter requests by URLs
httpflow -u 'regex'IdentifyRead packets from PCAP format binary file
httpflow -r out.capIdentifyWrite the output to a directory
httpflow -w path/to/directoryIdentify