CM01 - 250pts
Last updated
Was this helpful?
Last updated
Was this helpful?
Download the file and find a way to get the flag. Contents: code.png, frame.png
Challenge Files:
This is a bad solution. You have been warned. I'm sure there are quicker methods than this. You have been warned.
We can decode frame.png
using to get Hey, I've put the flag into the other file using the same trick we always use. You know what to do. :)
.
Now, invert the code.png
file using any method you want (GIMP works great)
Next, open the frame.png
in GIMP and open code_inverted.png
as a layer. Make sure the code_inverted.png
layer is on top and set its opacity to 50%. This will reveal a gray QR code.
Flatten the layers and then select all the black pixels using the "Select by Color" feature. Use the bucket to fill them with white.
We should be able to simply replace all the gray with black and have the QR code, but there are noise pixels. I tried various methods to remove them, but I ended up using the pen tool to draw over all the entire QR code. After that, I selected the black pixels using the magic wand, inverted the selection, and filled the selection with white.
Finally, save the image as answer.png
and decode it using to get FLAG: A_Code_For_A_Code
A_Code_For_A_Code