How can this javascript code be decoded?

Discussion in 'JavaScript' started by tridentspk, Jul 19, 2011.

  1. #1
    I'm looking for a program, website, or individual who can decode this .JS file.

    NOTE: This is not the full source code. I just copied the beginning and end parts of it.

    The beginning of the code looks like this:

    eval((function($1){for(var K1="",a1=0,Z1=function($1,r1){for(var t1=0,D1=0;D1<r1;D1++)
    Code (markup):
    And the end of the code looks like this:

    var q1=eval(G1),A1=\"\";for (var x1=0;x1<F`!D#;x1+=q` a {if (x1==s1[J1]-1&&J`!P*J`  else ` I `!N\"At(x1)==Y1){A1=A1+Y1` ?#` *!`!p=x1`\"! }}}`!w A1);})();"));
    Code (markup):
    I would greatly appreciate any help on this.

    Let me know if you need anymore information.

    Thanks :)
     
    tridentspk, Jul 19, 2011 IP
  2. chinnodu

    chinnodu Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try http://jsbeautifier.org/ for unpacking and Beautifying the JavaScript code.
     
    chinnodu, Aug 2, 2011 IP
  3. bnfan

    bnfan Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes, jsbeautifier is a great tool to do what you want.
     
    bnfan, Aug 2, 2011 IP
  4. ayushi infotech

    ayushi infotech Peon

    Messages:
    1,814
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    great thanks chinnodu... it's very useful to see proper code
     
    ayushi infotech, Aug 2, 2011 IP