help..someone know this JavaScript>evil code or wat?

Discussion in 'JavaScript' started by webdok, Aug 2, 2010.

  1. #1
    this original write in -->JavaScript>eval(unescape('%66%75%6E%63%74%69%6F%6E%20%63%28%78%29%7B%76%61%72%20%6C%3D%78%2E%6C%65%6E%67%74%68%2C%62%3D%31%30%32%34%2C%69%2C%6A%2C%72%2C%70%3D%30%2C%73%3D%30%2C%77%3D%30%2C%74%3D%41%72%72%61%79%28{$tbl}%29%3B%66%6F%72%28%6A%3D%4D%61%74%68%2E%63%65%69%6C%28%6C%2F%62%29%3B%6A%3E%30%3B%6A%2D%2D%29%7B%72%3D%27%27%3B%66%6F%72%28%69%3D%4D%61%74%68%2E%6D%69%6E%28%6C%2C%62%29%3B%69%3E%30%3B%69%2D%2D%2C%6C%2D%2D%29%7B%77%7C%3D%28%74%5B%78%2E%63%68%61%72%43%6F%64%65%41%74%28%70%2B%2B%29%2D{$i_min}%5D%29%3C%3C%73%3B%69%66%28%73%29%7B%72%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28{$xor}%5E%77%26%32%35%35%29%3B%77%3E%3E%3D%38%3B%73%2D%3D%32%7D%65%6C%73%65%7B%73%3D%36%7D%7D%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%72%29%7D%7D%63%28%22{$enc}%22%29%3B%64%3D%64%6F%63%75%6D%65%6E%74%3B%69%66%28%64%2E%6C%61%79%65%72%73%29%7B%64%2E%63%61%70%74%75%72%65%45%76%65%6E%74%73%28%45%76%65%6E%74%2E%4D%4F%55%53%45%44%4F%57%4E%29%3B%64%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%66%75%6E%63%74%69%6F%6E%28%65%29%7B%69%66%28%65%2E%77%68%69%63%68%3D%3D%32%7C%7C%65%2E%77%68%69%63%68%3D%3D%33%29%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%3B%7D%65%6C%73%65%20%69%66%28%64%2E%61%6C%6C%26%26%21%64%2E%67%65%74%45%6C%65%6D%65%6E%74%42%79%49%64%29%7B%64%2E%6F%6E%6D%6F%75%73%65%64%6F%77%6E%3D%66%75%6E%63%74%69%6F%6E%28%29%7B%69%66%28%65%76%65%6E%74%2E%62%75%74%74%6F%6E%3D%3D%32%29%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%3B%7D%64%2E%6F%6E%63%6F%6E%74%65%78%74%6D%65%6E%75%3D%66%75%6E%63%74%69%6F%6E%28%29%7B%72%65%74%75%72%6E%20%66%61%6C%73%65%7D%3B'))</script>
    ---------------------------------------------------------------------------
    this is wat i got after encoder-->function c(x){var l=x.length,b=1024,i,j,r,p=0,s=0,w=0,t=Array({$tbl});for(j=Math.ceil(l/b);j>0;j--){r='';for(i=Math.min(l,b);i>0;i--,l--){w|=(t[x.charCodeAt(p++)-{$i_min}])<<s;if(s){r+=String.fromCharCode({$xor}^w&255);w>>=8;s-=2}else{s=6}}document.write(r)}}c("{$enc}");d=document;if(d.layers){d.captureEvents(Event.MOUSEDOWN);d.onmousedown=function(e){if(e.which==2||e.which==3)return false};}else if(d.all&&!d.getElementById){d.onmousedown=function(){if(event.button==2)return false};}d.oncontextmenu=function(){return false};
    ----------------------------------------------------------------------------
    my question is are this code is evil code?did it safe if this code in my website
    this is my php script project with some guy from indonesia
     
    webdok, Aug 2, 2010 IP
  2. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #2
    It looks safe.. I think. If in doubt, just comment it out.
     
    Rainulf, Aug 2, 2010 IP
  3. webdok

    webdok Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok..tq very much
     
    webdok, Aug 7, 2010 IP
  4. caciocode

    caciocode Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Why don't you try it on your local server before using it on your website. I can't see anything wrong with it.
     
    caciocode, Aug 8, 2010 IP
  5. keith115

    keith115 Active Member

    Messages:
    212
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    What are you using or WYSIWYG on some programs/scripts can add and/or mess around with some java and codes every time you save normally in noscript area of code.
     
    keith115, Aug 8, 2010 IP