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 introduction to msfpayload
and move ahead with our recipe to practically implement it.
msfpayload
is a command-line instance of Metasploit that is used to generate various file types of shellcodes available in the Metasploit repository. The various...