See #362 by changing the exitfunc arguments to be the correct type
This commit is contained in:
parent
f6c88377f4
commit
1a30e221a0
|
@ -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' => " ",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue