Пример #1
0
    exit;
}
if (isset($_GET["sshd-restart"])) {
    SSHD_RESTART();
    exit;
}
if (isset($_GET["ssh-keygen"])) {
    SSHD_KEY_GEN();
    exit;
}
if (isset($_GET["ssh-keygen-fingerprint"])) {
    SSHD_KEY_FINGERPRINT();
    exit;
}
if (isset($_GET["ssh-keygen-download"])) {
    SSHD_KEY_DOWNLOAD_PUB();
    exit;
}
if (isset($_GET["sshd-authorized-keys"])) {
    SSHD_KEY_UPLOAD_PUB();
    exit;
}
//SQUID
if (isset($_GET["squid-status"])) {
    SQUID_STATUS();
    exit;
}
if (isset($_GET["squid-reload"])) {
    SQUID_RELOAD();
    exit;
}
Пример #2
0
//WIFI

if(isset($_GET["wifi-ini-status"])){WIFI_INI_STATUS();exit;}
if(isset($_GET["wifi-connect-point"])){WIFI_CONNECT_AP();exit;}
if(isset($_GET["wifi-eth-status"])){WIFI_ETH_STATUS();exit;}
if(isset($_GET["wifi-eth-client-check"])){WIFI_ETH_CHECK();exit;}



//openssh
if(isset($_GET["openssh-ini-status"])){SSHD_INI_STATUS();exit;}
if(isset($_GET["openssh-config"])){SSHD_GET_CONF();exit;}
if(isset($_GET["sshd-restart"])){SSHD_RESTART();exit;}
if(isset($_GET["ssh-keygen"])){SSHD_KEY_GEN();exit;}
if(isset($_GET["ssh-keygen-fingerprint"])){SSHD_KEY_FINGERPRINT();exit;}
if(isset($_GET["ssh-keygen-download"])){SSHD_KEY_DOWNLOAD_PUB();exit;}
if(isset($_GET["sshd-authorized-keys"])){SSHD_KEY_UPLOAD_PUB();exit;}

//SQUID

if(isset($_GET["squid-status"])){SQUID_STATUS();exit;}
if(isset($_GET["squid-reload"])){SQUID_RELOAD();exit;}
if(isset($_GET["squid-ini-status"])){SQUID_INI_STATUS();exit;}
if(isset($_GET["squid-restart-now"])){SQUID_RESTART_NOW();exit;}
if(isset($_GET["force-restart-squid"])){SQUID_RESTART_ALL();exit;}
if(isset($_GET["squid-build-caches"])){SQUID_CACHES();exit;}
if(isset($_GET["squid-task-caches"])){SQUID_TASK_CACHE();exit;}
if(isset($_GET["squid-wrapzap"])){SQUID_WRAPZAP();exit;}
if(isset($_GET["adzapper-compile"])){SQUID_WRAPZAP_COMPILE();exit;}
if(isset($_GET["squid-templates"])){SQUID_TEMPLATES();exit;}
if(isset($_GET["squid-rebuild"])){squid_rebuild();exit;}