rapid7/metasploit-framework — pull request #2794 by Meatballs1 (2013-12-22 21:05:54+00:00)
Title: Fixes .war file creation

Msfvenom was creating invalid executables for War file creation.
The jsp template file used Runtime.getRuntime() which causes the execution to fail in windows where the path includes a space character. This is due to security updates in Java 7u21 (thanks @shierlm)

[FixRM #8717]
[FixRM #8724]

```
[*] Meterpreter session 2 opened (192.168.1.22:4444 -> 192.168.1.117:63345) at 2013-12-22 21:05:16 +0000

meterpreter > pwd
C:\Users\Ben\Desktop\New folder\apache-tomcat-8.0.0-RC5\bin
```