zipproxy(); exit; } if ($argv[1] == "--squid-db") { $GLOBALS["OUTPUT"] = true; squid_db(); exit; } if ($argv[1] == "--iredmail") { $GLOBALS["OUTPUT"] = true; iredmail(); exit; } if ($argv[1] == "--sarg") { $GLOBALS["OUTPUT"] = true; sarg(); exit; } if ($argv[1] == "--squid-stats-central") { $GLOBALS["OUTPUT"] = true; squid_stats_central(); exit; } if ($argv[1] == "--wifidog") { $GLOBALS["OUTPUT"] = true; wifidog(); exit; } if ($argv[1] == "--kav4proxy") { $GLOBALS["OUTPUT"] = true; kav4proxy();
$conf[] = haarp(); $conf[] = nginx(); $conf[] = ftp_proxy(); $conf[] = c_icap_master_status(); $conf[] = cntlm(); $conf[] = cntlm_parent(); $conf[] = rdpproxy_authhook(); $conf[] = rdpproxy(); $conf[] = clamd(); $conf[] = dnsmasq(); $conf[] = ufdbguardd_client(); $conf[] = dnsmasq_squid(); $conf[] = ucarp(); $conf[] = hotspot_web(); $conf[] = hotspot_fw(); $conf[] = sarg(); $conf[] = squid_nat(); $conf[] = ziproxy(); $conf[] = ufdbcat(); $conf[] = HyperCacheWeb(); @unlink($cachefile); @file_put_contents($cachefile, @implode("\n", $conf)); @chmod($cachefile, 0755); echo @implode("\n", $conf); die; } if ($argv[1] == "--hotspot") { $conf[] = hotspot_web(); $conf[] = hotspot_fw(); echo @implode("\n", $conf) . "\n"; die;