rapid7/metasploit-framework — pull request #1840 by alexmaloteaux (2013-05-16 20:17:48+00:00)
Title: msfvenom and exe-small fmt bug fix

1) prevent exe-small fmt from mangling the original payload
2) remove an unecessary call to EXE.to_executable_fmt in msfvenom