How do you solve lv4?
' after the timer value, then proceed to construct a JS expression that will be evaluated before the call to setTimer ... Hint: '99'+moo() will evaluate nicely. Don't forgot the "open" the ' again.
Google's XSS game
61–70 of 168 posts
Re: Google's XSS game
#62Re: Google's XSS game
#63I asked this question once on SO and never really got a "great" answer I was after. If my site will only ever allow users to see their own submitted data, and never ever data another user has submitted (i.e. no general 'posts' etc) - then is there actually a XSS risk on my site? So I'm curious if an attacker can gain anything by looking at their own XSS attack? http://stackoverflow.com/q/10265624/1317935
Re: Google's XSS game
#64Re: Google's XSS game
#65How do you solve lv4?
3') + alert('
Re: Google's XSS game
#66What is lvl2's answer? I'm trying:
Interesting to see so many people used onError instead.Re: Google's XSS game
#67Earlier quoted context omitted.
' after the timer value, then proceed to construct a JS expression that will be evaluated before the call to setTimer ... Hint: '99'+moo() will evaluate nicely. Don't forgot the "open" the ' again.
Can you elaborate on this? I tried that and got "unexpected identifier" as a console error. Not sure how it works.
startTimer('');foo();//');
The remaining '); can be commented out in order to not create any syntax errors.Re: Google's XSS game
#68Earlier quoted context omitted.
' after the timer value, then proceed to construct a JS expression that will be evaluated before the call to setTimer ... Hint: '99'+moo() will evaluate nicely. Don't forgot the "open" the ' again.
Can you elaborate on this? I tried that and got "unexpected identifier" as a console error. Not sure how it works.
I used this: 1'* alert()* '
(without the spaces needed for markdown here)
Re: Google's XSS game
#69Re: Google's XSS game
#70That's what the computer said LAST time. But I'm still alive... ;)