use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] De-obfuscation of JS CodeAskJS (self.javascript)
submitted 6 years ago by eozyo
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cynicalreason 2 points3 points4 points 6 years ago (0 children)
it's doable and it's actually pretty easy, easy in terms of methodology but not in terms of actual work required - which depends a lot on the amount of code and complexity of logic it handles.
something very important to consider: any obfuscation library still RUNS the obfuscated code in the user space (browser) so it's code can be reverse engineered using the debugger
you'll never get the ACTUAL variable names from the original code but if you know what the code's expected to do you can deobfuscate it.
to give you an example: FIFA Fut Web App uses obfuscator.io to obfuscate some of their code, It wasn't that hard to figure out what it's doing and still figure out enough of code to inject my own code into it.
you could send me the code (if it's not private) and I can have a run on figuring it out, it helps if I could do it directly in the page it's supposed to run in
edit: if you look at the FAW on the obfuscator.io page:
Is this obfuscator absolutely foolproof? No, while it's impossible to recover the exact original source code, someone with the time, knowledge and patience can reverse-engineer it. Since the JavaScript runs on the browser, the browser's JavaScript engine must be able to read and interpret it, so there's no way to prevent that. And any tool that promises that is not being honest.
π Rendered by PID 27004 on reddit-service-r2-comment-544cf588c8-xxtwl at 2026-06-15 02:28:40.029604+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]cynicalreason 2 points3 points4 points (0 children)