Skip to content

Commit dad80d9

Browse files
committed
Restructure
1 parent 4a78f34 commit dad80d9

File tree

375 files changed

+3043
-3043
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

375 files changed

+3043
-3043
lines changed
File renamed without changes.
File renamed without changes.

XCTF_Finals_2019/lfi2019/index.php renamed to 2019_XCTF_Finals/lfi2019/index.php

Lines changed: 355 additions & 355 deletions
Large diffs are not rendered by default.
Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
1-
* {
2-
margin: 0;
3-
padding: 0;
4-
font-family: 'Muli', sans-serif;
5-
}
6-
7-
body {
8-
background-color: #000;
9-
height: 200vh;
10-
font-family: 'Muli', sans-serif;
11-
}
12-
13-
.text {
14-
position: fixed;
15-
top: 50%;
16-
left: 50%;
17-
transform: translateX(-50%) translateY(-50%);
18-
list-style: none;
19-
border-bottom: 0;
20-
}
21-
22-
.text.hidden {
23-
border-bottom: 1px solid #fff;
24-
}
25-
26-
.text li {
27-
display: inline-block;
28-
float: left;
29-
font-weight: 700;
30-
font-size: 2em;
31-
color: #fff;
32-
opacity: 1;
33-
transition: all 0.5s ease-in-out;
34-
max-width: 3em;
35-
}
36-
37-
.text.hidden li.spaced {
38-
padding-left: 0;
39-
}
40-
41-
.text li.spaced {
42-
padding-left: 0.4em;
43-
}
44-
45-
.text.hidden li.ghost {
46-
opacity: 0;
47-
max-width: 0;
48-
}
49-
50-
.hide {
51-
display: none;
52-
}
53-
54-
.full {
55-
width: 100%;
56-
}
57-
58-
.ref {
59-
font-size: 11pt;
60-
letter-spacing: -.5px;
61-
}
62-
63-
.lightgrey {
64-
color: #eee;
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
font-family: 'Muli', sans-serif;
5+
}
6+
7+
body {
8+
background-color: #000;
9+
height: 200vh;
10+
font-family: 'Muli', sans-serif;
11+
}
12+
13+
.text {
14+
position: fixed;
15+
top: 50%;
16+
left: 50%;
17+
transform: translateX(-50%) translateY(-50%);
18+
list-style: none;
19+
border-bottom: 0;
20+
}
21+
22+
.text.hidden {
23+
border-bottom: 1px solid #fff;
24+
}
25+
26+
.text li {
27+
display: inline-block;
28+
float: left;
29+
font-weight: 700;
30+
font-size: 2em;
31+
color: #fff;
32+
opacity: 1;
33+
transition: all 0.5s ease-in-out;
34+
max-width: 3em;
35+
}
36+
37+
.text.hidden li.spaced {
38+
padding-left: 0;
39+
}
40+
41+
.text li.spaced {
42+
padding-left: 0.4em;
43+
}
44+
45+
.text.hidden li.ghost {
46+
opacity: 0;
47+
max-width: 0;
48+
}
49+
50+
.hide {
51+
display: none;
52+
}
53+
54+
.full {
55+
width: 100%;
56+
}
57+
58+
.ref {
59+
font-size: 11pt;
60+
letter-spacing: -.5px;
61+
}
62+
63+
.lightgrey {
64+
color: #eee;
6565
}
Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
1-
var form = $("#kawaii");
2-
var text = $(".text");
3-
$(function() {
4-
$(window).scroll(function() {
5-
var scroll = $(window).scrollTop();
6-
if (scroll >= 200) {
7-
if (text.hasClass("hidden")) {
8-
text.removeClass("hidden");
9-
setTimeout("form.removeClass('hide')", 1000);
10-
}
11-
} else {
12-
if (!text.hasClass("hidden")) {
13-
text.addClass("hidden");
14-
form.addClass("hide");
15-
}
16-
}
17-
});
18-
$("#put").click(function() {
19-
$("#put-modal").modal();
20-
});
21-
$("#get").click(function() {
22-
$("#get-modal").modal();
23-
});
24-
$("#include-submit").click(function() {
25-
_filename = $("#include-filename").val();
26-
$.get("?get&" + _filename, function(_output) {
27-
try {
28-
switch (_output['type']) {
29-
case "error":
30-
alert(_output['msg']);
31-
break;
32-
case "success":
33-
alert('Load successful, but nothing returned.');
34-
}
35-
} catch (e) {
36-
$("#include-content").html(_output);
37-
}
38-
});
39-
});
40-
$("#upload-submit").click(function() {
41-
_filename = $("#upload-filename").val();
42-
_post_data = {
43-
"filename": _filename,
44-
"content": $("#upload-content").val()
45-
};
46-
$.post("?put&" + _filename, _post_data, function(_output) {
47-
try {
48-
switch (_output['type']) {
49-
case "error":
50-
alert(_output['msg']);
51-
break;
52-
case "success":
53-
alert('Upload successful at /files/');
54-
}
55-
} catch (e) {
56-
alert(_output);
57-
}
58-
});
59-
});
60-
$("#info").click(function() {
61-
$("#info-modal").modal();
62-
});
1+
var form = $("#kawaii");
2+
var text = $(".text");
3+
$(function() {
4+
$(window).scroll(function() {
5+
var scroll = $(window).scrollTop();
6+
if (scroll >= 200) {
7+
if (text.hasClass("hidden")) {
8+
text.removeClass("hidden");
9+
setTimeout("form.removeClass('hide')", 1000);
10+
}
11+
} else {
12+
if (!text.hasClass("hidden")) {
13+
text.addClass("hidden");
14+
form.addClass("hide");
15+
}
16+
}
17+
});
18+
$("#put").click(function() {
19+
$("#put-modal").modal();
20+
});
21+
$("#get").click(function() {
22+
$("#get-modal").modal();
23+
});
24+
$("#include-submit").click(function() {
25+
_filename = $("#include-filename").val();
26+
$.get("?get&" + _filename, function(_output) {
27+
try {
28+
switch (_output['type']) {
29+
case "error":
30+
alert(_output['msg']);
31+
break;
32+
case "success":
33+
alert('Load successful, but nothing returned.');
34+
}
35+
} catch (e) {
36+
$("#include-content").html(_output);
37+
}
38+
});
39+
});
40+
$("#upload-submit").click(function() {
41+
_filename = $("#upload-filename").val();
42+
_post_data = {
43+
"filename": _filename,
44+
"content": $("#upload-content").val()
45+
};
46+
$.post("?put&" + _filename, _post_data, function(_output) {
47+
try {
48+
switch (_output['type']) {
49+
case "error":
50+
alert(_output['msg']);
51+
break;
52+
case "success":
53+
alert('Upload successful at /files/');
54+
}
55+
} catch (e) {
56+
alert(_output);
57+
}
58+
});
59+
});
60+
$("#info").click(function() {
61+
$("#info-modal").modal();
62+
});
6363
});
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)