| Replaced the failure string Wrong key, better luck next time.\n (VA 0x140017318) with Correct\n by overwriting the .rdata string in-place. ImageBase was 0x140000000, so file offset = 0x17318. The new ASCII payload 436F72726563740A 00 was written and the remaining bytes padded with 00 to preserve surrounding data. No instruction rewriting was required, and the program prints correct as expected when run. Formally - its working and correct patch,but tbh i was just to lazy to patch properly
https://imgur.com/a/duJFRbt |
==> |