May 2018
Intermediate to advanced
492 pages
10h 54m
English
Metasploit provides an excellent utility for writing short assembly code using the NASM shell. We wrote a small assembly code in the previous section, \xeb\x0a, which denoted a short jump of 12 bytes. However, after eliminating the use of searching the internet or toggling through assembly op-codes, we can use the NASM shell to write assembly code with ease.
In the previous example, we had a simple assembly call, which was JMP SHORT 12. However, we did not know what op-codes match this instruction. Therefore, let's use the NASM shell and find out, as follows:

We can see in the preceding ...
Read now
Unlock full access