From f0cbce70a431b07e0b2113700ae1419e77ea4833 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 Sep 2019 14:42:17 -0400 Subject: [PATCH] start importing wiki articles from github --- signup/index.php | 4 +- signup/signup-handler.php | 4 +- wiki/Safe-Scripting-the-Tilde-Way.html | 83 +++++++++++ wiki/Setting-up-email.html | 31 ++++ wiki/Time-zone.html | 32 ++++ wiki/Usenet-news.html | 35 +++++ wiki/chat.html | 34 +++++ wiki/edit_index.html | 41 ++++++ wiki/email.html | 34 +++++ wiki/faq.html | 4 +- wiki/finding_index.html | 35 +++++ wiki/index.php | 11 +- wiki/netiquette.html | 44 ++++++ wiki/screen.html | 31 ++++ wiki/security.html | 134 +++++++++++++++++ wiki/slrn.html | 31 ++++ wiki/source/Safe-Scripting-the-Tilde-Way.md | 52 +++++++ wiki/source/Setting-up-email.md | 11 ++ wiki/source/Time-zone.md | 14 ++ wiki/source/Usenet-news.md | 24 +++ wiki/source/chat.md | 14 ++ wiki/source/edit_index.md | 22 +++ wiki/source/email.md | 12 ++ wiki/source/faq.md | 2 +- wiki/source/finding_index.md | 17 +++ wiki/source/netiquette.md | 33 +++++ wiki/source/screen.md | 10 ++ wiki/source/security.md | 153 ++++++++++++++++++++ wiki/source/slrn.md | 10 ++ wiki/source/ssh.md | 4 - wiki/source/tin.md | 11 ++ wiki/tin.html | 32 ++++ 32 files changed, 995 insertions(+), 14 deletions(-) create mode 100644 wiki/Safe-Scripting-the-Tilde-Way.html create mode 100644 wiki/Setting-up-email.html create mode 100644 wiki/Time-zone.html create mode 100644 wiki/Usenet-news.html create mode 100644 wiki/chat.html create mode 100644 wiki/edit_index.html create mode 100644 wiki/email.html create mode 100644 wiki/finding_index.html create mode 100644 wiki/netiquette.html create mode 100644 wiki/screen.html create mode 100644 wiki/security.html create mode 100644 wiki/slrn.html create mode 100644 wiki/source/Safe-Scripting-the-Tilde-Way.md create mode 100644 wiki/source/Setting-up-email.md create mode 100644 wiki/source/Time-zone.md create mode 100644 wiki/source/Usenet-news.md create mode 100644 wiki/source/chat.md create mode 100644 wiki/source/edit_index.md create mode 100644 wiki/source/email.md create mode 100644 wiki/source/finding_index.md create mode 100644 wiki/source/netiquette.md create mode 100644 wiki/source/screen.md create mode 100644 wiki/source/security.md create mode 100644 wiki/source/slrn.md create mode 100644 wiki/source/tin.md create mode 100644 wiki/tin.html diff --git a/signup/index.php b/signup/index.php index 8d94175..eaf867e 100644 --- a/signup/index.php +++ b/signup/index.php @@ -27,12 +27,12 @@ include __DIR__."/../header.php";

what interests you about tilde.club? we want to make sure you're a real human being :)

- +

SSH public key

- +

if you don't have a key, don't worry! check out our guide to ssh keys and make sure that you only put your pubkey here

diff --git a/signup/signup-handler.php b/signup/signup-handler.php index 4465653..7a752d5 100644 --- a/signup/signup-handler.php +++ b/signup/signup-handler.php @@ -97,18 +97,20 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { // no validation errors if ($message == "") { + $makeuser = "makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$_REQUEST["sshkey"]}\""; $msgbody = " username: {$_REQUEST["username"]} email: {$_REQUEST["email"]} reason: {$_REQUEST["interest"]} -makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$_REQUEST["sshkey"]}\" +$makeuser "; if (mail('root', 'new tilde.club signup', $msgbody)) { echo ''; + file_put_contents("/var/signups", $makeuser.PHP_EOL, FILE_APPEND); } else { echo '