Impossible Password - Debugging

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?

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.

You know the first password, right?

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