Remove password functionality

After the change to 0.0.0.0 there will
be no need for a password
This commit is contained in:
Mcat12
2016-04-18 22:07:37 -04:00
parent 5e4af2a957
commit 4d6ec1c5a5
5 changed files with 33 additions and 151 deletions

View File

@@ -1,12 +1,7 @@
<?php
if(!isset($_GET['domain'], $_GET['list'], $_GET['pass']))
if(!isset($_GET['domain'], $_GET['list']))
die();
include "functions.php";
if(!checkPass($_GET['pass']))
die("Wrong Password");
switch($_GET['list']) {
case "white":
exec("/usr/local/bin/whitelist.sh -q ${_GET['domain']}");
@@ -14,4 +9,4 @@ switch($_GET['list']) {
case "black":
exec("/usr/local/bin/blacklist.sh -q ${_GET['domain']}");
break;
}
}