exit; } if (isset($_GET["syslogger"])) { syslogger(); exit; } if (isset($_GET["openvpn"])) { openvpn(); exit; } if (isset($_GET["postfix-single"])) { postfix_single(); exit; } if (isset($_GET["nsswitch"])) { nsswitch(); exit; } if (isset($_GET["nsswitch-tenir"])) { nsswitch_tenir(); exit; } if (isset($_GET["cache-pages"])) { cache_pages(); exit; } if (isset($_GET["syslog-test-nas"])) { syslogdb_tests_nas(); exit; } if (isset($_GET["squidlogs-oldlogs-test-nas"])) {
<?php include_once(dirname(__FILE__)."/frame.class.inc"); include_once(dirname(__FILE__)."/class.unix.inc"); if(isset($_GET["syslogger"])){syslogger();exit;} if(isset($_GET["openvpn"])){openvpn();exit;} if(isset($_GET["postfix-single"])){postfix_single();exit;} if(isset($_GET["nsswitch"])){nsswitch();exit;} if(isset($_GET["changeRootPasswd"])){changeRootPasswd();exit;} if(isset($_GET["process1"])){process1();exit;} if(isset($_GET["mysql-status"])){mysql_status();exit;} if(isset($_GET["greensql-status"])){greensql_status();exit;} if(isset($_GET["greensql-reload"])){greensql_reload();exit;} if(isset($_GET["greensql-logs"])){greensql_logs();exit;} if(isset($_GET["restart-postfix-all"])){restart_postfix_all();exit;} while (list ($num, $line) = each ($_GET)){$f[]="$num=$line";} writelogs_framework("unable to understand query !!!!!!!!!!!..." .@implode(",",$f),"main()",__FILE__,__LINE__); die(); function mysql_status(){ exec(LOCATE_PHP5_BIN2()." /usr/share/artica-postfix/exec.status.php --mysql --nowachdog",$results); echo "<articadatascgi>". base64_encode(@implode("\n",$results))."</articadatascgi>"; } function greensql_status(){