Skip to content

Commit 4edceea

Browse files
committed
Land rapid7#1919, update js_property_spray documentation
2 parents 2a6225c + 8e2de6d commit 4edceea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,9 @@ def js_mstime_malloc
924924
#
925925
# This heap spray technique takes advantage of MSHTML's SetStringProperty (or SetProperty)
926926
# function to trigger allocations by ntdll!RtlAllocateHeap. It is based on Corelan's
927-
# publication on "DEPS – Precise Heap Spray on Firefox and IE10".
927+
# publication on "DEPS – Precise Heap Spray on Firefox and IE10". In IE, the shellcode
928+
# should land at address 0x0c0d2020, as this is the most consistent location across
929+
# various versions.
928930
#
929931
# The "sprayHeap" JavaScript function supports the following arguments:
930932
# shellcode => The shellcode to spray in JavaScript. Note: Avoid null bytes.

0 commit comments

Comments
 (0)