4 ms·
I assume he means the size of the payload remains technically below 32 while the "real" code is larger due to evaluating location.hash. `eval(location.hash.sub
by AntonyGarand 5y ago
I assume he means the size of the payload remains technically below 32 while the "real" code is larger due to evaluating location.hash.
`eval(location.hash.substring(1))` is 32 characters, but the hash itself can be few kilobytes
I used this to merge two tixies a while back, and execute an XSS as proof of concept [0]
[0] https://twitter.com/AntoGarand/status/1327101941760086017 https://twitter.com/AntoGarand/status/1327101941760086017
- _Microft 5y agoInteresting, I thought I had exhausted the list of string modification functions when checking how to work around the hash symbol. That's nicer than my solution by far.