changed repo structure
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Intro to Web 2</title>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Burn After Reading</h1>
|
||||
This page automatically retrieves confidential information.
|
||||
To protect against unauthorized use, the backend server will irreversibly nuke all of our data in
|
||||
case this page is accessed by someone that failed to pass our
|
||||
<em>Military-Grade Security Gate™</em>.
|
||||
<h3>Status of flag document:
|
||||
<span style="color:green">INTACT</span></h3>
|
||||
<hr>
|
||||
<pre>
|
||||
Flag part 4/4: W4at6R2B}</pre>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Intro to Web 2</title>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Statistics Console (POST version)</h1>
|
||||
<h3>File Name:
|
||||
<span style="font-family: 'Courier New', monospace;">flag.txt</span></h3>
|
||||
<hr>
|
||||
<pre>
|
||||
Flag part 2/4: UaT0BVvk</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Intro to Web 2</title>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Statistics Console (GET version)</h1>
|
||||
<h3>File Name:
|
||||
<span style="font-family: 'Courier New', monospace;">flag.txt</span></h3>
|
||||
<hr>
|
||||
<pre>
|
||||
Flag part 3/4: Q9Z39J9A</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
52
2024/cscg/web/intro_web_2/leaked_sites/train.html
Normal file
52
2024/cscg/web/intro_web_2/leaked_sites/train.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Intro to Web 2</title>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>$(GERMAN_CITY) Tram Ticket Machine</h1>
|
||||
|
||||
<h3>Get your <span style="text-decoration: line-through;">ticket</span> flag here!</h3>
|
||||
<hr>
|
||||
With the help of our state-of-the-art floppy disk switching robots, you can now read the first
|
||||
part of the flag in real time!
|
||||
<p>
|
||||
Flag part 1/4: <span style="color: green; font-family: 'Courier New', monospace;">
|
||||
CSCG{<span id="flag">........</span></span>
|
||||
|
||||
<!--
|
||||
No time to wait, right?
|
||||
-->
|
||||
|
||||
<script>
|
||||
flag = "l9jj550K"
|
||||
symbolsRevealed = 0
|
||||
waitTime = 1000;
|
||||
|
||||
function nextSymbol() {
|
||||
if (symbolsRevealed >= flag.length) return;
|
||||
symbolsRevealed++;
|
||||
|
||||
waitTime *= 2;
|
||||
setTimeout(nextSymbol, waitTime);
|
||||
}
|
||||
|
||||
function spin() {
|
||||
const flagPart = flag.substr(0, symbolsRevealed);
|
||||
const alphabet = ("ABCDEFGHIJKLMNOPRSTUVWXYZabcdefhiklmnorstuvwxz0123456789")
|
||||
const randomSymbol =
|
||||
symbolsRevealed < flag.length
|
||||
? alphabet.charAt(Math.floor(Math.random() * alphabet.length))
|
||||
: "";
|
||||
const suffix = ".".repeat(Math.max(0, flag.length - 1 - symbolsRevealed));
|
||||
|
||||
document.getElementById("flag").innerHTML = flagPart + randomSymbol + suffix;
|
||||
}
|
||||
|
||||
setTimeout(nextSymbol, waitTime);
|
||||
setInterval(spin, 50);
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user