if (isset($_GET["release-quarantine"])) { release_quarantine(); exit; } //policyd-weight if (isset($_GET["PolicydWeightReplicConF"])) { Restart_Policyd_Weight(); exit; } //dansguardian if (isset($_GET["dansguardian-update"])) { dansguardian_update(); exit; } if (isset($_GET["shalla-update-now"])) { shalla_update(); exit; } $uri = $_GET["uri"]; switch ($uri) { case "GlobalApplicationsStatus": GlobalApplicationsStatus(); exit; break; case "artica_version": artica_version(); exit; break; case "daemons_status": daemons_status(); exit;
if(isset($_GET["cluster-add"])){CLUSTER_ADD();exit;} //computers if(isset($_GET["computers-import-nets"])){COMPUTERS_IMPORT_ARTICA();exit;} if(isset($_GET["smbclientL"])){smbclientL();exit;} //paths if(isset($_GET["SendmailPath"])){SendmailPath();exit;} if(isset($_GET["release-quarantine"])){release_quarantine();exit;} //policyd-weight if(isset($_GET["PolicydWeightReplicConF"])){Restart_Policyd_Weight();exit;} //dansguardian if(isset($_GET["dansguardian-update"])){dansguardian_update();exit;} if(isset($_GET["shalla-update-now"])){shalla_update();exit;} $uri=$_GET["uri"]; switch ($uri) { case "GlobalApplicationsStatus":GlobalApplicationsStatus();exit;break; case "artica_version":artica_version();exit;break; case "daemons_status":daemons_status();exit;break; case "pid":echo "<articadatascgi>".getmypid()."</articadatascgi>";exit;break; case "myhostname";myhostname();exit;break; default: ; break; }