Last active
June 28, 2016 00:00
-
-
Save alsmola/a629dd19efb16c8a27ca397a6c2663d4 to your computer and use it in GitHub Desktop.
XSS Really?
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
<html> | |
<body> | |
<script> | |
function log(arg) { | |
console.log(arg) | |
}; | |
</script> | |
<div onclick="log('test');alert(1);//')"> | |
Click me. | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment