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()} Link to comment https://forums.phpfreaks.com/topic/119166-solved-is-this-dangerous/ 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 Link to comment https://forums.phpfreaks.com/topic/119166-solved-is-this-dangerous/#findComment-614694 Share on other sites More sharing options...
dezkit Posted August 14, 2008 Author Share Posted August 14, 2008 ................ bump ................ Link to comment https://forums.phpfreaks.com/topic/119166-solved-is-this-dangerous/#findComment-616180 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. Link to comment https://forums.phpfreaks.com/topic/119166-solved-is-this-dangerous/#findComment-616670 Share on other sites More sharing options...
dezkit Posted August 15, 2008 Author Share Posted August 15, 2008 thanks man Link to comment https://forums.phpfreaks.com/topic/119166-solved-is-this-dangerous/#findComment-617688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.