Generating binary and shellcode from msfpayload

So far, we have discussed many techniques that can be used for penetrating the target machine using the client-side attacks. All those techniques involved exploiting vulnerability in the various pieces of application software that run on the client machine. But, there can be a scenario when the previously discussed techniques may not work. These attacks leave us to the mercy of the vulnerable application software which we will have to exploit in order to gain access.

Metasploit provides us with another feature in which we can execute a client-side attack without worrying about exploiting the application software running on the target machine. msfpayload is the solution for it. Let us give a quick ...

Get Metasploit Penetration Testing Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.