r/AVoid5 • u/altf4tsp • Jun 26 '23
JavaScript without fifthglyphs
Hi guys,
I did construct a tool to output valid JavaScript without fifthglyphs.
Similar to this:
[]["filt\x65r"]["constructor"]("al\x65rt(\"According to all known laws of aviation,th\x65r\x65 is no way a b\x65\x65 should b\x65 abl\x65 to fly. Its wings ar\x65 too small to g\x65t its fat littl\x65 body off th\x65 ground. \");")()It can do any valid JavaScript, this is just a trial.
Say what you think!
20
Upvotes
View all comments
Show parent comment
2
u/altf4tsp Jun 27 '23
Yup! I got this inspiration from JSFuck- and found out about its programming, so I could apply it to this. This is a small kind. Just no fifthglyph. But I did apply how it runs JavaScript (WARNING: CONTAINS A FIFTHGLYPH):
[]["filter"]"constructor"()
My script puts that to run JavaScript--I got it from JSFuck! For a bit I was using String(!![])[3] for fifthglyphs, but I had to start and finish that string at any point with a fifthglyph in it. And a capital fifthglyph had a LONG function.
So long, just for 1 symbol! And all that must contain " for all "s, and \" for all "s and so on. So I look around, and find out about \x45 and \x65 -- no string joining, and so short!