rapid7/metasploit-framework — pull request #663 by h0ng10 (2012-08-02 21:43:10+00:00)
Title: JBOSS exploits update (meterpretify jboss_deploymentfilerepository)

This is an other cleanup for the JBOSS module, mainly smaller cleanups
and corrections for my last commit.

I also updated the jboss_deploymentfilerepository module so that it now deploys
additional payloads like meterpreter (java/linux/windows)

This is done by placing the payload as a base64 encoded string in the "stager"
war, which then deploys the final payload as a second war file on the target.
Both (stager and payload) are removed after exploitation.

The updated module was tested against JBOSS 4.0.5 running on Linux (Ubuntu 10.04)
and Windows 2003.

Sorry, for the bad commit style (I know I should have done this in separate commits...)
If you have any questions, please let me know.