Last active
March 3, 2018 08:21
-
-
Save yehgdotnet/d88ec5cc3410503bce33aee00f290529 to your computer and use it in GitHub Desktop.
DOM XSSed page
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> | |
<head> | |
<title>DOM XSS vulnerable page</title> | |
</head> | |
<body> | |
<script> | |
var l = decodeURI(document.location.toLocaleString().split("?")[1]); | |
document.write(l); | |
</script> | |
<p></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment