Problem
You picked up teared QR code fragments. Recover the flag.
Flag is 12 characters without MMA{...}.
During the opening time of MMA CTF, I don't know what to do with this picture.
When the CTF ended, I googled "QR code recovery challenge" to find the write-up of this chal, and found this link: https://ctf.mma.club.uec.ac.jp/problems/92
problem2.png
We will solve problem2.png first!
---
It looks easier, right? I opened GIMP and try to recover it but failed.
---
It looks easier, right? I opened GIMP and try to recover it but failed.
After googling, I found a tool named strong-qr-decoder, it can decode corrupted QR code, but only in txt file.
So I tried hard, and found a tool named qr2txt, it can change a bitmap file QR code to a txt file QR code.
Yeah! Go go go!
1. Change problem2.png to problem2.bmp with GIMP, and rename it to qr.bmp
2. $ ./qr2txt
Save it to a text file: $ ./qr2txt > qr.txt
Boom!
Did I miss something?
So I tried hard, and found a tool named qr2txt, it can change a bitmap file QR code to a txt file QR code.
Yeah! Go go go!
1. Change problem2.png to problem2.bmp with GIMP, and rename it to qr.bmp
2. $ ./qr2txt
Save it to a text file: $ ./qr2txt > qr.txt
3. User strong-qr-decoder to decode it:
$ python sqrd.py qr.txt -e 2 -m 4
$ python sqrd.py qr.txt -e 2 -m 4
Boom!
Yeah, we got the flag of problem2.png. Can we do these steps with problem.png
"Flag is 12 characters without MMA{...}."
Submit flag "000000000000"! Failed!!!
Submit flag "000000000000"! Failed!!!
Did I miss something?
--- matnacian ---
--- ctf for beginners ---









