I don't see any place to upload solution so I post it here :D
After using gdb to disassemble the program, the function to verify the password is _start.l1
It takes the (length_password)th value of name + 5 and compares it with the last value of password
Ex: name: 1000000000, pass : 6, so the process will take the first value of name (length of pass = 1), it's 1, sum with 5 = 6 and the last value of pass is 6. They are equal so we break the program :D |
==> |