r/programming • u/alcuadrado • Aug 10 '12
Write any javascript code with just these characters: ()[]{}+!
http://patriciopalladino.com/blog/2012/08/09/non-alphanumeric-javascript.html
1.3k
Upvotes
r/programming • u/alcuadrado • Aug 10 '12
3
u/alcuadrado Aug 12 '12
But I can run eval myself.
Function is eval, so I do this: []["sort"]"constructor"()
Of course the website must be vulnerable to XSS.