鹤城杯 2021 流量分析

看分组也知道考http流量

是布尔盲注

过滤器筛选http流量

将流量包过滤分离 http

bash 复制代码
tshark -r timu.pcapng -Y "http" -T json    > 1.json

这个时候取 http.request.uri 进一步分离

http.request.uri字段是我们需要的数据
tshark -r timu.pcapng -Y "http" -T json -e http.request.uri > 2.json

按字典依次取出数据即可

编写脚本处理即可

python 复制代码
import json
import re
with open('./2.json') as f:
    data=json.load(f)

a=[]
for i in data:
    try:
        a.append(i['_source']['layers']['http.request.uri'][0])
    except:
        continue
re1=re.compile(r",(\d+),1\)\)=(\d+)")
output={}
for i in a:
    output[re1.search(i)[1]]=re1.search(i)[2]
flag=""
for i in output:
    flag+=chr(int(output[i]))
    print(flag)

flag{w1reshARK_ez_1sntit}

相关推荐
Eileen Seligman2 天前
0CTF/TCTF 2023 OLAPInfra Nashorn RCE + HDFS UDF RCE
大数据·hadoop·hdfs·ctf·rce
qsuperm8 天前
LitCTF2026WEB
网络安全·ctf
路baby8 天前
2026第十届御网杯网络安全大赛线上赛 区域赛WP (MISC和Crypto)(详解-思路-脚本)
安全·web安全·网络安全·密码学·ctf·misc·御网杯
QCzblack9 天前
LitCTF2026
misc
沄媪10 天前
CSRF 跨站请求伪造
前端·ctf·csrf
沄媪11 天前
XSS 跨站脚本攻击
前端·ctf·xss
沄媪11 天前
反序列化漏洞
ctf·反序列化
祁白_11 天前
[0xV01D]_Night Traffic_writeUp
网络·安全·ctf·writeup
祁白_12 天前
[0xV01D]_Release Echo_writeUp
大数据·安全·ctf·writeup
蒲公英eric14 天前
ISCC2026总决赛misc题 喧宾夺主的信号
misc·流量分析·iscc2026总决赛