See #362 by changing the exitfunc arguments to be the correct type

This commit is contained in:
HD Moore 2012-05-07 02:42:29 -05:00
parent f6c88377f4
commit 1a30e221a0
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ class Metasploit3 < Msf::Exploit::Remote
], ],
'Payload' => 'Payload' =>
{ {
'ExitFunc' => 'process', 'EXITFUNC' => 'process',
'Space' => 2048, 'Space' => 2048,
'DisableNops' => true, 'DisableNops' => true,
'BadChars' => " ", 'BadChars' => " ",

View File

@ -56,7 +56,7 @@ class Metasploit3 < Msf::Exploit::Remote
], ],
'Payload' => 'Payload' =>
{ {
'ExitFunc' => 'process', 'EXITFUNC' => 'process',
'Space' => 4000, 'Space' => 4000,
'DisableNops' => true, 'DisableNops' => true,
'BadChars' => "\x09\x0a\x0d\x20", 'BadChars' => "\x09\x0a\x0d\x20",

View File

@ -268,7 +268,7 @@ start_main:
push edx ;put 0 on stack (hWnd) push edx ;put 0 on stack (hWnd)
call eax ;call MessageBoxA(hWnd,Text,Title,Style) call eax ;call MessageBoxA(hWnd,Text,Title,Style)
;ExitFunc ;EXITFUNC
#{doexit} #{doexit}
EOS EOS
the_payload = Metasm::Shellcode.assemble(Metasm::Ia32.new, payload_data).encode_string the_payload = Metasm::Shellcode.assemble(Metasm::Ia32.new, payload_data).encode_string