Part 19 – Hacking Constants

For a complete table of contents of all the lessons please click below as it will give you a brief of each lesson in addition to the topics it will cover. https://github.com/mytechnotalent/Reverse-Engineering-Tutorial

Let’s review our original code.

Part 19 – Hacking Constants - 图1

Let’s hack!

Part 19 – Hacking Constants - 图2

As we can see the value in the memory address 0x10730 is equal to 2017. Let’s change that value in memory to 1981. Let’s continue and watch the value turn to 1981! Successful hack!

Let’s hack a second way! Re-start the program and set a breakpoint at main+28 and continue to the breakpoint.

Part 19 – Hacking Constants - 图3

Let’s continue and we see the value in r1 is 2017. Let’s change the value in r1 to 1981. We continue and see the program successfully hacked to 1981!

Part 19 – Hacking Constants - 图4

Next week we will dive into Character Variables.