about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xsubmit.php26
2 files changed, 2 insertions, 25 deletions
diff --git a/.gitignore b/.gitignore
index 0adf2df..37ab0db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ ultimate-email
 newusers.dat
 /table.*
 userlist
+bannedusers.php
diff --git a/submit.php b/submit.php
index e1ce340..539cec5 100755
--- a/submit.php
+++ b/submit.php
@@ -12,37 +12,13 @@
     <?php include("header.html"); ?>
 	<div id="content" style="text-align: center;">
 <?php
+require_once('bannedusers.php');
 
 if ($_SERVER["SERVER_NAME"] != "localhost")
 	require_once "ultimate-email/support/smtp.php";
 function isTaken($istaken) {
     return in_array($istaken, file("userlist", FILE_IGNORE_NEW_LINES));
 }
-function bannedUsers($name) {
-    return in_array($name, [
-        'abah', //same
-        'abimks', //same
-        'andro', //same
-        'blades', //same as remy
-        'bullah', //same
-        'campari', //was selling eggdrop bots
-        'derby', //same
-        'hasbullah', //same
-        'janda', //same
-        'jundi', // reported by thunix as being part of a botnet
-        'larasaty', //same
-        'makmur', //same
-        'makassar', //same
-        'merc', // reactionary / troll
-        'mks', //same
-        'mom', //same
-        'mzl', //attempted to infect Wilde with ransomware
-        'naruto', //same
-        'pria', //same
-        'remy', //been trying to get accounts for DoS attacks
-        'ripcode', //same as remy
-    ]);
-}
 function forbidden_name($name) {
     return in_array($name, [
         '0x0',