[PearlCTF2024] pcap-busterz-1 WriteUp by MiguoQAQ

pcap-busterz-1

在这里插入图片描述

wireshark打开,发现了大块的TCP流,里面包含了一些可疑信息

在这里插入图片描述

追踪这些流

在这里插入图片描述

得到了100*100的黑白块数据,猜测拼起来是二维码,整理数据的结构

from PIL import Image

def create_image(info_list):
    img = Image.new('RGB', (100, 100), "black")  # 创建一个黑色背景图片
    pixels = img.load()
    for info in info_list:
        x, y, color = info['x'], info['y'], info['color']
        pixels[x, y] = color  # 在指定位置绘制像素
    img.show()  # 显示图片

info_list = [
                {'x': 38, 'y': 56, 'color': (255, 255, 255)},
                {'x': 73, 'y': 33, 'color': (255, 255, 255)},
                {'x': 94, 'y': 49, 'color': (255, 255, 255)},
                #…………	填入完整数据
                {'x': 79, 'y': 22, 'color': (255,255,255)},
                {'x': 69, 'y': 6, 'color': (255,255,255)},
                {'x': 91, 'y': 94, 'color': (255,255,255)},
                {'x': 27, 'y': 78, 'color': (255,255,255)},

            ]

create_image(info_list)

运行,得到二维码,

在这里插入图片描述

用QRSearch扫描

在这里插入图片描述

得到flag

pearl{QR_rev0lution1ses_mod3rn_data_handl1ng}

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值