
Since there are many obfuscation methods, deobfuscation methods and tools are also many and they have different capabilities and varying degrees of effectiveness.ĭeobfuscation is needed both in the analysis of malicious code and in the study of the target site to understand the logic of its operation and search for vulnerabilities. What is deobfuscation? Deobfuscation is the reverse process of obfuscation, that is, the translation of code from a hard-to-read form into an understandable one or reverting it to its original form. Obfuscation is used by both legitimate users who want to protect their ideas and their code from theft, and hackers to make it difficult to analyze their methods and programs. But there are really amazing examples of obfuscation, for example, JSFuck can display any JavaScript code with just the following six characters ()!+įor example, the following code is workable JavaScript code: Often during obfuscation, the code turns into a meaningless set of functions and lines that cannot be understood, but which ultimately do exactly the same thing as the source code. As a side effect, this code is really hard to figure out. This is called code minify and is used not only to obfuscate but to speed up script downloads. Obfuscation is especially relevant for JavaScript, because, unlike, for example, PHP that runs on the webserver, JavaScript is loaded into the browser and each user can have access to scripts. That is, it is JavaScript, PHP, obfuscation can be used for HTML (although it is a markup language, not a programming language), CSS and others, programs on which do not compile, but run in plain text.

Obfuscation is used for source code in interpreted (rather than compiled) programming languages. Obfuscation is source code modification as a result it becomes difficult to read and understand, but so that its functionality does not change. Most of the developers search for this issue and they don't find any medium to decode or deobfuscate JavaScript code.


Today everyone wants to protect his work by any means and to protect JavaScript codes most of the developers obfuscate the code or encode the code which makes it harder for other developers to understand the code and reuse it.
