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

相关推荐
给勒布朗上上对抗呀11 小时前
文件包含之include-ctfshow-web39
ctf
Pure_White_Sword2 天前
bugku-reverse题目-peter的手机
网络安全·ctf·reverse·逆向工程
缘木之鱼2 天前
CTFshow __Web应用安全与防护 第二章
前端·安全·渗透·ctf·ctfshow
给勒布朗上上对抗呀3 天前
伪随机数实战-ctfshow-web25
ctf
三七吃山漆3 天前
[护网杯 2018]easy_tornado
python·web安全·ctf·tornado
缘木之鱼4 天前
CTFshow __Web应用安全与防护 第一章
前端·安全·渗透·ctf·ctfshow
mooyuan天天6 天前
CISP-PTE SQL注入关卡渗透实战(手注法+sqlmap法)
sql注入·sqlmap·sql注入漏洞·ctf-pte
王解8 天前
game1
学习·ctf
23zhgjx-zgx8 天前
SQL注入攻击分析报告
网络·sql·ctf
给勒布朗上上对抗呀8 天前
XSS实战-Bugku-zombie-10
ctf·xss