프로젝트
GitHub에서 보기
six-ddc/httpflow
소개
HTTP 스트림을 캡처하고 덤프하는 명령줄 유틸리티
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalhttpflow
Installation
MacOs
brew update
brew install httpflow
Linux
## On CentOS
yum update
yum install libpcap-devel zlib-devel pcre-devel
## On Ubuntu / Debian
apt-get update
apt-get install libpcap-dev zlib1g-dev libpcre3 libpcre3-dev
- Building httpflow
> git clone https://github.com/six-ddc/httpflow
> cd httpflow && make && make install
or directly download Release binary file.
Usage
libpcap version libpcap version 1.9.1
httpflow version 0.0.9
Usage: httpflow [-i interface | -r pcap-file] [-u url-filter] [-w output-path] [expression]
-i interface Listen on interface, This is same as tcpdump 'interface'
-r pcap-file Read packets from file (which was created by tcpdump with the -w option)
Standard input is used if file is '-'
-u url-filter Matches which urls will be dumped
-w output-path Write the http request and response to a specific directory
expression Selects which packets will be dumped, The format is the same as tcpdump's 'expression' argument
If filter expression is given, only packets for which expression is 'true' will be dumped
For the expression syntax, see pcap-filter(7)
For more information, see https://github.com/six-ddc/httpflow
- Capture default interface
> httpflow
- Capture all interfaces
> httpflow -i any
- Use the expression to filter the capture results
# If no expression is given, all packets on the net will be dumped.
# For the expression syntax, see pcap-filter(7).
> httpflow host httpbin.org or host baidu.com
- Use the regexp to filter request urls
> httpflow -u '/user/[0-9]+'
- Read packets from pcap-file
# tcpdump -w a.cap
> httpflow -r a.cap
- Read packets from input
> tcpdump -w - | httpflow -r -
- Write the HTTP request and response to directory
/tmp/http
> httpflow -w /tmp/http
관련 프로젝트 살펴보기
불러오는 중…