File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/msf/core/exploit/http Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -800,7 +800,7 @@ def js_base64
800
800
# The "sprayHeap" JavaScript function supports the following arguments:
801
801
# shellcode => The shellcode to spray in JavaScript. Note: Avoid null bytes.
802
802
# objId => Optional. The ID for a <div> HTML tag.
803
- # offset => Optional. Number of bytes to align the shellcode, default: 0x104
803
+ # offset => Optional. Number of bytes to align the shellcode, default: 0x00
804
804
# heapBlockSize => Optional. Allocation size, default: 0x80000
805
805
# maxAllocs => Optional. Number of allocation calls, default: 0x350
806
806
#
@@ -825,7 +825,7 @@ def js_property_spray
825
825
objId = oArg.objId;
826
826
827
827
if (shellcode == undefined) { throw "Missing argument: shellcode"; }
828
- if (offset == undefined) { offset = 0x104 ; }
828
+ if (offset == undefined) { offset = 0x00 ; }
829
829
if (heapBlockSize == undefined) { heapBlockSize = 0x80000; }
830
830
if (maxAllocs == undefined) { maxAllocs = 0x350; }
831
831
You can’t perform that action at this time.
0 commit comments