Problem link - picoCTF: crackme-py
A python code is provided in the challenge. The secret is in encrypted form present in the code itself.
bezos_cc_secret = "A:[email protected]%uL`M-^M0c0AbcM-MFE02fh3e4a5N"
Other than that, there are two functions
choose_greatest. But, only
choose_greatest is called.
decode_secret expects one
secret argument which can decode the
secret into plaintext. we have the function as well as the encrypted aka
secret text. Let’s pass it to the function and see what happens.
Add this at the end of the
crackme.py file -
And run the file using
python to print out the flag -
Here is the flag -