Level 4 has a bug. Entering a string in the text box for the timer solves the problem, but putting that string directly as the get parameter in the URL doesn't. Anyone know how to report this?
PS. Consider it reported, thanks!
81–90 of 168 posts
Level 4 has a bug. Entering a string in the text box for the timer solves the problem, but putting that string directly as the get parameter in the URL doesn't. Anyone know how to report this?
PS. Consider it reported, thanks!
Perhaps disabling it is part of the game.
Earlier 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.
still not able to get :-(
worked for me.
Does anyone know how to submit corrections to Google? I've not been able to find a way after noticing a few mistakes on Google's XSS help page. There are a few examples using an image tag but the tags haven't been closed properly: https://www.google.com/about/appsecurity/learning/xss/index.... e.g. "Now, enter <img src='' onerror="alert(document.cookie);" and hit 'Share status!'."
One of the reasons for using such broken payloads is to demonstrate that browsers will happily parse broken markup and that approaches such as removing "" won't be effective as a technique to prevent XSS (because such a regexp won't match an unterminated tag like the example you pointed out).
Still, it could at least use a better explanation. The documentation fairy will take a look!
Earlier quoted context omitted.
SPOILER ALERT I used this: 1'* alert()* ' (without the spaces needed for markdown here)
Could you explain why the * works in there?
Earlier quoted context omitted.
For me it actually worked to use a script tag, but I'm confused about why, as the hint says it shouldn't. This is the URL I used: https://xss-game.appspot.com/level3/frame#'> alert('bla') But the hint is hinting at something more like this, I think: https://xss-game.appspot.com/level3/frame#' onerror="alert('bla')"> Can somebody explain why the first one worked? Are they wrong when they say that the browser won't exe…
Why do we need the single quote after the # sign? I don't understand why and would like to know.
the src opens with a single quote and looks for the 'num' var. So instead of num in the URL, you close the single quote and then close the image tag, and then run your script.
"There will be cake at the end of the test." That's what the computer said LAST time. But I'm still alive... ;)
on level 5 i tried to modify the url, but my quotes are automatically encoded, also tried encoding it using %22.. but didn't work.. I'm using chrome on osx, could it be a browser thing, i managed to get it to work by manually modifying the html using the developer tools :p