Nogard 3



Solution

Open the file using Ghidra and check the main function.

Notice that at line 16–17 checks the input we enter before giving us the flag. Here, we must count the value of the variables local_20, local_1c, local_18, and local_14 before input to the program based on these condition :

local20 = 0x133
local20 + local14 * 3 = 0xad8
local1c * local18 * 3 = 0x132b340
local18 * 0x123 + local14 = 0xf01ea

Input the value in sequence and you will get the flag


Flag

SKR{XXXXXXXXXXXXXXX}

Last updated