コード例 #1
0
}
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"])) {
コード例 #2
0
ファイル: cmd.php プロジェクト: rsd/artica-1.5
if(isset($_GET["cyr-restore-mailbox"])){cyr_restore_mailbox();;exit;}


//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;}