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

相关推荐
希望奇迹很安静2 天前
CTFSHOW-WEB入门-命令执行29-32
前端·web安全·ctf
希望奇迹很安静7 天前
CTFSHOW-WEB入门-文件包含78-81
学习·web安全·ctf
H轨迹H9 天前
BUUCTF刷题-Web方向1~5wp
网络安全·渗透测试·ctf·buuctf·web漏洞
YesYoung!10 天前
pikachu靶场-敏感信息泄露概述
web安全·网络安全·ctf
shenghuiping200111 天前
SQLmap 自动注入 -02
mysql·web·sql注入·sqlmap
希望奇迹很安静11 天前
[极客大挑战 2019]PHP
开发语言·学习·web安全·php·ctf·buuctf
希望奇迹很安静12 天前
[HCTF 2018]WarmUp
学习·web安全·ctf·buuctf
Z3r4y15 天前
【Web】2025西湖论剑·中国杭州网络安全安全技能大赛题解(全)
web安全·ctf·wp·西湖论剑
希望奇迹很安静15 天前
nssctf_WEB部分题解
学习·web安全·ctf
小彭爱学习16 天前
php审计1-extract函数变量覆盖
web安全·网络安全·php·ctf·代码审计·extract