cantthinkofanic
02-06-2009, 02:16 PM
I have a js file that looks like this:
//MooTools, My Object Oriented Javascript Tools. Copyright (c) 2006 Valerio Proietti, <http://mad4milk.net>, MIT Style License.
eval(function(A,G){return A.replace(/(\w+)/g,function(a,b){return G[parseInt(b,36)]})}("0 1=2(3){0 4=2(){5 (0 6 7 8){9 (8[6]) 8[6].a=8;}\n9 (b[c]....
and ends like this:
...llTop,pageYOffset,getScrollLeft,scrollLeft,pageXOffset,onDomReady,init,state,readyState,childNode s,all,navigator,taintEnabled,loaded,complete,script,_ie_ready_,write,id,defer,src,readystatechange,m yInit,callee,done,load,DOMContentLoaded".split(",")));
I want to get at the js to modify the behaviour and what it puts into the page. Is this code coded in some way?
What are my options for decoding it? (I have tried one deobfuscation tool which just repeated it back to me as is!
The file is called mootools.js and is the only file apart from slimbox.js which is a js file.
//MooTools, My Object Oriented Javascript Tools. Copyright (c) 2006 Valerio Proietti, <http://mad4milk.net>, MIT Style License.
eval(function(A,G){return A.replace(/(\w+)/g,function(a,b){return G[parseInt(b,36)]})}("0 1=2(3){0 4=2(){5 (0 6 7 8){9 (8[6]) 8[6].a=8;}\n9 (b[c]....
and ends like this:
...llTop,pageYOffset,getScrollLeft,scrollLeft,pageXOffset,onDomReady,init,state,readyState,childNode s,all,navigator,taintEnabled,loaded,complete,script,_ie_ready_,write,id,defer,src,readystatechange,m yInit,callee,done,load,DOMContentLoaded".split(",")));
I want to get at the js to modify the behaviour and what it puts into the page. Is this code coded in some way?
What are my options for decoding it? (I have tried one deobfuscation tool which just repeated it back to me as is!
The file is called mootools.js and is the only file apart from slimbox.js which is a js file.