Quick Recovery

Writeup for Quick Recovery (Misc) - 1337UP LIVE CTF (2024) πŸ’œ

Challenge Description

Hey, check this QR code ASAP! It's highly sensitive so I scrambled it but you shouldn't have a hard time reconstructing - just make sure to update the a_order to our shared PIN. The b_order is the reverse of that πŸ˜‰

Solution

Players receive a jumbled up QR code, and the script used to generate it.

gen.py

They simply need to make an opposing script to reconstruct it. Since they don't know the PIN, they can try all possible combinations (24) and see which produce valid QRs. The whole process can be automated to a single script.

solve.py

Run it and get the flag!

Flag: INTIGRITI{7h475_h0w_y0u_r3c0n57ruc7_qr_c0d3}

Last updated