Created
July 28, 2012 20:55
-
-
Save jcubic/3194755 to your computer and use it in GitHub Desktop.
Javascript obfuscation challange
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1Q(1m(1m("1Q(3B(p%3k%3g%1u%3c%3b)%39%1J(c)%1k(c%35%2V\'\'%2U(2T(c%2P)))%1h((c%2L%2K)%2J%2I.2H(c%2G)%2F.2E(36))%S%2D(!\'\'.1w(%1y%2C%1y%2A))%2y(c--)r%1F(c)%Q%2x%1c%Q%W%2v(c)%2t%2s%2r(e)%1k%2p%1F%Q%S%Q%2n%1J()%1k\'%1b%2j%1h\'%S%2i%2g%S%2f(c--)2e(k%1c%Q)p%2d.1w(2c%2b(\'%1b%1x\'%2a(c)%1h\'%1b%1x\'%19\'g\')%1u%1c%Q)%29%28%S(\'1L(13(13(13(%27%24%1l%23%f%J%u%l%A%2%7%0%22%0%n%0%w%0%1p%0%y%0%x%7%4%7%0%1t%0%w%0%16%0%n%0%21%0%20%0%1j%7%4%7%0%x%0%m%0%n%0%1j%7%4%7%0%y%0%M%0%8%j%0%M%0%11%0%n%0%m%0%1Z%0%1E%0%N%0%n%7%4%7%0%O%0%N%0%n%0%m%0%8%F%0%1p%0%n%0%w%0%y%7%4%7%0%x%0%y%0%y%0%s%0%8%z%0%10%0%10%0%T%0%14%0%1O%0%Y%0%14%0%1Y%0%Y%0%14%0%1X%0%14%0%Y%0%14%0%1W%0%1O%0%10%0%48%0%T%7%4%7%0%x%0%y%0%y%0%s%7%4%7%0%1U%0%m%0%1E%0%11%7%4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%4y%4z%4A%4B%4C%4D%4E%4F%4G%4H%4I%4J%4K%4L%4M%4N%4O%4P%4Q%4R%4S%4T%4U%4V%4W%4X%4Y%4Z%50%51%52%53%54%55%56%57%58%59%5a%5b%5c%5d%5e%5f%5g%5h%5i%5j%5k%5l%5m%5n%5o%5p%5q%5r%5s%5t%5u%5v%5w%5x%5y%5z%5A%5B%5C%5D%5E%5F%5G%5H%5I%5J%5K%5L%5M%5N%5O%5P%5Q%5R%5S%5T%5U%5V%5W%5X%5Y%5Z%60%61%62%63%64%65%66%67%68%69%6a%6b%6c%6d%6e%6f%6g%6h%6i%6j%6k%6l%6m%6n%6o%6p%6q\'.6r(\'%W\')%6s%19%6t%S))")));',62,402,'25250|25251|25253|25252|25254|25255|25256|25257|25259|25258||||||2525c||2525f|2525g|2525h||2525k|2525i|2525j|2525m||2525o||2525l|2525n|2525r|2525p|2525q|2525t|2525s|2525u|2525z|2525x|2525w|2525v|2525y|2525A|2525B|2525C|2525D|2525F|2525E|2525G|2525H|2525M|2525O|2525N|255D|2525I|257D|2525K|2525J|2525L|257C||2525R|2525P|2525S|2525U|2525T||2525Q|2525W|2525Y|2525V|252517|252C|252518|255C|255Bc|2525Z|252510|252511|252512|252B|252514|252516|257Breturn|252515|unescape|25251f|25251e|25251v|25251s|25251d|25251q|25251u|252Ck|25251t|replace|255Cb|252F|25251b|25251a|25251r|25251n|252519|25251c|255Be|25251m|25251l||253Dfunction|25251j||25251p|25251o|25251i|25251k|eval|25251g|25251h|257C25255Cx30|25251C||25251x|25252e|252529|25251Q|25251R|25251P|252527|252522|25251G|||25221E|2520p|253Breturn|252Be|2520RegExp|new|253Dp|if|253Bwhile|253D1|25252A|253Bc|255Cw|25251z|25251A|25251B|253Be|25251D|2520r|25251F|255Bfunction|253D|253Bk|25251w|257Ce||253Dk|257Bwhile|25252a|252CString|25252i|255E|253Bif|toString|253Ac|252B29|fromCharCode|253FString|253E35|2525a|253Dc|25251H|25251J|25251K|252Fa|25251M|25251N|25251O|parseInt|253Ae|253F|25251S|25251T|25251U|25251W|25251X|25251Y|25251Z|252520|252521|253Ca||252523|252524|257Be|252528|252Cr|252Ce|25252b|25252c|25252d|252Cc|25252f|25252g|25252h|252Ca|25252j|25252k|25252l|25252m|25252n|25252o|25252p|25252q|25252r|25252s|25252t|25252u|25252v|25252x|25252y|25252z|function|25252B|25252C|25252D|25252E|25252F|25252G|25252H|2522|253B|252C62|252C168|25255Cx5C|257C25255Cx7C|257C25255Cx5D|257C25255Cx5B|257C25255Cx2C|257C25255Cx78|257C25255D|257C25255Cx22|257C25255Cx65|257C25255Cx31|257C252522|257C25255Cx36|257C25255Cx66|257C25255Cx33|257C25255Cx6C|257C25255Cx69|257C25255Cx67|257C25255Cx6F|257C25255Cx3B|257C25255Cx37|257C25255Cx61|25251y|257C25255Cx72|257C25255Cx20|257C25255Cx68|257C25255Cx6E|257C25255Cx34|257C25255Cx28|257C25255Cx74|257C25252C|257C25255Cx29|257C25255Cx3D|257C25255Cx32|257C25255Cx35|257C25252C_0x3ac2|257C25257D|257C25255Cx64|257C25255Cx6A|257C25255Cx63|257C25255Cx75|257C25255Cx77|257C25255Cx7D|257C25255Cx46|257C25255Cx62|257C25255Cx6D|257C25255Cx7B|257C25255Cx43|257C25255Cx39|257C25255Cx6B|257C25255Cx73|257C25255Cx70|257C25255Cx38|257C25255Cx76|257C25255B_0xf615|257C25255Cx41|257C_0xf615|257C25255Cx45|257C25255Bd|257C25255B4|257C25255B6|257C25255B8|257Cunescape|257C25257Breturn|257C25253D|257C25255Cx71|257C25255Cx5F|257C25255Cx2B|257C25255Cx42|257C252520_0xf615|257C25255B0|257C25255Cx44|257C25255B1|257C25255B2|257C25255B3|257C25255Cx49|257C25255B5|257C25255Cx7A|257C25255B7|257C25255Cx4A|257C25255B9|257C25252Ce|257C25253Dfunction|257C25255Cx4B|257C25255Cx4C|257C25255Cx3C|257C25252C_0xf615|257C25255Cx47|257C25252F|257C25255Cx79|257C25255Cx48|257C25255Cx50|257C25255Cx55|257C25255Cx57|257C25255Cx21|257C25255Cx2D|257C25255Cx56|257C25255Cx59|257C25255Cx58|257Cvar|257C25255Cx5A|257C252520_0x3ac2|257C25253Beval|257Cfunction|257C25252Cc|257C25252Cd|257Ceval|257C25252Cf|257C25252Cg|257C25257Bf|257C25255Cx51|257C25255Cx4E|257C25255Cx4D|257C25253Cc|257C25253F_0xf615|257C25253Af|257CparseInt|257C25252Fc|257C25252B|257C25253Da|257C252525c|257C25253E35|257C25253FString|257C25255B|257C25252B29|257C25253Aa|257CtoString|257C36|257C25255Cx4F|257C25253Bif|257C25255Cx52|257C25253Bvar|257C25255E|257C25252CString|257C25257Bwhile|257C25255Cx53|257C25257Bg|257C25255Bf|257C25253De|257C25255B_0x3ac2|257C25257C|257C25257Cf|257C25253Be|257C25255Bfunction|257C252520g|257C25255Ba|257C25253Bf|257C25253Bd|257C25253D1|257C25253Bwhile|257C25257Bif|257C25257Bb|257C25253Db|257Cnew|257C252520RegExp|257C25252Bf|257C25252B_0xf615|257C25255Cx54|257C25253Breturn|257C252520b|257C25252C62|257C25252C68|257C25252C0|257C25257B|257C25253B|split|252C0|257B'.split('|'),0,{})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why I don't seen this before, just dean edwords packer applyied 3 times:
if you remove eval:
you can see what this code do if you replace
return b
withconsole.log(b);
it show thisyou can see what it does if you change this
locate(a,b){if(b){location[_0x93d3[2]]=a}
tolocate(a,b){if(b){console.log('location["' + _0x93d3[2] +'"]="'+a+'"');}
and this show just a link #LOL