Пример #1
0
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;
}
//tcp
if (isset($_GET["ifconfig-interfaces"])) {
    ifconfig_interfaces();
    exit;
}
if (isset($_GET["ifconfig-all"])) {
    ifconfig_all();
    exit;
}
if (isset($_GET["ifconfig-all-ips"])) {
    ifconfig_all_ips();
    exit;
}
Пример #2
0
//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;}


//tcp
if(isset($_GET["ifconfig-interfaces"])){ifconfig_interfaces();exit;}
if(isset($_GET["ifconfig-all"])){ifconfig_all();exit;}
if(isset($_GET["ifconfig-all-ips"])){ifconfig_all_ips();exit;}
if(isset($_GET["resolv-conf"])){resolv_conf();exit;}
if(isset($_GET["myos"])){MyOs();exit;}
if(isset($_GET["lspci"])){lspci();exit;}
if(isset($_GET["freemem"])){freemem();exit;}
if(isset($_GET["dfmoinsh"])){dfmoinsh();exit;}
if(isset($_GET["printenv"])){printenv();exit;}
if(isset($_GET["GenerateCert"])){GenerateCert();exit;}
if(isset($_GET["all-status"])){GLOBAL_STATUS();exit;}
if(isset($_GET["procstat"])){procstat();exit;}