diff --git a/admin_stuff/index.php b/admin_stuff/index.php deleted file mode 100644 index f3dfc0a..0000000 --- a/admin_stuff/index.php +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - Status Page - - -
-

Website Name

-

- Motto here -

-
- - - -
-
$command

";
-                echo shell_exec($command);
-                echo"
\n"; - echo '
'; - } ?> - - - diff --git a/admin_stuff/lm4e_style.css b/admin_stuff/lm4e_style.css deleted file mode 100644 index e2fa81b..0000000 --- a/admin_stuff/lm4e_style.css +++ /dev/null @@ -1,172 +0,0 @@ -body { - background-color: #B6BDBD; - font-family: sans; - font-size: 12pt; - color: #000000; -} -h1, h2, h3, h4, h5, h6 { - font-family: times; -} -h3, h4, h5, h6 { - font-weight: normal; -} -p { - margin-left: 10px; - margin-top: 0px; -} -p.tiny{ - font-size: 5pt;} - -li { - margin-bottom: 1em; -} - -/* code blocks */ -pre { - margin-left: 20px; - margin-right: 20px; - margin-top: 0px; - background-color: white; - border-style: solid; - border-color: #888A85; - border-width: 1px; - font-size: 11pt; - font-family: monospace; -} - -pre.commandLine { - background-color: #2E3436; - color: #C3F097; -} - -span.structure { - color: #FCAF3E; - font-weight: bold; -} -span.primitive { - color: #729FCF; - font-weight: bold; -} -span.className { - color: #8AE234; - font-weight: bold; -} - -span.type { - color: #729FCF; -} -span.value { - color: #C17D11; -} -span.function { - color: #75507B; -} -span.name { - color: #8AE234; -} -span.comment { - color: #888A85; -} -/* in-line code block */ -span.codeBlockInText{ - background-color: white; - border-color: black; - border-style: solid; - border-width: 1px; - font-size: 11pt; - font-family: monospace; - padding-left: 5px; - padding-right: 5px; -} - - -a { - text-decoration: none; -} -a:link { - color: #90BA45; -} -a:hover { - color: #FF2A00; -} -a:visited { - color: #FCAF3E; -} - -ul { - margin-top: 0px; -} - -table { - position: absolute; - top: 0px; - left: 0px; - border-collapse: collapse; - width: 100%; -} - -td { - vertical-align: top; - margin: 0px; -} -td.left { -} -td.right{ -} -td.content { - background-color: #F2F0FF; -} -td.comment { - background-color: #D7DBD7; - font-style: italic; - font-size: 10pt; -} -td.comment p { - border-left-style: solid; - border-left-width: 3px; - margin-left: 3px; -} -p.explanation { - border-left-color: #8ED424; -} -p.general { - border-left-color: #888A85; -} -p.warning { - border-left-color: #EF2929; -} -td.spacer { - height: 120px; -} -@media only screen and (min-width: 1000px) { - td.left { - border-right-style: solid; - border-right-width: 1px; - } - td.right { - border-left-style: solid; - border-left-width: 1px; - } - td.content { - width: 800px; - } - td.comment { - width: 200px; - } -} - -@media only screen and (max-width: 999px) { - td.left{ - width: 0px; - } - td.right{ - width: 0px; - } - td.content { - width: 80%; - } - td.comment { - width: 20%; - } -} - diff --git a/admin_stuff/lm4e_template.css b/admin_stuff/lm4e_template.css deleted file mode 100644 index be16d6e..0000000 --- a/admin_stuff/lm4e_template.css +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - Tab text - - - - - - - - - - - - -
- -

Put some joke referring to the site’s contents

-

Head line

-

Disclaimer: This is a template file. Do not use unedited. -

-

- Some text here. -

- This is an in-line code block. -
-

- You will find some comments in this column:

-

- General comments are gray.

-

- Explanations are green and

-

- warnings are red.

-
-
- - - diff --git a/admin_stuff/nalquas_style.css b/admin_stuff/nalquas_style.css deleted file mode 100644 index 23812a6..0000000 --- a/admin_stuff/nalquas_style.css +++ /dev/null @@ -1,203 +0,0 @@ -/* ================== STYLING ================= */ - -* { - box-sizing: border-box; -} - -/* Body styling */ -body { - font-family: sans; - font-size: 12pt; - color: black; - background: #bdbdbd; - margin: 0; -} - -h1, h2, h3, h4, h5, h6 { - font-family: times; -} -h3, h4, h5, h6 { - font-weight: normal; -} - -p { - margin-top: 0px; -} -p.tiny { - font-size: 5pt; -} - -li { - margin-bottom: 1em; -} - -ul { - margin-top: 0px; -} - -pre { - margin-left: 20px; - margin-right: 20px; - margin-top: 0px; - background-color: white; - border-style: solid; - border-color: #888A85; - border-width: 1px; - font-size: 11pt; - font-family: monospace; -} -pre.commandLine { - background-color: #2E3436; - color: #C3F097; -} - -a { - text-decoration: none; -} -a:link { - color: #90BA45; -} -a:hover { - color: #FF2A00; -} -a:visited { - color: #FCAF3E; -} - -span.structure { - color: #FCAF3E; - font-weight: bold; -} -span.primitive { - color: #729FCF; - font-weight: bold; -} -span.className { - color: #8AE234; - font-weight: bold; -} -span.type { - color: #729FCF; -} -span.value { - color: #C17D11; -} -span.function { - color: #75507B; -} -span.name { - color: #8AE234; -} -span.comment { - color: #888A85; -} -/* in-line code block */ -span.codeBlockInText{ - background-color: white; - border-color: black; - border-style: solid; - border-width: 1px; - font-size: 11pt; - font-family: monospace; - padding-left: 5px; - padding-right: 5px; -} - -.disclaimer { - font-size: 8pt; - color: red; -} - -/* TODO The following is broken because we're not using tables anymore. - Find another solution. -*/ -p.explanation { - border-left-color: #8ED424; -} -p.general { - border-left-color: #888A85; -} -p.warning { - border-left-color: #EF2929; -} - -/* ================== LAYOUT ================== */ - -/* Header containing title etc. */ -.header { - text-align: center; - background: #795548; - color: white; - padding: 4px; -} - -/* Navigation bar at top of page */ -.navbar { - display: flex; - background-color: #4b2c20; -} - -/* Styling of navigation bar links */ -.navbar a { - color: white; - padding: 14px 20px; - text-decoration: none; - text-align: center; -} - -/* Change color of navigation bar links on hover */ -.navbar a:hover { - background-color: #a98274; - color: black; -} - -/* Align page elements in a row */ -.row { - display: flex; - flex-wrap: wrap; -} - -/* Sidebar column */ -.side { - flex: 15%; - font-size: 10pt; - font-style: italic; - background-color: #efefef; - padding: 20px; - max-width: 500px; -} - -/* Main column */ -.main { - flex: 40%; - background-color: #ffffff; - padding: 20px; - max-width: 1000px; -} - -/* Spacer */ -.spacer { - flex: auto; -} - -/* Footer */ -.footer { - padding: 20px; - text-align: center; - background: #8d8d8d; -} - -/* Adaptively change layout based on window size */ -@media only screen and (max-width: 1000px) { - .spacer { - display: none; - } - .main, .side { - max-width: none; - } -} -@media only screen and (max-width: 700px) { - .row, .navbar { - flex-direction: column; - } -} diff --git a/admin_stuff/nalquas_template.html b/admin_stuff/nalquas_template.html deleted file mode 100644 index 1e67630..0000000 --- a/admin_stuff/nalquas_template.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - Tab text - - - -
-

Website Name

-

- Motto here -

-
- - - - - -
-
-
-

- Put some joke referring to the site’s contents -

-

Head line

-

- Disclaimer: This is a template file. Do not use unedited. -

-

- Some text here. -

- This is an in-line code block. -
-
-

- You will find some comments in this column: -

-

- General comments are gray. -

-

- Explanations are green and -

-

- warnings are red. -

-
-
- - -
- - - - - diff --git a/admin_stuff/pleazeeatme.html b/admin_stuff/pleazeeatme.html deleted file mode 100644 index 9766a59..0000000 --- a/admin_stuff/pleazeeatme.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - Status Page - - -
-

Website Name

-

- Motto here -

-
- - - -
-
$command

-hjvdusjmcvgsara nfozcd
-                
-
-
- - diff --git a/admin_stuff/putty.exe b/admin_stuff/putty.exe deleted file mode 100755 index a9b4f49..0000000 Binary files a/admin_stuff/putty.exe and /dev/null differ diff --git a/admin_stuff/status.css b/admin_stuff/status.css deleted file mode 100644 index 06c5a8b..0000000 --- a/admin_stuff/status.css +++ /dev/null @@ -1,49 +0,0 @@ -* { - box-sizing: border-box; -} - -body { - font-family: monospace; - font-size: 12pt; - background-color: #0b0b0b; - color: #ff6200; -} - -pre { - margin: 20px; - /*border-style: solid; - border-width: 2px; - border-top: 0px; - border-right: 0px; - border-left: 0px; - border-color: #ff6200;*/ - border-style: none; - background-color: #000000; - color: #ff6200; - font-family: monospace; - font-size: 11pt; - min-width: 500px; - max-width: 500px; -} - -.grid { - display: flex; - flex-direction: row; - /*align-items: center; - justify-content: center;*/ - flex-wrap: wrap; -} - -/* Info panel, only used for status pages */ -.panel { - flex: 50%; - padding: 4px; - padding-bottom: 32px; -} - -/* Adaptively change layout based on window size */ -/*@media only screen and (max-width: 1000px) { - .grid { - flex-direction: column; - } -}*/ diff --git a/admin_stuff/status_commands.txt b/admin_stuff/status_commands.txt deleted file mode 100644 index 1fbc6ea..0000000 --- a/admin_stuff/status_commands.txt +++ /dev/null @@ -1,7 +0,0 @@ -who -df -h -systemctl status apache2.service -systemctl status mysql.service -systemctl status gitea.service -systemctl status sshd -apt list --upgradable diff --git a/commands_ondemand.conf b/commands_ondemand.conf index 55922e4..300efc1 100644 --- a/commands_ondemand.conf +++ b/commands_ondemand.conf @@ -1,2 +1,2 @@ sync -cat /var/log/apt-get_update_has_run; apt list --upgradable +echo "`cat /var/log/apt-get_update_has_run`"; apt list --upgradable diff --git a/commands_status.conf b/commands_status.conf index 6b28666..a216f95 100644 --- a/commands_status.conf +++ b/commands_status.conf @@ -1,6 +1,7 @@ systemctl status apache2.service systemctl status sshd.service systemctl status gitea.service +systemctl status mysql.service free df -h cat /var/run/reboot-required diff --git a/content/forwarding.php b/content/forwarding.php deleted file mode 100644 index cfdfeda..0000000 --- a/content/forwarding.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - -e-Mail Verification - -Bitte senden sie nun zur Verifikation eine e-Mail mit folgendem Inhalt an \"authentication@lostcave.ddnss.de\":

"; -echo "

Blub Blub $user

"; -?> - \ No newline at end of file diff --git a/content/index.html b/content/index.html index c9a0cee..8b13789 100644 --- a/content/index.html +++ b/content/index.html @@ -1,6 +1 @@ - - - - - - \ No newline at end of file + diff --git a/content/login.php b/content/login.php deleted file mode 100644 index 42b23da..0000000 --- a/content/login.php +++ /dev/null @@ -1,17 +0,0 @@ -prepare('SELECT authentication_salt, authentication_algorithm FROM users WHERE name=:name'); - - - - $result_auth_by_name = $statement_auth_by_name->execute(array('name' => $_POST['name'])); - if (!result_auth_by_name) { - error_log("An SQL error ocurred while logging in.\nUser: $_POST['name']\n" . $statement_auth_by_name->queryString . "\n" . $statement_auth_by_name->errorInfo()[2]); - } - - - //$result_name_by_auth = $Statement_name_by_auth->execute(array('authentication_string' => $authentication_string)); -?> diff --git a/content/signup.php b/content/signup.php deleted file mode 100644 index 735b97a..0000000 --- a/content/signup.php +++ /dev/null @@ -1,20 +0,0 @@ - - - Sign Up - - - -

Willkommen bei der Registrierung!

- - - -
-
-

Bitte gib einen Benutzernamen ein: -

Bitte gib eine E-Mail Adresse ein: -

Bitte gib ein Passwort ein: -

Bitte bestätige dein Passwort ein: - -

- - diff --git a/content/yeet.php b/content/yeet.php deleted file mode 100644 index c579306..0000000 --- a/content/yeet.php +++ /dev/null @@ -1,16 +0,0 @@ - - - - - <?php echo $blob + $mulm; ?> - - - " . $hello . "

"; - ?> - - \ No newline at end of file diff --git a/deployment-script.sh b/deployment-script.sh index 790a82f..15ae026 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -1,4 +1,2 @@ #!/bin/bash #do nothing for now. - -echo "Yeee!" diff --git a/index.html b/index.html index 58c2f06..8b13789 100644 --- a/index.html +++ b/index.html @@ -1,18 +1 @@ - - - - LostCave - Welcome - - -

Welcome to the LostCave WebSite!

-

Login:

-
- - - -
-
- -
- - + diff --git a/stylesheet.css b/stylesheet.css deleted file mode 100644 index 90b512c..0000000 --- a/stylesheet.css +++ /dev/null @@ -1,3 +0,0 @@ -/* -Well yes but actually no. -*/