Phase 1
Give execute permission to the file sheldon1 and then we test our inputs using debugger. Using GDB debugger we can open sheldon1.
We need to check the available function. Then we can check the main function.
When the program runs we can enter the pass phrase and grant access to the next phase. The program calls the relevant phase function upon the correct phase phrase.
Then check the phase_1 function.
We have a fixed address pushed to the memory and then we got a TEST instruction. $0x80497c0 In that memory address we can print out the first 30 characters.
Then we can use gdb to run the program to get the string and therefore we can test this is the right phrase.
>> GitHub Link










Comments
Post a Comment