CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



flashcoder
New User

May 4, 2016, 3:21 PM

Post #1 of 2 (1048 views)
Perl for javascript deobfuscation Can't Post

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:

http://pastebin.com/Laipv8ND

Any help will welcome.


Laurent_R
Veteran / Moderator

May 5, 2016, 4:08 AM

Post #2 of 2 (1041 views)
Re: [flashcoder] Perl for javascript deobfuscation [In reply to] Can't Post

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.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives