PicoCTF - Safe Opener26 Sep 2022
PicoCTF 2022 / Reverse Engineering
Can you open this safe?
I forgot the key to my safe but this program is supposed to help me with retrieving the lost key. Can you help me unlock my safe?
Put the password you recover into the picoCTF flag format like:
- Download the progrem
SafeOpener.java. There is a method named
openSafeused to check if password correct. String
encodedkeyis password which was transferd to byte array and encode.
- We can derive the password by decoding string
encodedkey. Add four lines to
- Execute the program. Here’s flag!