Wide: Hack The Box — Writeup: Reverse Engineering
Wide: Hack The Box

Upon execution of the file, alongside the db.ex file as its parameter, the prompt asks us to select an option.
Clearly the last option is interesting because it has the word “admin” and “secret” in it.

Open up Ghidra, and the strings are in clear sight so you can navigate quite easily.

I also happened to stumble a function called “menu”. I checked there, and I found where the input is being compared.

There. Sudah terang lagi bersuluh, the decryption key. So just insert them back in the main program.

Sincerely,