Files
web/php/sub.php
Mcat12 4d6ec1c5a5 Remove password functionality
After the change to 0.0.0.0 there will
be no need for a password
2016-04-18 22:07:37 -04:00

13 lines
291 B
PHP

<?php
if(!isset($_GET['domain'], $_GET['list']))
die();
switch($_GET['list']) {
case "white":
exec("/usr/local/bin/whitelist.sh -q -d ${_GET['domain']}");
break;
case "black":
exec("/usr/local/bin/blacklist.sh -q -d ${_GET['domain']}");
break;
}