Comments (3)
You are right, JSFuck is "easy" to obfuscate, once you know the basic concepts. Removing the last ()
from the converted sources will not execute the code but return the inner function.
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.
from jsfuck.
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.
from jsfuck.
@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)
from jsfuck.
Related Issues (20)
- Wrong result? HOT 3
- Alternative representation of numbers
- It is possible to call function with 2 arguments? HOT 4
- You can actually get the upper case version of the letters, since String.prototype.toUpperCase() exists, and we have capital U and capital C HOT 2
- Troubles to execute the current code HOT 2
- Why `escapeSequence()` treat characters whose charCodes is under 256 as ascii, not utf-16? HOT 4
- Note: Array.prototype.at() is available now HOT 3
- Documentation out of date
- JSFuck variant using "([+<])". Has anybody tried this before? HOT 13
- ([]["isPrototypeOf"] + "")[11] HOT 4
- Use array 'at' method instead of array 'filter' method HOT 3
- A better way of getting `A` HOT 2
- Faster way to get Capital A HOT 3
- easier alternative way of getting infinity through whatever buggy js exists in this world HOT 1
- JSF code does not work if CSP forbids `eval`/`new Function`
- NodeJS Support HOT 1
- Working self-hosting JSFuck compilers? HOT 4
- undefined compiles in to nothing HOT 2
- Is decode not possible using node.js? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsfuck.