Revmeplx
REV | 100 pts - 201 solves
Description: What could possibly be hidden inside a diving logbook? author: Skipper|RedRocket
Running the elf, it asks us for the name of a diver:
Not knowing them we can launch strings
on the executable and see what we can find:
The flag appears to be there, but it won't work if we try to submit it. however, we also find names of the divers. Opening the executable in Ghidra we immediately notice that it's a cpp executable. The main()
function, looks a bit confusing but we notice that there's a call to an interesting door_lock()
function following an if statement. After a couple of attempts we discover that the diver triggering that function is Jeremy
. Looking more closely at the door_lock()
function, we know that it takes param_1
as input and does the following check:
Right-shifting a number of n
bits also means that it's being divided by 2 to the power of n
.
Or
Will get us the magic number.
CSR{11_submarines_45864441_solved_n1c3!
Last updated