Esempio n. 1
0
    exit;
}
if (isset($_GET["arp-poisonning-status"])) {
    arp_poisonning_status();
    exit;
}
if (isset($_GET["blkid"])) {
    blkid_infos();
    exit;
}
if (isset($_GET["blkid-all"])) {
    blkid_all();
    exit;
}
if (isset($_GET["dir-status"])) {
    dir_status();
    exit;
}
while (list($num, $line) = each($_GET)) {
    $f[] = "{$num}={$line}";
}
writelogs_framework("unable to understand query !!!!!!!!!!!..." . @implode(",", $f), "main()", __FILE__, __LINE__);
die;
function vmtools_status()
{
    exec(LOCATE_PHP5_BIN2() . " /usr/share/artica-postfix/exec.status.php --vmtools --nowachdog", $results);
    echo "<articadatascgi>" . base64_encode(@implode("\n", $results)) . "</articadatascgi>";
}
function mysql_status()
{
    exec(LOCATE_PHP5_BIN2() . " /usr/share/artica-postfix/exec.status.php --mysql --nowachdog", $results);
Esempio n. 2
0
	if(isset($_GET["SearchPattern"])){list_users();exit;}
	
	if(isset($_GET["DeleteAllAcls"])){DeleteAllAcls();exit;}
	
	if(isset($_GET["AddAclUser"])){AddAclUser();exit;}
	if(isset($_GET["DeleteAclUser"])){DeleteAclUser();exit;}
	if(isset($_GET["ChangeAclUser"])){ChangeAclUser();exit;}
	
	if(isset($_GET["AddAclGroup"])){AddAclGroup();exit;}
	if(isset($_GET["DeleteAclGroup"])){DeleteAclGroup();exit;}
	if(isset($_GET["ChangeAclGroup"])){ChangeAclGroup();exit;}
	if(isset($_GET["set-recursive"])){SubitemsMode();exit;}
	
	if(isset($_GET["chmod_return_only"])){chmod_return_only();exit;}
	if(isset($_GET["chmod_save"])){chmod_save();exit;}
	if(isset($_GET["config"])){dir_status();exit;}
	
	
js();
//fstablist

function js(){
	$tpl=new templates();
	$folder_decrypted=base64_decode($_GET["path"]);
	$title=$tpl->_ENGINE_parse_body("{ACLS}::$folder_decrypted","samba.index.php");
	$members=$tpl->_ENGINE_parse_body("{members}::$folder_decrypted","samba.index.php");
	$page=CurrentPageName();
	$html="
		function acls_folders_start(){
			YahooWin6('550','$page?tabs=yes&path={$_GET["path"]}','$title');
		}