metasploit-framework/modules/payloads/singles
sinn3r 2c0c732967 Fix #4414 & #4415 - exitfunc and proper null-terminated string
This patch fixes the following for messagebox.rb

Issue 1 (#4415)
When exitfunc is none, the payload will not be able to generate
due to an "invalid opcode" error.

Issue 2: (#4414)
After "user32.dll" is pushed onto the stack for the LoadLibrary
call, the payload does not actually ensure bl is a null byte, it
just assumes it is and uses it to modify the stack to get a
null-terminated string.

Fix #4414
Fix #4415
2014-12-19 03:19:06 -06:00
..
aix/ppc Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
bsd Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
bsdi/x86 Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
cmd Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
firefox Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
generic Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
java Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
linux rename SHELLARG to ARGV0 because that's really what it is 2014-11-19 22:14:24 +01:00
nodejs Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
osx Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
php Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
python Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
ruby Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
solaris Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
tty/unix Fix up comment splats with the correct URI 2014-10-17 11:47:33 -05:00
windows Fix #4414 & #4415 - exitfunc and proper null-terminated string 2014-12-19 03:19:06 -06:00