2022 羊城杯 复现

MISC

签个到

ZMJTPM33TL4TRMYRZD3JXAGOZVMJRLWEZMFGFAEIZV2GVMOMZZ3JTZ3RUR2U2===

看着像 base32,但单纯解不出

ciphey 直接梭出来

python3.9 -m ciphey -f 1.txt

在这里插入图片描述

where_is_secret

维吉尼亚解码:

Hello friends, I am the President of Ukraine Zelensky. The Russian army has just launched an attack on Ukraine, and the Kyiv airport has been controlled by the Russian army. Heard today is KFC Crazy Thursday, I need someone to bring me 29.94 finger-sucking original chicken as rations now. When I repel the Russian army, I will invite you to come to Ukraine to be the vice president.the password is GWHT@R1nd0yyds

解压后可以得到这个图

在这里插入图片描述

通过 hint 的加密脚本改解密脚本

(以下脚本出自:blog.csdn.net/weixin_5112…)

from PIL import Image
img = Image.open('out.bmp')

d = dict()
k = []
with open('out.txt','w') as f:
    for i in range(371):
        for j in range(371):
            p = img.getpixel((j,i))
            f.write(chr(int(bin(p[1])[2:].zfill(8)+bin(p[2])[2:].zfill(8),2)))

正则表达式提取字符

import re 
f = open('out.txt','r').read() 

a = re.findall('[^a-z\{\}0-9][a-z\{\}0-9][^a-z\{\}0-9]', f, re.M) 
for i in a: 
    print(i)

flag{h1d3_1n_th3_p1ctur3}

迷失幻境

迷失幻境文件夹中有一张可莉和 1-100 的 png 缺少了 45

在磁盘中看到 $RECYCLE.BIN 文件夹中的几个文件

$RJ3JGVF 缺了文件头

在这里插入图片描述

加头后的是 45.png 与其他的大小不同

异或后,就会发现

key is 可莉前来报道

在这里插入图片描述

$RE4UUGI.jpg 中有提示

在这里插入图片描述
在这里插入图片描述

outguess 把 $RE4UUGI.jpg 用 key 就可以直接整出 flag

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Part 03

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值