add xss minigame

This commit is contained in:
hippoz 2020-10-19 00:47:35 +03:00
parent a6f7643607
commit eb3fe2b9c5

18
minigame.html Normal file
View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple XSS minigame</title>
<script>
var name;
if (location.hash === '#hippo') {
name = 'hippo';
}
document.write(`Hello, ${name}! This is a simple XSS minigame. Your goal is to get XSS into this extremely simple page. Good luck!`);
</script>
</head>
<body>
</body>
</html>