The script will use msfvenom (metasploit) to generate shellcode in diferent formats ( c | python | ruby | dll | msi | hta-psh ), injects the shellcode generated into one funtion (example: python) "the python funtion will execute the shellcode in ram" and uses compilers like: gcc (gnu cross compiler) or mingw32 or pyinstaller to build the executable file, also starts a multi-handler to recibe the remote connection (reverse shell or meterpreter session).
--
'shellcode generator' tool...
Tina4PHP - (This Is Not Another Framework 4 PHP) - A RAD Browser based Development tool with the Cross Database Engine for PHP as its foundation. Manage multiple developers and source on the same web driven application development tool.
CVSweb-PHP offers a web interface access to a CVS repository. CVSweb-PHP was created for cases where a project still using CVS has no means of installing a CGI script on its web server, but where running a PHPscript is an option.