dezkit Posted August 11, 2008 Share Posted August 11, 2008 can somebody tell me what does this script do? DO NOT ACTUALLY COPY AND PASTE THE CODE INTO YOUR BROWSER javascript:with(post){b=document.body.innerHTML; if(a=b.match(/res\/[0-9]+/g)) innerHTML+="\x3cinput name=resto value="+a[0].substring(4)+"\x3e"; c=document.getElementsByTagName("blockquote"); com.value=c[Math.floor(Math.random()*c.length)] .innerHTML.match(/[\x0a\x0d\x20-\x7e]+/g)[0] .replace(/\x3cbr.?\x3e/gi,"\n") .replace(/\x3c.*\x3e/g,"") +(b.match(/\xad.*?\x7d/g)[0] .replace(/\x3cbr.?\x3e/gi,"\n"))Z;submit()} Quote Link to comment Share on other sites More sharing options...
dezkit Posted August 12, 2008 Author Share Posted August 12, 2008 holy crap, i get so many replies Quote Link to comment Share on other sites More sharing options...
dezkit Posted August 14, 2008 Author Share Posted August 14, 2008 ................ bump ................ Quote Link to comment Share on other sites More sharing options...
lemmin Posted August 14, 2008 Share Posted August 14, 2008 It looks like it cleans html out of an input to be submitted; like a forum post time of thing. It doesn't look dangerous to me. Quote Link to comment Share on other sites More sharing options...
dezkit Posted August 15, 2008 Author Share Posted August 15, 2008 thanks man Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.