YLCTF2024

文章发布时间:

最后更新时间:

页面浏览:加载中...

Misc

[Round 1] plain_crack

复制一份原来的脚本改动不使用密码把原来的脚本压缩进行明文

1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- coding:utf8 -*-

import pyminizip
import os

def create(files, zfile):
# 不使用密码进行压缩
pyminizip.compress_multiple(files, [], zfile, None, 0)

if __name__ == '__main__':
files = ['build.py']
zfile = 'crack0.zip'
create(files, zfile)

得到的压缩包解压打开word文件

image-20241010161220592

移开图片发现flag但是不对

image-20241010163939464

直接提取word文档

image-20241010164110184

1
YLCTF{a709598c-f54c-4db5-ab69-8ddb499df053}

[Round 1] hide_png

1
2
难度 : 简单
我送你n个.................

发现很多小白点,使用PS 选择>色彩范围选取所有小白点

image-20241010112712155

填充颜色,然后搞个背景找到flag

image-20241010113041044

1
YLCTF{a27f2d1a-9176-42cf-a2b6-1c87b17b98dc}

[Round 1] pngorzip

1
2
3

难度 : 简单
这到底是png还是zip啊,你可得看清楚

发现压缩包

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
┌──(kali㉿kali)-[~/Desktop]
└─$ zsteg out.png
imagedata .. file: VAX-order 68k Blit mpx/mux executable
b1,rgb,lsb,xy .. file: Zip archive data, at least v5.1 to extract, compression method=AES Encrypted
b2,r,msb,xy .. text: "JYtA@]Q\""
b2,g,lsb,xy .. file: MIPSEB-LE MIPS-III ECOFF executable not stripped - version 110.109
b2,b,msb,xy .. text: ">\\A#OG\tG>jTF"
b3,g,msb,xy .. text: "Y$XI9u(K"
b3,b,lsb,xy .. file: Intel ia64 COFF object file, no line number info, not stripped, 1281 sections, symbol offset=0x89000f5, -618261216 symbols, optional header size 46701, created Sat May 27 22:10:35 2028
b3,bgr,lsb,xy .. file: PDP-11 executable not stripped
b4,r,lsb,xy .. text: "l4vygUw{"
b4,r,msb,xy .. text: "wwwd/V@bf"
b4,g,lsb,xy .. text: "\"%fffvfe"
b4,g,msb,xy .. text: "$&B0e.Jtcwp"
b4,b,lsb,xy .. text: "vETUUDD!"
b4,b,msb,xy .. file: Targa image data - RLE 34816 x 2048 x 8 +26214 +42726 - four way interleave
b4,rgb,msb,xy .. text: "u`3`6@qg5V-"
b4,bgr,lsb,xy .. file: MIPSEB ECOFF executable not stripped - version -60.108
b4,bgr,msb,xy .. text: "Pp5cf@0w1e]"

导出

1
2
┌──(kali㉿kali)-[~/Desktop]
└─$ zsteg -E "b1,rgb,lsb,xy" out.png > out.zip

image-20241010151232330

修复之后即可爆破

image-20241010151358295

压缩包密码114514giao

image-20241010151500585

1
YLCTF{d359d6e4-740a-49cf-83eb-5b0308f09c8c}