Home: Perl Programming Help: Beginner:
Perl for javascript deobfuscation

New User

May 4, 2016, 3:21 PM

Views: 1489
Perl for javascript deobfuscation

Hello friends,

I have a javascript code and this .js is crypted with a a very strange algorithm.

Then I want any help for try decrypt this script, he contains some functions that I'm needing for implement in a another project.

I had discovered that site used for ofuscate was https://javascriptobfuscator.com/javascript-Obfuscator.aspx

Here is original code: http://pastebin.com/KRQWffhr

obfuscated and I had used this site http://javascriptbeautifier.com/

and he made half of deobfuscation and this is final result:


Any help will welcome.

Veteran / Moderator

May 5, 2016, 4:08 AM

Views: 1482
Re: [flashcoder] Perl for javascript deobfuscation

I do not think it is possible to do something much better than what you have done with the code prettyfier you used in an automatized way.

What the obfuscator does is essentially to replace sensible identifier names with incomprehensible ones. Once the original name has been replaced, there is no way to get the original name back from the obfuscated version.

I am afraid the only solution is to manually study the code in order to figure out what each variable or function is representing or doing, and to put back some sensible names.