Live data from Hacker News

Executing non-alphanumeric JavaScript without parentheses

blog.portswigger.net

1–10 of 22 posts

Re: Executing non-alphanumeric JavaScript without parentheses

#8
I've done something similar with PHP, by casting an array to a string (The string "Array") and using "variable variables". If only there was a way to call functions in PHP without using letters in the code... https://gist.github.com/nubs/5849633#file-nodigitsorquotesei...

Re: Executing non-alphanumeric JavaScript without parentheses

#9

what's the use case? Circumventing code insertion filters?

Pretty much - the first paragraph links to an example of this technique being used to exploit Uber's developer documentation - http://blog.portswigger.net/2016/04/adapting-angularjs-paylo...
Post reply on HN