Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

JavaScript Obfuscation Resources

Through my experience with JavaScript I have had to obfuscate some of my code and scripts as a means of preventing any leaks. I am sure many of you have valuable code as well that you would prefer to obfuscate before releasing.

Please note, there is a key difference between beautifying and obfuscating. When you beautify code you are not really hiding anything and it can still be easily reverse-engineered. With obfuscation you can be more confident that your script will not be leaked, but it is still not 100% guaranteed. The idea is that novice developers will not be able to crack the code ultimately preventing leaking. Additionally, anyone who is able to crack the code will have to spend a ton of time on it and their expertise could probably be used for other things. So in a sense your code becomes a lot more secure..

The following have been the most successful resources from my previous experience:
https://obfuscator.io/
https://www.npmjs.com/package/javascript-obfuscator

Another major tip is to compile your nodejs project into an EXE file. This will effectively bunch all your source files and code into a bunch of 1's and 0's creating a fairly secure file:
https://www.npmjs.com/package/pkg

The best part about obfuscating is that it is relatively simple to implement. Keep your sensitive code safe from leakers!
Discord: xpowerhf_42942
Email: [email protected]
Do you know or have any information about lua obfuscation?
There are some of online obfuscate site, which make your source code obfuscate, but it will also attach malware in to it.
So make sure use trust one.. just saying
There is also the very exotic jsfuck, it's pretty neat although it can be decoded if you know what Jsfuck is.

For example a simple
Code
console.log(blah);
becomes https://www.toptal.com/developers/hasteb...pukuzufeku

Can't use pastebin because it gets deleted automatically.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by aekhackSep 26, 2023 01:47 PM 2 143 Sep 26, 2023 01:47 PM
Last Post: aekhack
by BL4CK98Mar 17, 2022 11:34 AM 2 204 Mar 17, 2022 11:34 AM
Last Post: BL4CK98