You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I just came here from the Low Level JavaScript YouTube video on JSFuck which left me wondering if anyone has managed to write a self-hosting JSFuck compiler that actually runs.
Technically it's simple of course: just pipe a JSFuck compiler through itself. But I wondered if the output would actually run.
Searching for that on-line turned up nothing (honestly, I refuse to believe nobody has tried - surely it must be my own weak Google-Fu). So I gave it a quick shot myself. First I tried running a minified version of this repo's compiler through itself results in 6408898 chars, so roughly 6.1 MiB. Crashed any browser console I tried it on.
Then I figured the issue must be the size, so I took the demo code from the video that brought me here, code golf a bit (leading to the version in the details below below), minify that (resulting in 877 chars), and throw that through various JSFuck compilers. When compiling itself it creates a 5.1 MiB file. When using the online compiler (which clearly is a bit smarter) the result is 1.5 MiB. Still crashes :(
At this point I'm not sure if it's the size or something else, but honestly I should be doing other things right now so I can't investigate further at the moment.
Curious if anyone out there has tried or maybe even succeeded in this?
I tried on both Chromium and Firefox, on a fairly powerful Linux laptop with 64 GiB of RAM (so it's probably not that, haha). Maybe it's the add-ons I'm using?
So I just came here from the Low Level JavaScript YouTube video on JSFuck which left me wondering if anyone has managed to write a self-hosting JSFuck compiler that actually runs.
Technically it's simple of course: just pipe a JSFuck compiler through itself. But I wondered if the output would actually run.
Searching for that on-line turned up nothing (honestly, I refuse to believe nobody has tried - surely it must be my own weak Google-Fu). So I gave it a quick shot myself. First I tried running a minified version of this repo's compiler through itself results in 6408898 chars, so roughly 6.1 MiB. Crashed any browser console I tried it on.
Then I figured the issue must be the size, so I took the demo code from the video that brought me here, code golf a bit (leading to the version in the details below below), minify that (resulting in 877 chars), and throw that through various JSFuck compilers. When compiling itself it creates a 5.1 MiB file. When using the online compiler (which clearly is a bit smarter) the result is 1.5 MiB. Still crashes :(
At this point I'm not sure if it's the size or something else, but honestly I should be doing other things right now so I can't investigate further at the moment.
Curious if anyone out there has tried or maybe even succeeded in this?
Pre-minified mangled LLJS channel version
The text was updated successfully, but these errors were encountered: