예제 #1
0
파일: cmd.php 프로젝트: brucewu16899/artica
}
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
if (isset($_GET["nmap-scan"])) {
    nmap_scan();
    exit;
}
예제 #2
0
파일: cmd.php 프로젝트: rsd/artica-1.5
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;}