Last active
January 2, 2016 01:09
-
-
Save shanimal/8228717 to your computer and use it in GitHub Desktop.
simple xss example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert('Im a script located on gist.github via rawgithub and I\'ve been injected into this demo @' + document.location.origin) | |
alert('I have full access to JS to do things like read your cookies... Check this out... ' + document.cookie); | |
alert('I can also access the websites API to change your password or steal your credit card number'); | |
alert('XSS can be used for Eve-ill'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment