BM03 - 250pts
Briefing
Download the file and find a way to get the flag. Contents: flag
Challenge Files:
Solution
Decompiling the binary shows an
output()
function and a line inoutput()
that stops printing the flag if therows
argument is less than6
.output
function:Launch the program in GDB then do the following:
Breakpoint at
output
:b output
Call
output
but will therows
argument set to6
:call output(6,0x55)
Continue past the breakpoint:
c
The flag is printed:
Flag
debugging_ftw
Last updated