-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simply crack JSFuck, is there a better encryption? #99
Comments
Maybe @aemkei proves me wrong, but as far as I know, jsfuck is not about XSS payloads and obfuscations. It's about recreational programming, limits, and creativity: can you write arbitrary functional JavaScript code using only 6 characters? If yes, what's the shortest way to do it? Or could it be done with 5 charaters? Though the golfed code is often looks almost unreadable, the obfuscation in sake of obfuscation is not a goal. |
@subzey I think JSF is mainly to show that you can write executable cody using only 6 chars (which is actually not trivial and surprising). However here #70 was my old proposition of compression such code (because I think there is a lot of places where many kinds of size-optimisation can be introduced) |
You are right, JSFuck is "easy" to obfuscate, once you know the basic concepts. Removing the last As @subzey said: The goal here is not to build an obfuscation library that can be used to attack websites, but to show how far we can go by reducing the language to an absolute minimum. |
The developer tool can directly print out the source code, and execute the following code in the developer tool.
Decryption method:
Output code
The text was updated successfully, but these errors were encountered: