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' =>
|
||||
{
|
||||
'ExitFunc' => 'process',
|
||||
'EXITFUNC' => 'process',
|
||||
'Space' => 2048,
|
||||
'DisableNops' => true,
|
||||
'BadChars' => " ",
|
||||
|
|
|
@ -56,7 +56,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
],
|
||||
'Payload' =>
|
||||
{
|
||||
'ExitFunc' => 'process',
|
||||
'EXITFUNC' => 'process',
|
||||
'Space' => 4000,
|
||||
'DisableNops' => true,
|
||||
'BadChars' => "\x09\x0a\x0d\x20",
|
||||
|
|
|
@ -268,7 +268,7 @@ start_main:
|
|||
push edx ;put 0 on stack (hWnd)
|
||||
call eax ;call MessageBoxA(hWnd,Text,Title,Style)
|
||||
|
||||
;ExitFunc
|
||||
;EXITFUNC
|
||||
#{doexit}
|
||||
EOS
|
||||
the_payload = Metasm::Shellcode.assemble(Metasm::Ia32.new, payload_data).encode_string
|
||||
|
|
Loading…
Reference in New Issue