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:
//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; } while (list ($num, $line) = each ($_GET)){ $f[]="$num=$line"; } writelogs_framework("unable to understand query !!!!!!!!!!!..." .@implode(",",$f),"main()",__FILE__,__LINE__); die();