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

相关推荐
见青..17 小时前
[BUUCTF]Misc篇wp
网络安全·ctf·misc·buuctf
xin^_^18 小时前
PolarD&N[web困难]部分题解
ctf
ShoreKiten2 天前
SSTI专题(持续更新)
web·ctf·ssti·模板注入
白帽子凯哥哥2 天前
大一想打CTF,稍微学了些web想转pwn零基础要如何学习
学习·渗透测试·web·pwn·ctf
Dorimui3 天前
Ctf组会-网络基础,一篇总览基本的网络知识
ctf·网络基础
ShoreKiten3 天前
命令执行专题(持续更新)
web安全·php·ctf·rce
Chockmans4 天前
春秋云境CVE-2016-7124
web安全·网络安全·ctf·春秋云境·cve-2016-7124
2401_865721334 天前
WEEK 3 刷题&学习记录
网络·学习·ctf
努力的lpp18 天前
SQLMap CTF 常用命令全集
数据库·web安全·网络安全·sql注入
努力的lpp18 天前
SQL 报错注入
数据库·sql·web安全·网络安全·sql注入