add xss minigame
This commit is contained in:
parent
a6f7643607
commit
eb3fe2b9c5
1 changed files with 18 additions and 0 deletions
18
minigame.html
Normal file
18
minigame.html
Normal 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>
|
Loading…
Reference in a new issue