I once saw JavaScript code which was only written as multiple brackets (). Does anybody remember this kind of code? There was also an online converter to convert "normal" JS into this style of code. I want to show it while a presentation as an example of state of the art XSS. Or what are other really surprising XSS examples?
Tell me more
×
IT Security Stack Exchange is a question and answer site for
IT security professionals. It's 100% free, no registration required.
|
|
||||
|
Found it
Converter to convert normal JS into brackets only JS: |
|||||||||
|
|
This is an interesting find! To those who are only just now finding out... It is now obvious how you can create strings out of braces, and you could do things like Run this prep code
You will have a function. Run this to call
|
|||
|
|
<script>tags, addonclick/onhover-type methods to html tags, or useevalon user provided input in your js, etc.). Then this just is obsfuscation. – dr jimbob Dec 15 '11 at 22:08