<?php
### Brainy Control Panel
### Decoded IonCube by pimnik98
### Декодировал Пиминов Никита
### vk.com/piminov_remont
### Скрипт скачан с портала X-Scripts.Ru
?>
#!/etc/brainy/src/compiled/php5/bin/php
<?php
$ddd = "/etc/brainy/api/backupxxxxlog";
error_reporting(0);
require_once "/etc/brainy/conf/globals.php";
require_once "/etc/brainy/lib/punycode/idna_convert.php";
require_once $GLOBALS["SERVER_PHP_PATH"];
$server = new Server();
$server->define();
$server->load();
$smarty = new Smartest();
$tpl = new tpl();
$backup = new backup();
$transfer = new transfer();
$ipmanager = new ipmanager();
$webserver = new webserver();
$ftp = new ftp();
$bindserver = new bindserver();
$hostacc = new hostacc();
$hashmon = new hashmon();
error_reporting(0);
$var = getopt("a:s:p:m:n::");
$tpl->clean = 1;
$action = $var["a"];
$params = $var["p"];
$allvar = json_decode($params, 1);
switch ($action) {
case "hashmon_compare":
$username = htmlspecialchars($allvar["username"], ENT_QUOTES);
$oper = htmlspecialchars($allvar["oper"], ENT_QUOTES);
$hashpath0 = htmlspecialchars($allvar["hashpath0"], ENT_QUOTES);
$hashpath1 = htmlspecialchars($allvar["hashpath1"], ENT_QUOTES);
$out = $hashmon->comparehash($username, $oper, $hashpath0, $hashpath1);
break;
}
echo $action;
?>