rapid7/metasploit-framework — pull request #593 by h0ng10 (2012-07-10 19:56:37+00:00)
Title: additional targets, meterpreter, bugfixes

This is a cleanup for the existing JBOSS modules, containing following improvements:

### First character bug
If the first character is a number, it will be ignored when JBOSS deploys a WAR file.
For example, if you choose "8ball" as APPBASE, JBOSS will deploy an "ball" application,
causing the exploit to fail.

### jboss_bshdeployer
Payload is now directly deployed as a WAR file. Additional targets (Java,Linux,Windows) were
added, making it possible to use meterpreter directly.

### jboss_maindeployer
Additional changes, making it possible to use the java meterpreter

All modules were tested against JBOSS 4.0.5 running on Windows 2003/Ubuntu 11.04
If you have any questions/comments please let me know