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

相关推荐
淮上安子骞4 小时前
sage10.8源码部署
服务器·密码学·ctf·本地部署·sage
给勒布朗上上对抗呀6 小时前
反序列化之字符串逃逸-0CTF2016-piapiapia
ctf
福来阁86号技师7 小时前
2025年第二届Solar应急响应挑战赛
ctf·应急响应
给勒布朗上上对抗呀1 天前
短标签一句话实战-LitCTF2025-easy_file
ctf
蓝之白2 天前
WEB安全_AI_WAF
web安全·ctf
Bug.ink2 天前
BUUCTF——WEB(4)
前端·网络安全·靶场·ctf·buuctf
蓝之白3 天前
MISC9-easy_nbt
ctf·misc
lightningyang3 天前
渗透入门之SQL 注入(二)
数据库·sql·渗透·sql注入
漏洞文库-Web安全4 天前
强网杯 2024 web pyblockly 单题wp
安全·web安全·网络安全·ctf
蓝之白4 天前
MISC8-Linux2
ctf·misc