-
Notifications
You must be signed in to change notification settings - Fork 0
/
invitation.html
334 lines (318 loc) · 12 KB
/
invitation.html
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
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@500&display=swap" rel="stylesheet">
<link rel="icon" href="https://irisc.tf/assets/img/favicon.png" type="image/png" />
<title>Special Invitation</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@500&display=swap');
html {
background-color: #000B00;
}
body {
margin: 2%;
color: #00ff41;
font-family: 'Source Code Pro', monospace;
font-size: 16pt;
text-shadow: 0px 0px 3px #00ff41;
}
body::before {
content: " ";
display: block;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
/* 49% instead of 50% fixes visual bug on firefox/hardware accel */
background: linear-gradient(rgba(18, 16, 16, 0) 49%, rgba(0, 0, 0, 0.25) 49%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
z-index: 2;
background-size: 100% 3px, 2px 100%;
pointer-events: none;
}
body::after {
content: " ";
display: block;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(18, 16, 16, 0.1);
opacity: 0;
z-index: 2;
pointer-events: none;
}
a {
color: #009927;
text-decoration: none;
}
a:visited {
color: #009927;
text-decoration: none;
}
a:hover {
color: #00ff41;
text-decoration: underline;
}
.text {
display: inline-block;
}
.typed-cursor {
display: inline-block;
}
.ascii pre {
margin-top: 0;
margin-bottom: 0;
letter-spacing: -2.0;
line-height: 0.9;
font-weight: 800;
}
.blink {
animation: cursor-blink 1.5s steps(2) infinite;
}
.ascii-cursor {
position: absolute;
}
@keyframes cursor-blink {
0% {
opacity: 0;
}
49% {
opacity: 0;
}
50% {
opacity: 1;
}
}
</style>
</head>
<body>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<!-- Typed by https://github.com/mattboldt/typed.js/ -->
<script>!function(t){"use strict";var s=function(s,e){this.el=t(s),this.options=t.extend({},t.fn.typed.defaults,e),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=this.isInput?!1:this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};s.prototype={constructor:s,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var s=this;if(this.showCursor===!0&&(this.cursor=t('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.stringsElement){s.strings=[],this.stringsElement.hide();var e=this.stringsElement.find("p");t.each(e,function(e,i){s.strings.push(t(i).html())})}this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=/*Math.round(70*Math.random())+*/this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s).charAt(0)!==h;)a+=t.substr(s).charAt(0),s++;s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.attr(i.attr,e):i.isInput?i.el.val(e):"html"===i.contentType?i.el.html(e):i.el.text(e),s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s).charAt(0);)e-=t.substr(s).charAt(0),s--;s--,e+="<"}var r=t.substr(0,s);i.attr?i.el.attr(i.attr,r):i.isInput?i.el.val(r):"html"===i.contentType?i.el.html(r):i.el.text(r),s>i.stopNum?(s--,i.backspace(t,s)):s<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);var s=this.el.attr("id");this.el.after('<span id="'+s+'"/>'),this.el.remove(),"undefined"!=typeof this.cursor&&this.cursor.remove(),t.options.resetCallback()}},t.fn.typed=function(e){return this.each(function(){var i=t(this),r=i.data("typed"),o="object"==typeof e&&e;r||i.data("typed",r=new s(this,o)),"string"==typeof e&&r[e]()})},t.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery);</script>
<span class="text" id="matrix-000"></span><br>
<br>
<span class="text" id="matrix-001"></span><br>
<span class="text" id="matrix-002"></span><br>
<span class="text ascii" id="matrix-003"></span><br>
<span class="text ascii" id="matrix-004"></span><br>
<span class="text ascii" id="matrix-005"></span><br>
<span class="text ascii" id="matrix-006"></span><br>
<br>
<span class="text" id="matrix-007"></span><br>
<br>
<span class="text" id="matrix-008"></span><br>
<span class="text" id="matrix-009"></span><br>
<span class="text" id="matrix-010"></span><br>
<br>
<span class="text" id="matrix-011"></span><br>
<span class="text" id="matrix-012"></span><br>
<span class="text" id="matrix-013"></span><br>
<!-- skat sucks at JS -->
<script>
function sanitize(string) {
const map = {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
"'": ''',
"/": '/',
};
const reg = /[&<>"'/]/ig;
return string.replace(reg, (match)=>(map[match]));
}
const params = new URLSearchParams(window.location.search);
const user = sanitize(params.get('user') || 'user');
$("#matrix-000").typed({
strings: ["Incoming transmission..."],
startDelay: 2000,
typeSpeed: 20,
cursorChar: "█",
});
$(".typed-cursor").addClass("blink");
setTimeout(function() {
$(".typed-cursor").removeClass("blink");
}, 2000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 3000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-001").typed({
strings: [`Hello,^500 ${user}.`],
startDelay: 2000,
typeSpeed: 40,
cursorChar: "█"
});
}, 4500);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 4500);
setTimeout(function() {
$(".typed-cursor").removeClass("blink");
}, 6500);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 8000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-002").typed({
strings: ["You've been invited to"],
startDelay: 2000,
typeSpeed: 40,
cursorChar: "█"
});
}, 9400);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 9400);
setTimeout(function() {
$(".typed-cursor").removeClass("blink");
}, 11400);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-003").typed({
strings: ["<pre> ____ _ _______________ ___ ___ ___ ____</pre>"],
typeSpeed: 1,
cursorChar: "█"
});
$(".typed-cursor").addClass("ascii-cursor");
}, 13000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-004").typed({
strings: ["<pre> / _/___(_)__ / ___/_ __/ __/ |_ |/ _ \\|_ |/ __/</pre>"],
typeSpeed: 1,
cursorChar: "█"
});
$(".typed-cursor").addClass("ascii-cursor");
}, 13600);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-005").typed({
strings: ["<pre> _/ // __/ (_-</ /__ / / / _/ / __// // / __//__ \\ </pre>"],
typeSpeed: 1,
cursorChar: "█"
});
$(".typed-cursor").addClass("ascii-cursor");
}, 14200);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-006").typed({
strings: ["<pre>/___/_/ /_/___/\\___/ /_/ /_/ /____/\\___/____/____/ </pre>"],
typeSpeed: 1,
cursorChar: "█"
});
$(".typed-cursor").addClass("ascii-cursor");
}, 14800);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-007").typed({
strings: ["IrisCTF 2025."],
startDelay: 1000,
typeSpeed: 40,
cursorChar: "█"
});
}, 15400);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 15400);
setTimeout(function() {
$(".typed-cursor").removeClass("blink");
}, 16400);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 17200);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-008").typed({
strings: [
"Beginner,^500 intermediate,^500 and advanced playe",
"Hackers of all skill levels are encouraged to join."
],
startDelay: 4000,
typeSpeed: 40,
cursorChar: "█"
});
}, 19000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 19000);
setTimeout(function() {
$(".typed-cursor").removeClass("blink");
}, 23000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 31000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-009").typed({
strings: ["re, pwn, web, crypto, rf, net, forens, osint, + more."],
startDelay: 2000,
typeSpeed: 40,
cursorChar: "█"
});
}, 32000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 32000);
setTimeout(function() {
$(".typed-cursor").removeClass("blink");
}, 34000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 36000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-010").typed({
strings: ["We hope we'll have something for you."],
startDelay: 1000,
typeSpeed: 40,
cursorChar: "█"
});
}, 37000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 38000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-011").typed({
strings: ["Registration will open soon at <a target='_blank' href='https://2025.irisc.tf/'>2025.irisc.tf</a>."],
startDelay: 2000,
typeSpeed: 40,
cursorChar: "█"
});
}, 40000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 40000);
setTimeout(function() {
$(".typed-cursor").removeClass("blink");
}, 42000);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 43000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-012").typed({
strings: ["Connection terminated... and have a happy millennium."],
typeSpeed: 20,
cursorChar: "█"
});
}, 60000);
setTimeout(function() {
$(".typed-cursor").remove();
$("#matrix-013").typed({
strings: [""],
typeSpeed: 20,
cursorChar: "█"
});
}, 60500);
setTimeout(function() {
$(".typed-cursor").addClass("blink");
}, 60500);
</script>
</body>
</html>