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

相关推荐
QCzblack15 小时前
第四周作业
web·pwn·misc
kali-Myon18 小时前
2025春秋杯网络安全联赛冬季赛-day2
python·安全·web安全·ai·php·pwn·ctf
kali-Myon19 小时前
2025春秋杯网络安全联赛冬季赛-day3
python·安全·web安全·ai·php·web·ctf
23zhgjx-zgx19 小时前
USB 设备通信数据包审计与键值解析报告
网络·ctf·流量
子木鑫7 天前
CTF命令注入
计算机网络·ctf
one____dream8 天前
【网安】Reverse-非常规题目
linux·python·安全·网络安全·ctf
one____dream8 天前
Reverse-elrond32
安全·网络安全·ctf
运筹vivo@10 天前
BUUCTF: [BSidesCF 2020]Had a bad day
web安全·ctf
三七吃山漆10 天前
[网鼎杯 2020 朱雀组]phpweb
php·ctf·网鼎杯
unable code10 天前
磁盘取证-Flying_High
网络安全·ctf·misc·1024程序员节·磁盘取证