Skip to content

Commit 9f35452

Browse files
committed
Beef up the default values for precise alloc size and consistency
1 parent bb02dc4 commit 9f35452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/exploit/http/server.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,8 @@ def js_property_spray
829829
if (shellcode == undefined) { throw "Missing argument: shellcode"; }
830830
if (objId == undefined) { throw "Missing argument: objId"; }
831831
if (offset == undefined) { offset = 0x104; }
832-
if (heapBlockSize == undefined) { heapBlockSize = 0x40000; }
833-
if (maxAllocs == undefined) { maxAllocs = 0x250; }
832+
if (heapBlockSize == undefined) { heapBlockSize = 0x80000; }
833+
if (maxAllocs == undefined) { maxAllocs = 0x350; }
834834
if (browser == undefined) { browser = 'generic'; }
835835
836836
if (offset > 0x800) { throw "Bad alignment"; }

0 commit comments

Comments
 (0)