http_capture:HTTP嗅探器,输出json格式数据

时间:2024-06-13 11:43:58
【文件属性】:

文件名称:http_capture:HTTP嗅探器,输出json格式数据

文件大小:28KB

文件格式:ZIP

更新时间:2024-06-13 11:43:58

C

HTTP捕获 汇编 首先安装libjson-c和libnids $ yum install make gcc-c ++ json-c json-c-devel libnids libnids-devel libpcap libpcap-devel openssl openssl-devel 然后编译: $使 跑步: $ ./http_capture -i eth1 -Bbp 输出:{“ src”:“ 172.0.0.1:8156”,“ dst”:“ 172.0.0.1:80”,“ request.method”:“ POST”,“ request.url”:“ /test.url”, “ request.host”:“ test.host.com”,“ request.x-forwarded-for”:“ 172.0.0.1”,“ response.code”:200,“ req


【文件预览】:
http_capture-master
----base64.h(96B)
----http_parser.h(12KB)
----output.c(2KB)
----nids.c(3KB)
----stream.h(1KB)
----base64.c(717B)
----config.h(1009B)
----README.md(722B)
----Makefile(734B)
----output.h(149B)
----http_parser.c(62KB)
----main.h(101B)
----hash.h(188B)
----nids.h(126B)
----stream.c(9KB)
----hash.c(3KB)
----main.c(4KB)

网友评论