鹤城杯 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}

相关推荐
print_Hyon1 天前
【CTF-WEB】原型链污染及Pug模板注入
ctf
print_Hyon1 天前
【CTF-APK】基于TRAE和jadx的MCP实现AI逆向分析APK文件
ctf
print_Hyon1 天前
【CTF-WEB】在线Lua执行器漏洞
lua·ctf
蓝之白2 天前
Vulnhub_DC-8
web安全·ctf·网络攻防·靶场渗透
蓝之白2 天前
流量分析_SnakeBackdoor-2
web安全·ctf·流量分析
print_Hyon2 天前
【CTF-密码学-RSA】计算私钥和公钥进行加密和解密
密码学·ctf
淮上安子骞2 天前
sage10.8源码部署
服务器·密码学·ctf·本地部署·sage
给勒布朗上上对抗呀2 天前
反序列化之字符串逃逸-0CTF2016-piapiapia
ctf
福来阁86号技师2 天前
2025年第二届Solar应急响应挑战赛
ctf·应急响应
给勒布朗上上对抗呀3 天前
短标签一句话实战-LitCTF2025-easy_file
ctf