unknown JS obfuscation tool
<p>I have seen many obfuscated codes, however, recently I came across this code: <a href="http://paste2.org/p/1380361" rel="nofollow">paste2.org</a>. The latter uses <code>arguments.callee.toString().replace(/[\s\'\"\)\}\]\[\;\.\{\(]/g, "").length;</code> to prevent programmer from simply replacing <code>eval()</code> with <code>document.write</code> or something similar. I was wondering how do I obfuscate the code this way myself? Is there any tool for that? (p.s. note that <code>arguments.callee.toString().repl[..]</code> is called two times) Going deeper. Even when you get trough this stage, the code is complete mess. Variable/function names are randomized, while the strings are complete mess and look something like this: <code>$(kj49f+4kd+fgdff+hgd25+fh2fg5+adb5)</code> which evaluates to simply <code>$('.wrapper .foo[name"bar"]')</code>. What was used to do that? I have recently came across <code>jscrambler.com</code> which is paid JS obfuscation service. I was wondering if it is the thing that was used to obfuscate the code.</p>
