News for hackers. Stuff that matters.
Re:Google's XSS game by tieTYT on Thursday May 29, 2014 @12:56PM (#7817188)
I probably should be too embarrassed to ask this question, but why can't I use script tags in the second test? I don't understand what's preventing me from doing that.
Re:Google's XSS game by nickmccann on Thursday May 29, 2014 @01:07PM (#7817262)
The second question disallows the script tag.
Re:Google's XSS game by tieTYT on Thursday May 29, 2014 @01:17PM (#7817320)
How is it doing that?
Re:Google's XSS game by wasd on Thursday May 29, 2014 @01:43PM (#7817508)
Using <script> ... as a payload won't work because the browser won't execute scripts added after the page has loaded.
Re:Google's XSS game by goblin89 on Friday May 30, 2014 @04:52PM (#7824008)
The browser smartly won't execute scripts added through innerHTML, but it probably should be noted that jquery's html() method will[0]. There's always a way to shoot yourself in the foot. :)

[0] http://api.jquery.com/html/

Re:Google's XSS game by tetrep on Thursday May 29, 2014 @01:55PM (#7817591)
Re:Google's XSS game by hckr1292 on Thursday May 29, 2014 @01:44PM (#7817515)
it's not blocking the scripts from being inserted. Inspect the DOM and you'll see them there.