forked from institute/site
moved banned user check
This commit is contained in:
parent
344d5a4740
commit
fbe30e6eb5
|
@ -3,3 +3,4 @@ ultimate-email
|
|||
newusers.dat
|
||||
/table.*
|
||||
userlist
|
||||
bannedusers.php
|
||||
|
|
26
submit.php
26
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',
|
||||
|
|
Loading…
Reference in New Issue