rapid7/metasploit-framework — pull request #2427 by todb-r7 (2013-09-26 22:20:48+00:00)
Title: Fix Msf::Exploit::EXE payload generation

This is in reference to http://dev.metasploit.com/redmine/issues/8367

@Meatballs1, can you put together some practical validation steps? I'm having trouble reproducing the problem with psexec, so I'm not 100% certain that this actually addresses. I do have a spec, though, for the code areas you indicated in your RM bug.