rapid7/metasploit-framework — pull request #3540 by us3r777 (2014-07-17 15:22:56+00:00)
Title: Added possibility to upload a custom WAR file

Added 2 options, one for uploading a custom WAR file. The other
to specify if you want or not to undeploy the war at the end of
the exploit.
The module as is does not allow to deploy a custom WAR file. It is
convenient when ports are blocked to be able to deploy a webshell
instead of just launching a payload.