示例#1
0
}
if (isset($_GET["filetype"])) {
    file_type();
    exit;
}
if (isset($_GET["mime-type"])) {
    mime_type();
    exit;
}
if (isset($_GET["sync-remote-smtp-artica"])) {
    postfix_sync_artica();
    exit;
}
//etc/hosts
if (isset($_GET["etc-hosts-open"])) {
    etc_hosts_open();
    exit;
}
if (isset($_GET["etc-hosts-add"])) {
    etc_hosts_add();
    exit;
}
if (isset($_GET["etc-hosts-del"])) {
    etc_hosts_del();
    exit;
}
if (isset($_GET["full-hostname"])) {
    hostname_full();
    exit;
}
//computers
示例#2
0
文件: cmd.php 项目: rsd/artica-1.5
if(isset($_GET["lv-resize-add"])){LVM_LV_ADDSIZE();exit;}
if(isset($_GET["lv-resize-red"])){LVM_LV_DELSIZE();exit;}
if(isset($_GET["disk-ismounted"])){disk_ismounted();exit;}
if(isset($_GET["disks-quotas-list"])){disks_quotas_list();exit;}
if(isset($_GET["dfmoinshdev"])){disks_dfmoinshdev();exit;}



if(isset($_GET["filesize"])){file_size();exit;}
if(isset($_GET["filetype"])){file_type();exit;}
if(isset($_GET["mime-type"])){mime_type();exit;}

if(isset($_GET["sync-remote-smtp-artica"])){postfix_sync_artica();exit;}

//etc/hosts
if(isset($_GET["etc-hosts-open"])){etc_hosts_open();exit;}
if(isset($_GET["etc-hosts-add"])){etc_hosts_add();exit;}
if(isset($_GET["etc-hosts-del"])){etc_hosts_del();exit;}
if(isset($_GET["etc-hosts-del-by-values"])){etc_hosts_del_by_values();exit;}



if(isset($_GET["full-hostname"])){hostname_full();exit;}

//computers
if(isset($_GET["nmap-scan"])){nmap_scan();exit;}


//users UNix
if(isset($_GET["unixLocalUsers"])){PASSWD_USERS();exit;}