Impossible Password - Debugging

edited October 15 in Challenges

I see the flow of this program and understand what I need to do in order to "cheat the program." However, when I set a breakpoint on strcmp within GDB, why is it hit 144 times before I give it the first input?

Comments

  • I used EDB in Kali. Not sure what you are referring to, but just set your breakpoints on all of the calls. A pattern will appear, then just modify once you have the generated "key". I editited stack directly and it worked.

    Please give respect if I have helped:
    https://www.hackthebox.eu/home/users/profile/121891

  • You know the first password, right?

    There's another strcmp call, right before a jnz instruction.

Sign In to comment.