Automatic shellcode generator FOR METASPLOIT
Source by Astr0baby
http://pastebin.com/PDJdHbRz

Edit by Vanish3r
http://pastebin.com/7xmvGnks
In order to be able to compile the generated payload we must install the following packages ; Mingw32 gcc which you can install by :
root@bt:~# apt-get install mingw32-runtime mingw-w64 mingw gcc-mingw32 mingw32-binutils

After the installation we must move our shell-script - Vanish.sh - to default Metasploit folder (/pentest/exploits/framework) and execute it. Recommended Seed Number = 7000 and Number of Encode = 14 .