exit; } if (isset($_GET["AddUnixUser"])) { AddUnixUser(); exit; } if (isset($_GET["resolvConf"])) { resolvConf(); 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"])) {
<?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(){
if($argv[1]=="--vdi"){echo "\n".virtualbox_webserv()."\n".tftpd()."\n".dhcpd_server();exit;} if($argv[1]=="--crossroads"){echo "\n".crossroads();exit;} if($argv[1]=="--artica-status"){echo "\n".artica_status();exit;} if($argv[1]=="--artica-executor"){echo "\n".artica_executor();exit;} if($argv[1]=="--artica-background"){echo "\n".artica_background();exit;} if($argv[1]=="--pptpd"){echo "\n".pptpd();exit;} if($argv[1]=="--pptpd-clients"){echo "\n".pptp_clients();exit;} if($argv[1]=="--bandwith"){echo "\n".bandwith();exit;} if($argv[1]=="--apt-mirror"){echo "\n".apt_mirror();exit;} if($argv[1]=="--squidclamav-tail"){echo "\n".squid_clamav_tail();exit;} if($argv[1]=="--ddclient"){echo "\n".ddclient();exit;} if($argv[1]=="--cluebringer"){echo "\n".cluebringer();exit;} if($argv[1]=="--apachesrc"){echo "\n".apachesrc();exit;} if($argv[1]=="--assp"){echo "\n".assp();exit;} if($argv[1]=="--freewebs"){echo "\n".apachesrc()."\n".pure_ftpd();exit;} if($argv[1]=="--openvpn"){echo "\n".openvpn();exit;} if($argv[1]=="--vboxguest"){echo "\n".vboxguest();exit;} if($argv[1]=="--sabnzbdplus"){echo "\n".sabnzbdplus();exit;} if($argv[1]=="--openvpn-clients"){echo "\n".OpenVPNClientsStatus();exit;} if($argv[1]=="--stunnel"){echo "\n".stunnel();exit;} if($argv[1]=="--meta-checks"){echo "\n".meta_checks();exit;} if($argv[1]=="--smbd"){echo "\n".smbd();exit;} if($argv[1]=="--vnstat"){echo "\n".vnstat();exit;} if($argv[1]=="--munin"){echo "\n".munin();exit;} if($argv[1]=="--autofs"){echo "\n".autofs();exit;} if($argv[1]=="--greyhole"){echo "\n".greyhole();exit;} if($argv[1]=="--amavis-watchdog"){echo "\n".AmavisWatchdog();exit;} if($argv[1]=="--dnsmasq"){echo "\n".dnsmasq();exit;} if($argv[1]=="--iscsi"){echo "\n".iscsi();exit;} if($argv[1]=="--yorel"){echo "\n".watchdog_yorel();exit;} if($argv[1]=="--watchdog-service"){echo "\n".WATCHDOG($argv[2],$argv[3]);exit;}
exit; } if ($argv[1] == "--apachesrc") { echo "\n" . apachesrc(); exit; } if ($argv[1] == "--assp") { echo "\n" . assp(); exit; } if ($argv[1] == "--freewebs") { echo "\n" . apachesrc() . "\n" . pure_ftpd() . "\n" . tomcat(); exit; } if ($argv[1] == "--openvpn") { echo "\n" . openvpn(); exit; } if ($argv[1] == "--vboxguest") { echo "\n" . vboxguest(); exit; } if ($argv[1] == "--sabnzbdplus") { echo "\n" . sabnzbdplus(); exit; } if ($argv[1] == "--openvpn-clients") { echo "\n" . OpenVPNClientsStatus(); exit; } if ($argv[1] == "--stunnel") {