Skip to content

Commit

Permalink
See #362 by changing the exitfunc arguments to be the correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
HD Moore committed May 7, 2012
1 parent f6c8837 commit 1a30e22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/exploits/multi/browser/opera_configoverwrite.rb
Expand Up @@ -50,7 +50,7 @@ def initialize(info = {})
],
'Payload' =>
{
'ExitFunc' => 'process',
'EXITFUNC' => 'process',
'Space' => 2048,
'DisableNops' => true,
'BadChars' => " ",
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/multi/browser/opera_historysearch.rb
Expand Up @@ -56,7 +56,7 @@ def initialize(info = {})
],
'Payload' =>
{
'ExitFunc' => 'process',
'EXITFUNC' => 'process',
'Space' => 4000,
'DisableNops' => true,
'BadChars' => "\x09\x0a\x0d\x20",
Expand Down
2 changes: 1 addition & 1 deletion modules/payloads/singles/windows/messagebox.rb
Expand Up @@ -268,7 +268,7 @@ def generate
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
Expand Down

0 comments on commit 1a30e22

Please sign in to comment.