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

相关推荐
lcreek10 天前
SQL盲注漏洞详解 DVWA High
网络安全·sql注入
lcreek11 天前
SQL 注入漏洞详解:从原理到防御的完整学习指南
网络安全·sql注入
三垣网安11 天前
记一次补天公益SRC漏洞挖掘:弱口令+SQL注入+信息泄露
sql注入·信息泄露·弱口令
lcreek12 天前
SQL盲注漏洞详解 DVWA Medium
网络安全·sql注入
lcreek12 天前
SQL 注入实战:DVWA High 完整测试指南
网络安全·sql注入
lcreek13 天前
SQL 注入实战:DVWA Medium完整测试指南
网络安全·sql注入
lcreek14 天前
SQL 注入实战:DVWA LOW完整测试指南
网络安全·sql注入
祁白_14 天前
PHP回调函数
web安全·php·ctf·代码审计·writeup
Eileen Seligman16 天前
0CTF/TCTF 2023 OLAPInfra Nashorn RCE + HDFS UDF RCE
大数据·hadoop·hdfs·ctf·rce
qsuperm22 天前
LitCTF2026WEB
网络安全·ctf