Cyber Security Lab

Magic Calculator

You stumble upon a small program called magic_calc. It claims to be a “calculator for secret operations,” but if you enter the wrong number, it refuses to work. Rumor has it that entering the right number unlocks a hidden message. Can you figure out the secret number to retrieve the flag?

Flag Format: BUBT-CTF{***}
Click Here To Download... (92 downloads )
Hints:

The program performs a simple arithmetic check.

Reverse the math to compute the correct number.

Tools like Ghidra, IDA Free, or just pen & paper can help.

Enter your flag

Please enter the correct flag below. Make sure there are no extra spaces!

Flags are checked regardless of capitalisation: IWin is the same as iwin.