-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
342 lines (299 loc) · 11.1 KB
/
index.html
File metadata and controls
342 lines (299 loc) · 11.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CyberHell CTF - Tantangan Keamanan Siber Tersulit</title>
<style>
:root {
--primary: #2c3e50;
--secondary: #e74c3c;
--dark: #1a252f;
--light: #ecf0f1;
}
body {
font-family: 'Courier New', monospace;
background-color: var(--dark);
color: var(--light);
margin: 0;
padding: 0;
line-height: 1.6;
}
header {
background-color: var(--primary);
padding: 1rem;
text-align: center;
border-bottom: 5px solid var(--secondary);
}
.container {
max-width: 1200px;
margin: 2rem auto;
padding: 0 1rem;
}
.challenge {
background-color: rgba(44, 62, 80, 0.7);
border: 1px solid var(--secondary);
border-radius: 5px;
padding: 1.5rem;
margin-bottom: 1.5rem;
position: relative;
}
.challenge.difficult {
border: 2px solid #f1c40f;
box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
}
.challenge.extreme {
border: 2px solid #e74c3c;
box-shadow: 0 0 15px rgba(231, 76, 60, 0.3);
}
.difficulty {
position: absolute;
top: 10px;
right: 10px;
font-weight: bold;
padding: 0.3rem 0.6rem;
border-radius: 3px;
}
.easy {
background-color: #2ecc71;
}
.medium {
background-color: #f39c12;
}
.hard {
background-color: #e74c3c;
}
.insane {
background-color: #9b59b6;
}
.flag-form {
margin-top: 1rem;
}
input[type="text"] {
padding: 0.5rem;
width: 300px;
background-color: #34495e;
border: 1px solid #7f8c8d;
color: white;
}
button {
padding: 0.5rem 1rem;
background-color: var(--secondary);
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #c0392b;
}
.hidden {
display: none;
}
.leaderboard {
width: 100%;
border-collapse: collapse;
margin-top: 2rem;
}
.leaderboard th, .leaderboard td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid #34495e;
}
.leaderboard th {
background-color: var(--primary);
}
.terminal {
background-color: black;
color: #0f0;
padding: 1rem;
font-family: monospace;
border-radius: 5px;
margin: 1rem 0;
overflow-x: auto;
}
.blink {
animation: blink 1s step-end infinite;
}
.success-message {
background-color: #27ae60;
padding: 2rem;
border-radius: 5px;
text-align: center;
margin-top: 2rem;
animation: pulse 2s infinite;
}
.secret-link {
color: #f1c40f;
font-weight: bold;
text-decoration: none;
border-bottom: 1px dashed #f1c40f;
font-size: 1.2rem;
display: inline-block;
margin: 1rem 0;
padding: 0.5rem;
background-color: rgba(0,0,0,0.3);
border-radius: 3px;
}
.secret-link:hover {
background-color: rgba(241, 196, 15, 0.2);
}
@keyframes blink {
from, to { opacity: 1; }
50% { opacity: 0; }
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.02); }
100% { transform: scale(1); }
}
#finalReward {
display: none;
}
.hidden-link {
display: none;
margin-top: 2rem;
text-align: center;
}
.hidden-link a {
color: #e74c3c;
font-weight: bold;
text-decoration: none;
font-size: 1.3rem;
padding: 0.8rem 1.5rem;
background-color: rgba(0,0,0,0.5);
border-radius: 5px;
border: 2px solid #e74c3c;
transition: all 0.3s;
}
.hidden-link a:hover {
background-color: rgba(231, 76, 60, 0.2);
transform: scale(1.05);
}
a {
color :white;
}
</style>
</head>
<body>
<header>
<h1>CyberHell CTF LV 2</h1>
<p>Tantangan Keamanan Siber LV 2</p>
</header>
<div class="container">
<section id="challenges">
<h2>Tantangan CTF</h2>
<div class="challenge extreme">
<a href = "pertama.html"><span class="difficulty insane">Klik Untuk Menemukan Flag LV 2</span></a>
<h3>1. The Impossible Flag LV 2</h3>
<p>Temukan flag yang tersembunyi dalam sistem ini. Tidak ada petunjuk, tidak ada bantuan. Hanya untuk yang benar-benar ahli.</p>
<div class="terminal">
root@cyberhell:~# █<span class="blink">_</span>
<!-- CTF{Qu4ntum_Crypt0_1s_Futur3} -->
</div>
<div class="flag-form">
<input type="text" id="flag1" placeholder="Masukkan flag...">
<button onclick="submitFlag('flag1')">Submit</button>
<span id="result1" class="hidden"></span>
</div>
</div>
<div class="challenge extreme">
<a href = "kedua.html"><span class="difficulty insane">Klik Untuk Menemukan Flag LV 2</span></a>
<h3>2. Quantum Cryptanalysis LV 2</h3>
<p>Dekripsi ciphertext yang dienkripsi dengan algoritma kuantum post-quantum. Server hanya menerima solusi dalam waktu 0.5 detik.</p>
<div class="terminal">
Ciphertext: 5a3f8c...e9027b (1024-bit)<br>
Time constraint: <500ms
</div>
<div class="flag-form">
<input type="text" id="flag2" placeholder="Masukkan flag...">
<button onclick="submitFlag('flag2')">Submit</button>
<span id="result2" class="hidden"></span>
</div>
</div>
<div class="challenge difficult">
<a href = "ketiga.html"><span class="difficulty hard">Klik Untuk Menemukan Flag LV 2</span></a>
<h3>3. Zero-Day Exploit LV 2</h3>
<p>Temukan dan eksploitasi kerentanan zero-day dalam sistem custom kami. Patch belum tersedia.</p>
<div class="terminal">
Vulnerable service running on /ketiga.html<br>
ASLR + DEP + Stack Canaries enabled
</div>
<div class="flag-form">
<input type="text" id="flag3" placeholder="Masukkan flag...">
<button onclick="submitFlag('flag3')">Submit</button>
<span id="result3" class="hidden"></span>
</div>
</div>
</section>
<section id="finalReward" class="hidden">
<div class="success-message">
<h2>🎉 Selamat! 🎉</h2>
<p>Kamu berhasil menyelesaikan semua tantangan CyberHell CTF!</p>
<p>Sebagai hadiah, berikut adalah flag terakhir yang tersembunyi:</p>
<div class="terminal" style="margin: 1rem auto; max-width: 600px;">
Final Flag: CTF{Y0u_4r3_4_Cyber_God}
</div>
<p>Temukan lebih banyak tantangan di:</p>
<a href="https://www.mediafire.com/folder/a1zncaaypjqm5/Download+Virus+Virtex+File+5" class="secret-link">https://www.mediafire.com/folder/a1zncaaypjqm5/Download+Virus+Virtex+File+5</a>
<p style="margin-top: 1rem;">Jangan beritahu siapapun tentang ini!</p>
</div>
</section>
<div id="hiddenLink" class="hidden-link">
<a href="https://www.mediafire.com/folder/a1zncaaypjqm5/Download+Virus+Virtex+File+5" target="_blank">DOWNLOAD FILE VIRUS VIRTEX</a>
</div>
<section id="leaderboard">
<h2>Papan Peringkat</h2>
<table class="leaderboard">
<thead>
<tr>
<th>Peringkat</th>
<th>Nama</th>
<th>Poin</th>
<th>Tantangan Terselesaikan</th>
<th>Team</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Danz</td>
<td>950</td>
<td>3/3 Championship 2</td>
<td>Pemimpin Lion</td>
</tr>
<tr>
<td>2</td>
<td>Alisa Brean</td>
<td>800</td>
<td>3/3 Championship 5</td>
<td>Pemimpin Flower</td>
</tr>
<tr>
<td>3</td>
<td>Zafa Brean</td>
<td>600</td>
<td>3/3 Championship 6</td>
<td>Flower Team No 2</td>
</tr>
<tr>
<td>4</td>
<td>Yazri</td>
<td>950</td>
<td>3/3 Championship 8</td>
<td>Tiger Team No 2</td>
</tr>
<tr>
<td>5</td>
<td>Pegasus</td>
<td>600</td>
<td>1/3 Championship 18</td>
<td>Tiger Team No 5</td>
</tr>
</tbody>
</table>
</section>
</div>
<script src = "script.js"></script>
</body>
</html>