跳过正文
  1. Posts/

HGame Mini 2025 WriteUp

·311 字·1 分钟
目录

AI
#

What’s in the model
#

用 torch 一直加载不上,不管了 用在线工具netron.app

按照题目要求构造Vidar{input_<32x10>_hello_<16x32>_ReLU_AI_<8x16>_Sigmoid_output <4x8>}

Crypto
#

Caesar
#

偏移量递增的凯撒密码
VIDAR{Caes4r_is_c00l}

初见RSA
#

送的

from Crypto.Util.number import long_to_bytes

n = 6438564200642544883963516466995842809822227901556621973469309713770175274106718270712739193879588101321727771333715117505096108552049741175863094464807711
p = 65099752915500719336967562662061593189532612028630922599597746085982133225699
q = 98903051275782591251093656404330537548659916532422455319036265889066830429589
e = 65537
enc = 4775440827685472524284778345015273189583577772326930132109883500567360503635434106528916819948657772713245201437682642245414983154863864679871711587110510

phi_n = (p - 1) * (q - 1)
d = pow(e, -1, phi)
m = pow(enc, d, n)
print(long_to_bytes(m))

Misc
#

Weird suffix
#

观察三个文件的文件头可知分别为png、jpg 和 bmp
拼接后得到VIDAR{FunNy_su4fix}

Hidden zip
#

将图片作为 zip 解压得到 flag.txt,内容为VDRWwYufn_e!IA{o~0_idM!}
猜测栅栏密码

Web
#

Do you really understand http
#


按题目要求该 header 就行

Timmy
作者
Timmy
Fighting for Love.

相关文章

MoeCTF 2025 WriteUp
·3227 字·7 分钟
Hugo & Obsidian 博客撰写 与 笔记记录 配置
·1324 字·3 分钟
Markdown 和 短代码 展示
·6779 字·14 分钟