Windows and assembly

In this section, we will learn about assembly language. Our objective is to take C code, translate it to an assembly language, and take a look at what happens.

The following is the sample C code that we will be loading and using in order to learn about assembly language:

We will run this piece of code in the immunity debugger, compiling it to a file called Bufferoverflow.exe. Let's start by opening it with the immunity debugger:

Note that at the top right, we have a Registers section. The first register, EAX, is the accumulator. ...

Get Hands-On Penetration Testing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.