开发者

free javascript obfuscator? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years a开发者_JS百科go.

Improve this question

thanks for your attention and precious time.

Please mention some free javascrpt obfuscator software that can compress, obfuscates and encode javascript for protection. I serached but could found web based only and those which are free and desktop are not good. Please guide and help me.

thanks


Minification "compresses" code.

Packing "compresses" and "obfuscates" code.

The most popular packer I believe to be: http://dean.edwards.name/packer/

However Google Closure one of the highest rated minifiers can also do packing with additional options: http://code.google.com/closure/compiler/docs/api-tutorial3.html#enable


Obfuscation: Don't do it.

No matter how hard you try to obfuscate JS, it's easy to de-obfuscate it. There are many plugins available for this purpose. For example, there is Javascript Deobfuscator for Firefox.

Do minify though.

It will save you and your users some bandwidth, improve load times and everybody's happy.

Google Closure Compiler
MinifyJS
YUI Compressor
many more...


YUI Compressor is generally considered the best option for minifying JavaScript. But don't imagine anything will protect your code if anyone wants to steal it — that's a fool's errand and no professional will waste his time that way.


I would like to suggest another tool to minify / compress /obfuscate javascript: http://jscrambler.com

Currently it is web only but an API is coming that will allow for remote call.

I have found a list of known javascript obfucators here: http://www.malwareguru.org/mediawiki/index.php/Collection_of_tools_for_javascript_obfuscation_%28javascript_packers%29


Obfuscriptor is another free Javascript obfuscator.

EDIT: Dead link, this is now a NSFW website (http://www.obfuscriptor.com/)

Last Archive.org save: https://web.archive.org/web/20140202025012/http://www.obfuscriptor.com/

The obfuscated code really looks like garbage. Something like f/$873h3#"!=]f.

And for non trivially small files it provides the best compression rates I've seen.


Here's an easy web based one:

http://www.javascriptobfuscator.com/default.aspx

Also, remember that if an attacker is determined enough, they will be able to put together the original code, obfuscating just deters casual attackers and just makes it harder for the more experienced ones.


Obfuscators can be beautified quite easily. This TypeScript project is not a silver bullet by any means, but does make beautifying MUCH more difficult depending on the parameters used.

Strings are converted into hexadecimal and you will never be able to get your original code back so keep a safe copy.

Also, you can run a minifier before using this but do not run this and then use a minifier. Things will likely break.

Here is an online playground to get your feet wet.

If you don't want to use webpack, gulp, grunt - the online playground is also available for you to run locally credit to Tiago Serafim.

JavaScript Obfuscator Tool - Credit - Timofey Kachalov


Hey there is no such thing.

Javascript needs to be interpreted by the browser, and hence has to be readable by the browser... and thus cannot be obfuscated. The ones you find on google are as good as it gets. They can make the javascript slightly hard to read by hand, but on the other hand it's pretty easy to de-obfuscate them.

There is one option if you want to do something to protect your code. You can move your code to the serverside using a server side javascript solution, such as node.js. This will probably make your app overall more complicated but might be worth it if you are really serious about protecting your code.


The meaning of obfuscating is:
changing the code in a matter that the code will be less readable, but EXACT same functionality and logic!

A very good free obfuscator that I'm using usually, because it is:
1] free :)
2] one way obfuscating! some tools change your functions, by 'eval', which can easily show your ORGINAL code.
3] add random code inside for harder tracking.
4] and also, cleans line-breaks + empty spaces.

Full URL: http://freejsobfuscator.com/


I found an awesome obfuscator tool at here: http://javascript-obfuscator.org. The tool give me bunch of options which I can choose to protect my js source code. However, some of them would make a trade-off between code protection and code size / speed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜