Challenges
The Lock
Reverse engineering
Expert
AIFT-2026
Solves: 26
The Lock
Author: CyberSamSU
Points
210
A lock from Ulugh Beg's era hangs on the gate of the Registan madrasa. A craftsman rebuilt it as a WebAssembly module: the lock listens to a key phrase and answers only OK or NO — nothing else.
You get qulf.wasm and the runner check.mjs (node check.mjs <32 chars>, Node.js 18+). The key phrase is exactly 32 characters from [a-z0-9_]. The flag is AIFT{ + those 32 characters + }. Exactly one input is accepted. Everything runs on your own machine, offline; there is no time or attempt limit.
Find out what is inside the lock and recover the key phrase.
Attached files
qulf.wasm
Log in to download
check.mjs
Log in to download
SHA-256 checksums
qulf.wasm: e72415c71b10e2562425a4454b68adc3ac0704cdff2bc77c9773fe6f6d1d4d31
check.mjs: 91a472fa701b5177a9cf747d193591200ec37fe5dbf4cc323097a6de37836dbc
To submit a flag, log in.