aemkei/jsfuck
View on GitHub ↗ ★ 8,599 JavaScript
Write any JavaScript with 6 Characters: []()!+
7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2013-09-14 · latest 2024-10-08
20082026
-
https://github.com/aemkei/jsfuck Has anyone seen a transpiler for regular JS into jsfuck? It would be like maxify-obscurify
comment by K0balt · 2024-10-08 · in Why does ++[[]][+[]]+[+[]] return the string "10"? -
…helped me understand was how it encodes eval for actually executing code. Details are on this line, https://github.com/aemkei/jsfuck/blob/1f02651e98da1c13aef76d... , and details of that are: 1. [] => An array object 2. []["flat"] => The…
comment by hn_throwaway_99 · 2021-09-26 · in JSFuck (2012) -
Here's the decoder ring: https://github.com/aemkei/jsfuck/blob/master/jsfuck.js With this I was able to get the letter 'a' by starting with their initial definition `(false+"")[1]`, then continually substituting (false+'')[1] (![]+'')[1]…
comment by city41 · 2021-09-26 · in JSFuck (2012) -
…into string) "NaN": +{} "[object Object][object Object]": {}+{} .. etc See the full list here: https://github.com/aemkei/jsfuck/blob/master/jsfuck.js
comment by ewendel · 2019-12-17 · in Writing JavaScript with Only Six Characters -
…valid javascript code. One one the patterns that jsfuck.js supports is "run the followin as eval()" https://github.com/aemkei/jsfuck/blob/master/jsfuck.js line 282
comment by ninju · 2016-12-09 · in An exploit kit hiding in the pixels of malicious ads -
Ahaha, there's this one which goes even further: only uses "[]()!+" https://github.com/aemkei/jsfuck
comment by rnhmjoj · 2015-12-15 · in Xto6 modernizes your JavaScript code -
▲ 3
only []()+ in js codestory by sirtel · 2013-09-14 · 0 comments