复杂的js混淆器
我需要一个复杂的 js 混淆器,这样 js 文件就不容易用 http://jsbeautifier 这样的公共工具来逆向。组织/
I need a complex js obfuscator so that the js file won't be easy to reverse with a public tool like http://jsbeautifier.org/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
如果您使用 JavaScript 库,请考虑使用 Dojo Toolkit,它与 Closure Compiler 的高级模式编译兼容(经过少量修改)。
http://dojo-toolkit.33424 .n3.nabble.com/file/n2636749/Using_the_Dojo_Toolkit_with_the_Closure_Compiler.pdf?by-user=t
使用 Closure Advanced 模式编译的代码几乎不可能进行逆向工程,即使通过美化器也是如此。代码库(包括库)被混淆了。平均也小 25%。
仅仅缩小的 JavaScript 代码(YUI Compressor、Uglify 等)在经过美化器后很容易进行逆向工程。
If you use a JavaScript library, consider Dojo Toolkit which is compatible (after minor modifications) with the Closure Compiler's Advanced mode compilation.
http://dojo-toolkit.33424.n3.nabble.com/file/n2636749/Using_the_Dojo_Toolkit_with_the_Closure_Compiler.pdf?by-user=t
Code compiled with Closure Advanced mode is almost impossible to reverse-engineer, even passing through a beautifier, as the entire code base (includinhg the library) is obfuscated. It is also 25% small on average.
JavaScript code that is merely minified (YUI Compressor, Uglify etc.) is easy to reverse-engineer after passing through a beautifier.
谷歌闭包编译器。
http://code.google.com/closure/compiler/
我在高级中使用它。阅读有关导出公共方法等的文档。
http://code.google.com/closure/compiler/docs/ api-tutorial3.html
太棒了。
Google Closure Compiler.
http://code.google.com/closure/compiler/
I use it on advanced. Read the docs about exporting public methods etc.
http://code.google.com/closure/compiler/docs/api-tutorial3.html
It rocks.
您可以尝试 jscrambler.com。这是我所知道的唯一可以帮助你的人。 检查它的作用。
You may try jscrambler.com. It's the only one I know that could help you. Check what it does.
当您使用 Dean Edward 的加壳器时,您可以缩小变量名称。虽然这个可以被逆转,但它确实会给你留下相当不可读的代码,因为变量不容易识别。
http://dean.edwards.name/packer/
You can shrink variable names when you use Dean Edward's packer. While this can be reversed, it does leave you with pretty unreadable code as the variables aren't easily identifiable.
http://dean.edwards.name/packer/
使用 Packer algo http://dean.edwards.name/packer/
检查选项“Base62”编码”和“收缩变量”。这会将代码混淆到一定程度,但正如 @musicfreak 所说,任何有决心的人仍然可以辨认出代码。
Use Packer algo http://dean.edwards.name/packer/
do check the options 'Base62 encode' and 'shrink variables'. This will obfuscate the code to a certain limit but still, as @musicfreak said, anyone who is determined can still make out the code.