Part 22 – Hacking Character Variables

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 code.

Part 22 – Hacking Character Variables - 图1

Let’s hack!

Part 22 – Hacking Character Variables - 图2

We again see the direct value of 0x6e moved into r3 at main+12 which is our ‘n’.

Part 22 – Hacking Character Variables - 图3

After stepping into 4 times and verify the value in r3 which we clearly see as ‘n’.

Part 22 – Hacking Character Variables - 图4

Let’s hack the value in r3 to a ‘y’ and then reexamine the value in r3. We can now clearly see it has been changed to ‘y’.

Part 22 – Hacking Character Variables - 图5

As we continue we successfully see our hack worked! We see the value of ‘y’ printing to the standard output.

Next week we will dive into Boolean Variables.