Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php goto FPBoE; Eal49: function convert_netmask($netmaskstring) { goto TsylC; fDc1y:..

Decoded Output download

<?php 
 
 goto FPBoE; Eal49: function convert_netmask($netmaskstring) { goto TsylC; fDc1y: z0ANm: goto iPbL9; VHF3E: $x = explode(".", $netmaskstring); goto zAcPG; hGHJL: return $g; goto lGRrg; weC6k: if (!($g < 32 && $mask & $s)) { goto j1YYI; } goto YHC1A; huQl2: $s = 2147483648.0; goto ABJ3a; iPbL9: $g = 0; goto huQl2; yGK0M: goto sO0gJ; goto AfgNI; A3jBK: foreach ($x as $y) { goto Z3SyF; uMl_g: $s -= 8; goto s00U7; s00U7: H5yC_: goto XdvVw; Z3SyF: $mask |= (int) ($y * 1) << $s; goto uMl_g; XdvVw: } goto fDc1y; tPN_u: $s &= 2147483647; goto XxGUr; TsylC: $mask = (int) 0; goto VHF3E; AfgNI: j1YYI: goto hGHJL; ABJ3a: sO0gJ: goto weC6k; XxGUr: rZs5Q: goto llX0B; zAcPG: $s = 24; goto A3jBK; llX0B: $g++; goto yGK0M; YHC1A: $s >>= 1; goto tPN_u; lGRrg: } goto nICSz; TwpCc: require_once "permissions.php"; goto GWkk7; YWjQd: function addr2int($addr) { goto ABXQW; BeU2A: $a = $x[0] * 16777216 + $x[1] * 65536 + $x[2] * 256 + $x[3]; goto jTu_N; ABXQW: $x = explode(".", $addr); goto BeU2A; jTu_N: return $a; goto MbRw2; MbRw2: } goto AyrCI; e2acb: define("b8", "e"); goto JdPxQ; FPBoE: require_once "version.php"; goto mBrO0; Rty8K: function is_admin_area() { return $_SERVER["REMOTE_USER"] && substr($_SERVER["REQUEST_URI"], 0, 9) == "/vpnadmin"; } goto weAye; weAye: function need_admin_rights() { goto yFYjk; XWzuM: FLY5C: goto YIkCd; YIkCd: return true; goto qh5Se; yFYjk: if (is_admin_area()) { goto FLY5C; } goto rjLqn; rjLqn: access_denied("Admin rights needed."); goto XWzuM; qh5Se: } goto SVD6b; mBrO0: require_once "config.inc.php"; goto nKs_n; txFHR: error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); goto ZQouE; ion6w: define("b7", "z"); goto e2acb; R5Hpc: function kbytes_to_string($kb) { goto o5FIL; eR9HC: return sprintf("%0.2f %s", $kb / $scale, $units[$ui]); goto mmor8; lY9rI: $scale = 1024 * 1024 * 1024; goto I0mFI; C7PQw: Nq8C6: goto eR9HC; odBDZ: $scale = $scale / 1024; goto XUEym; o5FIL: $units = array("TB", "GB", "MB", "KB"); goto lY9rI; I0mFI: $ui = 0; goto l3vgH; XUEym: goto LKy0M; goto C7PQw; A8lBB: if (!($kb < $scale && $scale > 1)) { goto Nq8C6; } goto kDdqX; kDdqX: $ui++; goto odBDZ; l3vgH: LKy0M: goto A8lBB; mmor8: } goto FLAoN; AyrCI: function net_maskerade($netaddr, $netmask) { goto jnxyy; wKUNA: FXOiE: goto ex3Wa; ex3Wa: if (!($i < $netmask)) { goto hSYfJ; } goto ZnXiX; pvVuJ: hSYfJ: goto yY1IB; ZnXiX: $m >>= 1; goto Uq3ya; wC0q4: goto FXOiE; goto pvVuJ; aHTX1: $m = 0; goto wKUNA; oNQ_R: vjXO5: goto Gp6id; Gp6id: $i++; goto wC0q4; yY1IB: return int2addr($naddr & $m); goto zYRtQ; jnxyy: $naddr = addr2int($netaddr); goto ayKmO; ayKmO: $i = 0; goto aHTX1; Uq3ya: $m |= 2147483648.0; goto oNQ_R; zYRtQ: } goto dPflV; gQKUd: function int2addr($a) { return long2ip((double) $a); } goto YWjQd; XkpnY: function sizeformat($bytesize) { goto OdUxW; XTG3l: $units = array("Bytes", "KB", "MB", "GB", "TB"); goto s7aA1; W0OOT: Hp4CF: goto XTG3l; z2ESe: sJPYF: goto abzxE; s7aA1: $newsize = round($bytesize, 2); goto Hs6Se; Hs6Se: return "{$newsize} {$units[$i]}"; goto ronTn; IkAJf: $i++; goto AbHt6; AbHt6: if (!($i == 4)) { goto sJPYF; } goto hQtnD; ZHA61: $bytesize = $bytesize / 1024; goto IkAJf; hQtnD: goto Hp4CF; goto z2ESe; OdUxW: $i = 0; goto to3KR; abzxE: goto WycZY; goto W0OOT; Zxe_3: if (!(abs($bytesize) >= 1024)) { goto Hp4CF; } goto ZHA61; to3KR: WycZY: goto Zxe_3; ronTn: } goto R5Hpc; eBFHA: function get_vnarray($user_adressbits, $client_adressbits, $vnbase, $vnet = '', $teleworker = 0) { goto gUMxW; x72Hh: $res = Db::Query("SELECT "VirtualNetwork" FROM "public"."RemoteNetworks""); goto NMy5r; Z8JiH: return $vnarray; goto xKI3X; fx08C: $i = 0; goto OdZms; paWOJ: $key = array_search($row[0], $vnarray); goto ZADNQ; TO3V8: j0tRm: goto fQ4Oc; JKLp1: if (!$res) { goto JTvkI; } goto TO3V8; ZADNQ: if (!($key === false)) { goto w5JLJ; } goto biSHA; X2qEW: B3jGU: goto x72Hh; R5S5F: $vnarray[$i] = int2addr(addr2int($vnbase) + $i * pow(2, 32 - $client_adressbits)); goto SaBEA; Ms0lE: if (!($i < pow(2, 32 - $user_adressbits - (32 - $client_adressbits)))) { goto hjjad; } goto R5S5F; lnERP: goto U2HNh; goto CgD2n; v3Akj: goto j0tRm; goto HJw9i; Qx4lE: $vnarray = array_values($vnarray); goto Z8JiH; IAZLL: iJpSh: goto T3jGv; gUMxW: $vnarray = array(); goto fx08C; uNPEt: goto j0tRm; goto IAZLL; NMy5r: Erqc8: goto JKLp1; qM7AU: goto Erqc8; goto X2qEW; i4J6L: if (!($vnarray[$key] == $vnet)) { goto huHWA; } goto v3Akj; CgD2n: hjjad: goto g1ATH; HJw9i: huHWA: goto vucUp; JKLWy: $i++; goto lnERP; SaBEA: Pf_qG: goto JKLWy; vucUp: unset($vnarray[$key]); goto uNPEt; O2DkI: $res = Db::Query("SELECT "VirtualNetwork" FROM "public"."RemoteNetworks"  WHERE ("Teleworker" = 0)"); goto qM7AU; OdZms: U2HNh: goto Ms0lE; fQ4Oc: if (!($row = Db::Fetch($res))) { goto iJpSh; } goto paWOJ; T3jGv: JTvkI: goto Qx4lE; CMkpX: w5JLJ: goto i4J6L; g1ATH: if ($teleworker == 0) { goto B3jGU; } goto O2DkI; biSHA: goto j0tRm; goto CMkpX; xKI3X: } goto jpPH9; dLkpu: require_once "database.php"; goto TwpCc; pcRlv: function cert_make($action = '', $user = 0, $name = '', $country = '', $province = '', $city = '', $org = '', $org_unit = '', $email = '', $passwd = '') { goto WiEZ9; meUfm: if ($action === "build") { goto WRC3O; } goto ohCgN; yZXzf: fputs($handle, "export OPENSSL="openssl"
"); goto LJY4c; RTIta: goto JT70t; goto kG0md; tG36k: JT70t: goto yZnH4; LJY4c: fputs($handle, "export PKCS11TOOL="pkcs11-tool"\xa"); goto WXa5z; zRN16: fputs($handle, "export CA_EXPIRE=7300
"); goto YSNNU; ZPWGn: fputs($handle, "export KEY_CITY=" . escapeshellarg(file_config_escape($city)) . "\xa"); goto T3bcq; Ssdut: fputs($handle, "export KEY_EMAIL=" . escapeshellarg(file_config_escape($email)) . "
"); goto Cfnb2; m8sG1: fputs($handle, "export KEY_ORG_UNIT=" . escapeshellarg(file_config_escape($org_unit)) . "\xa"); goto Ssdut; NX_UD: exec("rm -f " . RSA_DIR . "/keys/" . escapeshellarg("__GROUP__" . $user . "__CLIENT__" . $name) . ".key"); goto ULAzL; T3bcq: fputs($handle, "export KEY_ORG=" . escapeshellarg(file_config_escape($org)) . "\xa"); goto m8sG1; YSNNU: fputs($handle, "export KEY_EXPIRE=7300\xa\xa"); goto mAmQO; K3eRL: fclose($handle); goto UHTKa; jUj0h: fputs($handle, "export KEY_DIR="$EASY_RSA/keys"\xa"); goto et8mw; WXa5z: fputs($handle, "export GREP="grep"\xa"); goto veeJR; Y9_B6: fputs($handle, "export EASY_RSA="`pwd`"
"); goto yZXzf; yZnH4: CQI0c: goto KmqEN; x2Qku: fputs($handle, "export KEY_COUNTRY=" . escapeshellarg(file_config_escape($country)) . "
"); goto Jc2sF; gs6yH: goto CQI0c; goto mNWnr; ULAzL: g3Juk: goto gs6yH; TbqSp: if (strlen($passwd) > 0) { goto QXp4_; } goto PE0aM; ohCgN: if (!($action === "revoke")) { goto g3Juk; } goto PG0mz; Cfnb2: fflush($handle); goto K3eRL; mAmQO: fputs($handle, "export KEY_CN=" . escapeshellarg(file_config_escape("__GROUP__" . $user . "__CLIENT__" . $name)) . "\xa"); goto x2Qku; PE0aM: exec(RSA_DIR . "/build-key " . escapeshellarg("__GROUP__" . $user . "__CLIENT__" . $name)); goto RTIta; mNWnr: WRC3O: goto TbqSp; UHTKa: r8hfG: goto meUfm; veeJR: fputs($handle, "export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`
"); goto jUj0h; Oinr_: exec(RSA_DIR . "/build-key-pass-batch " . escapeshellarg("__GROUP__" . $user . "__CLIENT__" . $name) . " " . escapeshellarg($passwd)); goto tG36k; kG0md: QXp4_: goto Oinr_; LYYxU: fputs($handle, "export KEY_SIZE=" . CERT_KEY_SIZE . "
"); goto zRN16; RO9tz: exec("rm -f " . RSA_DIR . "/keys/" . escapeshellarg("__GROUP__" . $user . "__CLIENT__" . $name) . ".csr"); goto NX_UD; Jc2sF: fputs($handle, "export KEY_PROVINCE=" . escapeshellarg(file_config_escape($province)) . "
"); goto ZPWGn; et8mw: fputs($handle, "export PKCS11_MODULE_PATH="dummy"\xa"); goto LcYWM; WiEZ9: if (!($handle = fopen(RSA_DIR . "/vars", "w"))) { goto r8hfG; } goto Y9_B6; PG0mz: exec(RSA_DIR . "/revoke-full " . escapeshellarg("__GROUP__" . $user . "__CLIENT__" . $name)); goto GKEqD; LcYWM: fputs($handle, "export PKCS11_PIN="dummy"

"); goto LYYxU; GKEqD: exec("rm -f " . RSA_DIR . "/keys/" . escapeshellarg("__GROUP__" . $user . "__CLIENT__" . $name) . ".crt"); goto RO9tz; KmqEN: } goto Zhavd; mv2ZI: function generate_password($len = 10) { goto kI8In; kI8In: $r = ''; goto L7PuE; yi3oz: u4tpP: goto vQ6EA; yCS_H: $i = 0; goto hwxa0; Mc_B3: goto DtlMV; goto yi3oz; KA3QA: TXSvi: goto t6s1s; t6s1s: $i++; goto Mc_B3; vQ6EA: return $r; goto l1pSS; HVa4O: if (!($i < $len)) { goto u4tpP; } goto LJyqR; LJyqR: $r .= $c[rand(0, count($c) - 1)]; goto KA3QA; L7PuE: $c = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "k", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "2", "3", "4", "5", "6", "7", "8", "9", "#", "!"); goto yCS_H; hwxa0: DtlMV: goto HVa4O; l1pSS: } goto XyOm4; SVD6b: function need_user_rights() { goto pWTOg; FO18_: Fr0K2: goto NtDQ2; NtDQ2: return true; goto mdCoY; pWTOg: if (!(!$_SESSION["selected_user"] && !is_admin_area())) { goto Fr0K2; } goto ReoYa; ReoYa: access_denied("Please log in"); goto FO18_; mdCoY: } goto r1iaB; nKs_n: require_once "language.php"; goto g2LPl; mQoxc: function write_router_config($name, $user, $ConfigFileName, $profile) { goto MDf8X; GO8cB: if (!(strlen($httpproxyuser) > 0 && strlen($httpproxypass) > 0)) { goto t8DRn; } goto JXH_8; mhGiZ: $cfg = explode("\xa", $addon_config); goto l9D2p; K0cpU: fputs($handle, "STARTUP=\xa"); goto mhGiZ; xSbyx: fputs($handle, "STARTUP=iptables -t nat -I POSTROUTING ! -p icmp -s " . SERVER_NET_BASE . ".0.0/16 -o tun0 -j SNAT --to-source " . real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits) . "
"); goto fMnuu; OCSTu: Km5fg: goto xnexZ; M7KyV: fputs($handle, "STARTUP=cat > /var/openvpn/scripts/openvpn.up <<EOF\xa"); goto Vsmu8; wNWO4: fputs($handle, $OPENVPN . "_EXTRA_OPTS="--float --nobind --script-security 2"); goto RtEpx; Rv4OI: fputs($handle, "STARTUP=iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE\xa"); goto zNAk0; I9W0v: $vpnch = $row[3]; goto m5bKf; iNaZE: fputs($handle, $OPENVPN . "_DESCRIPTION=" . $alias_name . "
"); goto X80r6; DS8it: $filename = HOME_DIR . "/cfg/" . $ConfigFileName; goto FswKh; NzI3s: fputs($handle, $OPENVPN . "_PING_INTVL=500
"); goto g0JxS; khE5F: fputs($handle, "STARTUP=" . escapeshellarg($httpproxypass) . "\xa"); goto X9p8K; eXf3q: q7M7o: goto Tq13I; ZcBr7: QRC9z: goto krSpj; RYYlC: pBXTm: goto ZW7CM; QymQs: fputs($handle, "STARTUP=iptables -t nat -D PREROUTING -d " . escapeshellarg($vnet . "/" . $client_adressbits) . $itunx . " -j NETMAP --to " . escapeshellarg($ip . "/" . $client_adressbits) . "
"); goto pdAss; yM9nJ: if (!ROUTERS_LAN_ADDR_IN_CONFIG) { goto WknjN; } goto Ig7EX; OSWhg: nGTui: goto KSp96; M4xT0: $httpproxy = $row[6]; goto NS27E; r0xSq: $nr = $row[2]; goto I9W0v; UFbVZ: if (!($profile != 0 && $profile != 99)) { goto Atgqc; } goto OR6kd; aNu3j: fputs($handle, "STARTUP=iptables -t nat -I POSTROUTING -s " . escapeshellarg($ip . "/" . $client_adressbits) . $otunx . " -j NETMAP --to " . escapeshellarg($vnet . "/" . $client_adressbits) . "
"); goto rk9Ef; mJ0t5: goto NLr4u; goto lM3SA; krSpj: if (strlen($httpproxy) > 0 && strlen($httpproxyport) > 0) { goto pBXTm; } goto wNWO4; S5pa9: $handle = fopen($filename, "w"); goto WQcOV; qe1aB: if (!USE_TLS_AUTH) { goto kqXt6; } goto iXBUj; k2xZJ: goto t0bs_; goto xGYNa; fOFEQ: jjmtU: goto WopbY; SV77S: jQhEi: goto x9r57; oj490: $itunx = " -i tun" . $vpnch; goto TfXnf; VV3bL: fputs($handle, "ETH_IPADDR=" . $router_addr . "
"); goto sanUd; VD78V: ybHn1: goto NzI3s; pBBso: fputs($handle, "SMS_RECV_COMMANDS=1\xa"); goto JlkVR; mTh7T: GPAsC: goto wQ3PL; HIMnI: fputs($handle, "STARTUP=cipher " . OPENVPN_CIPHER . "
"); goto BpUHv; eOjFz: oEaHo: goto nt2kH; VbkfE: fputs($handle, "STARTUP=http-proxy " . escapeshellarg($httpproxy) . " " . escapeshellarg($httpproxyport) . " /var/openvpn/openvpn.auth ntlm
"); goto hHjhC; ULPKe: if (!(strlen($httpproxy) > 0 && strlen($httpproxyport) > 0)) { goto TLD8u; } goto eKNMN; QZfCO: E0hLZ: goto OHNZl; htBbN: if (!OPENVPN_CFG_ROUTEUP_SCRIPT) { goto VUAG7; } goto AD8Ye; PO9Or: t8DRn: goto iRkl_; Asv3b: fputs($handle, "STARTUP=service openvpn start\xa"); goto KhNbN; wQFP0: fputs($handle, "STARTUP=iptables -t nat -D POSTROUTING ! -p icmp -s " . SERVER_NET_BASE . ".0.0/16 -o tun0 -j SNAT --to-source " . real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits) . "\xa"); goto xSbyx; PN9EU: if (!OPENVPN_ENABLED) { goto XzNPf; } goto A3w1x; pRIww: $option_SNMP_SUPPORT = $row[14]; goto SV77S; zaaTe: PcZoH: goto Imxxj; abmL6: if (!($option_masquerade != 0)) { goto oEaHo; } goto Rv4OI; ODY4z: fputs($handle, $OPENVPN . "_REMOTE_IPADDR=" . $paddr . "\xa"); goto JMLxW; clJ_U: kVVdu: goto ywsKa; nt2kH: if (!(SNMP_WORKAROUND && $option_SNMP_SUPPORT != 0)) { goto E0hLZ; } goto CKstL; Psd0z: fputs($handle, "STARTUP=\xa"); goto htBbN; Ig7EX: fputs($handle, "ETH_BOOTPROTO=static
"); goto VV3bL; TsQTZ: QjC8Y: goto zduMS; MTBtZ: fputs($handle, $OPENVPN . "_PORT=" . (int) $pport_tcp . "
"); goto dKs24; TApI7: $router_addr = $row[12]; goto wBhCz; mfYBY: if (!($option_vpnstrict == 0)) { goto Apm15; } goto oj490; OHNZl: if (!OPENVPN_CFG_ROUTEUP_SCRIPT) { goto r1b86; } goto SzNHG; FswKh: if (!($profile != 0 && MULTIPLE_CONFIGS)) { goto PcZoH; } goto DlKZV; c_dBF: if (!(strlen(OPENVPN_CIPHER) > 0)) { goto f9vuP; } goto HIMnI; C_PzM: pwtq4: goto PN9EU; KSp96: $itunx = ''; goto d8t0_; wuwzh: HcRrI: goto jmcxn; syO5F: fputs($handle, "STARTUP=" . escapeshellarg($httpproxyuser) . "\xa"); goto khE5F; JlkVR: fputs($handle, "SMS_RECV_PHONE_NO1=*\xa"); goto OSWhg; QDshx: $vnet = $row[1]; goto r0xSq; GGlS9: goto k10PN; goto RYYlC; rldz_: fputs($handle, $OPENVPN . "_PING_INTVL=60\xa"); goto JwqgC; nG6_o: fputs($handle, "ETH_NETWORK=" . $ip . "
"); goto Rlmoa; CwhdR: fputs($handle, "TESTVAR="HuHuHaha"\xa"); goto Gb7zI; Tq13I: kqXt6: goto bgoPA; gKOcR: r1b86: goto ULPKe; tBop5: $client_adressbits = $row[2]; goto QggnZ; R11ou: $alias_name = utf8_decode($row[11]); goto TApI7; Q56nd: $paddr = $row[0]; goto FbcJq; LmE5T: fputs($handle, " --route-up /var/openvpn/scripts/openvpn.up"); goto clJ_U; zduMS: if (!($row = Db::QueryFetch("SELECT \x9"IP", \xa	\x9		\x9"VirtualNetwork", 
\x9\x9\x9\x9\x9"NR", 
	\x9	\x9	"OpenVPNCh", \xa			\x9	"OPTION_VPNSTRICT", 
			\x9	"OPTION_MASQUERADE", 
	\x9\x9	\x9"HTTPProxy",\xa\x9	\x9\x9\x9"HTTPProxyPort",
			\x9	"HTTPProxyUser",
	\x9	\x9	"HTTPProxyPass", \xa					"ADDON_CONFIG",\xa	\x9\x9		"ALIAS_NAME",\xa					"RouterAddr",\xa		\x9\x9\x9"Protocol",\xa	\x9\x9\x9\x9"OPTION_SNMP_SUPPORT" FROM "public"."RemoteNetworks" WHERE ("NAME" = '" . Db::Escape($name) . "' AND "USER" = '" . Db::Escape($user) . "' )"))) { goto jQhEi; } goto s2tOv; hHjhC: o9MpG: goto t0VY4; R6cet: $httpproxyuser = $row[8]; goto eN55d; MDf8X: if (!($row = Db::QueryFetch("SELECT "PublicAddr", "PublicPort", "CLIENT_ADRESSBITS", "PublicPort_tcp" FROM "public"."Network""))) { goto QjC8Y; } goto Q56nd; uZ1xX: if (!($row = Db::QueryFetch($query_str))) { goto Mz13P; } goto krpQM; X80r6: if ($protocol == "tcp") { goto zd1E7; } goto k9puW; jmcxn: fputs($handle, "STARTUP=#!/bin/sh\xa"); goto Psd0z; WQcOV: if (!$handle) { goto GPAsC; } goto UFbVZ; KsMAr: if (OPENVPN_COMP_LZO) { goto iBmbL; } goto htq1e; eKNMN: fputs($handle, "STARTUP=cat > /var/openvpn/openvpn.cfg <<EOF
"); goto iYFHK; yatvS: fputs($handle, "OPENVPN_LOCAL_CERT=" . base64_encode("-----BEGIN CERTIFICATE-----" . $zertarray1[1]) . "\xa"); goto LWrp1; gTbzi: Mz13P: goto GLqjl; QdrDG: fputs($handle, "STARTUP=iptables -t nat -D POSTROUTING -s " . escapeshellarg($ip . "/" . $client_adressbits) . $otunx . " -j NETMAP --to " . escapeshellarg($vnet . "/" . $client_adressbits) . "
"); goto aNu3j; JXH_8: fputs($handle, "STARTUP=cat > /var/openvpn/openvpn.auth <<EOF
"); goto syO5F; iXBUj: if (!file_exists(RSA_DIR . "/keys/ta.key")) { goto q7M7o; } goto uA5eM; i5ZDu: aLazT: goto hzBtf; Imxxj: $filename = $filename . ".cfg"; goto S5pa9; iw2xo: $handle = fopen($temp_filename, "w"); goto YVF3v; QggnZ: $pport_tcp = $row[3]; goto TsQTZ; SI5o0: otz26: goto KsMAr; hCeog: VUAG7: goto uodR9; wqQEO: $pz = $profile < 4 ? $profile : $profile - 3; goto zaaTe; ywsKa: if (!(strlen(OPENVPN_CIPHER) > 0)) { goto ynLHw; } goto U9noj; GhZvv: cVytz: goto VbkfE; PX9NJ: $zertarray1 = explode("-----BEGIN CERTIFICATE-----", file_get_contents(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $name . STR_CERT_SUFFIX . ".crt")); goto yatvS; J1o5Z: fputs($handle, "OPENVPN_SECRET=" . base64_encode("-----BEGIN OpenVPN Static key V1-----" . $zertarray1[1]) . "
"); goto eXf3q; Vsmu8: fputs($handle, "STARTUP=#!/bin/sh
"); goto hCeog; zMC62: if (strlen($httpproxyuser) > 0 && strlen($httpproxypass) > 0) { goto cVytz; } goto br8y_; eN55d: $httpproxypass = $row[9]; goto AvxaZ; Ktyfo: QvciF: goto Ssndw; BDqlg: if (!SMS_MESSAGES_IN_CONFIG) { goto nGTui; } goto pBBso; iRkl_: fputs($handle, "STARTUP=service openvpn stop\xa"); goto Asv3b; zNAk0: fputs($handle, "STARTUP=iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE\xa"); goto eOjFz; d8t0_: $otunx = ''; goto mfYBY; UvCZr: NLr4u: goto MhJRa; uKPQu: fputs($handle, ""
"); goto GGlS9; WR92U: fputs($handle, "OPENVPN_LOCAL_KEY=" . base64_encode(file_get_contents(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $name . STR_CERT_SUFFIX . ".key")) . "\xa"); goto ZcBr7; uodR9: if (!OPENVPN_CFG_NETMAP) { goto MBVzB; } goto QymQs; lEUug: fputs($handle, $OPENVPN . "_PORT=" . (int) $pport . "\xa"); goto k2xZJ; pdAss: fputs($handle, "STARTUP=iptables -t nat -I PREROUTING -d " . escapeshellarg($vnet . "/" . $client_adressbits) . $itunx . " -j NETMAP --to " . escapeshellarg($ip . "/" . $client_adressbits) . "
"); goto QdrDG; wRkhg: $OPENVPN = "OPENVPN"; goto SuV5L; JMLxW: if (OPENVPN_TCP_MIN_TRAFIC === true && $protocol == "tcp") { goto ybHn1; } goto rldz_; oeprd: XzNPf: goto iNaZE; ZW7CM: fputs($handle, $OPENVPN . "_EXTRA_OPTS="--config /var/openvpn/openvpn.cfg"\xa"); goto MHXqH; TSB4N: exec("rm -f " . $temp_filename); goto Ktyfo; t0VY4: fputs($handle, "STARTUP=up /var/openvpn/scripts/openvpn.up
"); goto c_dBF; xGYNa: zd1E7: goto n_kU2; U6EmL: fflush($handle); goto NcRJw; hzBtf: $OPENVPN = "OPENVPN" . ($vpnch + 1); goto C_PzM; LWrp1: v3ydy: goto HqsHG; NcRJw: fclose($handle); goto mTh7T; AD8Ye: fputs($handle, "STARTUP=mkdir /var/openvpn/scripts\xa"); goto M7KyV; k9puW: fputs($handle, $OPENVPN . "_PROTO=udp\xa"); goto lEUug; QkX2i: fputs($handle, "STARTUP=chmod 755 /var/openvpn/scripts/openvpn.up
"); goto gKOcR; fMnuu: fputs($handle, "STARTUP=#---------------------- for SNMP end -----------------------------------
"); goto QZfCO; OR6kd: fputs($handle, "PROFILE=alt" . $pz . "
"); goto UwHcW; nTWhM: exec(HOME_DIR . "/scripts/write_cfg.sh " . $temp_filename); goto TSB4N; bgoPA: if (!file_exists(RSA_DIR . "/keys/ca.crt")) { goto Km5fg; } goto qb3Bd; SuV5L: goto pwtq4; goto i5ZDu; DaCh3: $option_masquerade = $row[5]; goto M4xT0; DlKZV: $query_str = "SELECT "ALT" . $profile . "_ADDON_CONFIG" FROM "public"."AdditionalOptions" WHERE ( "GROUP" = '" . $user . "' AND "CLIENT" = '" . $nr . "' AND "LOCUS" = '2' )"; goto uZ1xX; U9noj: fputs($handle, " --cipher " . OPENVPN_CIPHER); goto FP_bi; A3w1x: fputs($handle, $OPENVPN . "_ENABLED=1
"); goto oeprd; Rlmoa: WknjN: goto xuTZF; RtEpx: if (!OPENVPN_CFG_ROUTEUP_SCRIPT) { goto kVVdu; } goto LmE5T; Gb7zI: fclose($handle); goto nTWhM; iYFHK: fputs($handle, "STARTUP=script-security 2\xa"); goto zMC62; sanUd: fputs($handle, "ETH_NETMASK=" . netmask_convert($client_adressbits) . "\xa"); goto nG6_o; NS27E: $httpproxyport = $row[7]; goto R6cet; CKstL: fputs($handle, "STARTUP=#---------------------- for SNMP ---------------------------------------
"); goto wQFP0; m5bKf: $option_vpnstrict = $row[4]; goto DaCh3; DDORf: fputs($handle, $OPENVPN . "_COMP=lzo\xa"); goto UvCZr; MhJRa: fputs($handle, $OPENVPN . "_AUTH=tls-mclient\xa"); goto qe1aB; BpUHv: f9vuP: goto udpXL; n_kU2: fputs($handle, $OPENVPN . "_PROTO=tcp-client
"); goto MTBtZ; dKs24: t0bs_: goto ODY4z; xnexZ: if (!file_exists(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $name . STR_CERT_SUFFIX . ".crt")) { goto v3ydy; } goto PX9NJ; YVF3v: if (!$handle) { goto QvciF; } goto CwhdR; X9p8K: fputs($handle, "STARTUP=EOF\xa"); goto PO9Or; JwqgC: fputs($handle, $OPENVPN . "_PING_TOUT=150\xa"); goto REBlT; xuTZF: if ($vpnch != 0) { goto aLazT; } goto wRkhg; Q9j0n: foreach ($cfg as $cfgline) { goto wfBR3; oU0yH: fputs($handle, $cfgline . "
"); goto TB3Xc; TB3Xc: IfTFn: goto ny3bV; wfBR3: if (strstr($cfgline, "STARTUP")) { goto IfTFn; } goto oU0yH; ny3bV: xxEV2: goto Hxabf; Hxabf: } goto wuwzh; l9D2p: foreach ($cfg as $cfgline) { goto LJH8y; h_vjl: $zeile = str_replace("#ROUTERVPNADDR#", real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits), $zeile); goto UVY5Z; UVY5Z: $zeile = str_replace("#NETMASKB#", netmask_convert($client_adressbits), $zeile); goto IkKjk; W8XxY: fputs($handle, $zeile . "
"); goto KsMNe; KsMNe: sgag3: goto QLELv; QLELv: duTNq: goto Qk4RA; vX1bj: $zeile = $cfgline; goto YOIOp; IkKjk: $zeile = str_replace("#NETMASKC#", escapeshellarg($client_adressbits), $zeile); goto W8XxY; LJH8y: if (!strstr($cfgline, "STARTUP")) { goto sgag3; } goto vX1bj; POiJ5: $zeile = str_replace("#LANADDR#", escapeshellarg($ip), $zeile); goto I2oTU; I2oTU: $zeile = str_replace("#ROUTERADDR#", escapeshellarg($router_addr), $zeile); goto h_vjl; YOIOp: $zeile = str_replace("#VPNADDR#", escapeshellarg($vnet), $zeile); goto POiJ5; Qk4RA: } goto fOFEQ; x9r57: $ConfigFileName = basename($ConfigFileName); goto DS8it; g0JxS: fputs($handle, $OPENVPN . "_PING_TOUT=1200
"); goto SI5o0; rk9Ef: MBVzB: goto abmL6; br8y_: fputs($handle, "STARTUP=http-proxy " . escapeshellarg($httpproxy) . " " . escapeshellarg($httpproxyport) . "
"); goto rj31c; HqsHG: if (!file_exists(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $name . STR_CERT_SUFFIX . ".key")) { goto QRC9z; } goto WR92U; htq1e: fputs($handle, $OPENVPN . "_COMP=none\xa"); goto mJ0t5; WopbY: fputs($handle, "STARTUP=\xa"); goto U6EmL; SCYHW: $cfg = explode("
", $addon_config); goto Q9j0n; SzNHG: fputs($handle, "STARTUP=EOF
"); goto QkX2i; s2tOv: $ip = $row[0]; goto QDshx; GLqjl: $filename = $filename . "-alt" . $profile; goto wqQEO; rj31c: goto o9MpG; goto GhZvv; REBlT: goto otz26; goto VD78V; AvxaZ: $addon_config = $row[10]; goto R11ou; uA5eM: $zertarray1 = explode("-----BEGIN OpenVPN Static key V1-----", file_get_contents(RSA_DIR . "/keys/ta.key")); goto J1o5Z; UwHcW: Atgqc: goto yM9nJ; FP_bi: ynLHw: goto uKPQu; lM3SA: iBmbL: goto DDORf; MHXqH: k10PN: goto BDqlg; wQ3PL: $temp_filename = tempnam(HOME_DIR . "/tmp", "cfg_"); goto iw2xo; wBhCz: $protocol = $row[13]; goto pRIww; udpXL: fputs($handle, "STARTUP=EOF\xa"); goto GO8cB; TfXnf: $otunx = " -o tun" . $vpnch; goto zr9o5; zr9o5: Apm15: goto SCYHW; krpQM: $addon_config = $row[0]; goto gTbzi; qb3Bd: fputs($handle, "OPENVPN_CA_CERT=" . base64_encode(file_get_contents(RSA_DIR . "/keys/ca.crt")) . "\xa"); goto OCSTu; FbcJq: $pport = $row[1]; goto tBop5; KhNbN: TLD8u: goto K0cpU; Ssndw: } goto M7wlN; M7wlN: function create_new_client($user, $name = '', $teleworker, $vnet_addr = '', $router_addr = DEF_ROUTER_ADDR, $ip_addr, $protocol = '', $options, $alias_name = '') { goto XcwfC; WyzhK: $alt4_addon_config = ''; goto GyMGO; zdkMe: Db::Query("INSERT INTO "public"."Rw_Infos" ("RW_NR","InfoHtml","Flags") VALUES ( '" . Db::Escape($row[0]) . "', '" . Db::Escape($infohtml) . "', 2)"); goto H7UER; rme5m: if (!(strlen($protocol) <= 0)) { goto gcGIw; } goto dSdGv; OH8hr: $country = DEF_COUNTRY; goto iLoea; Ld1yS: $replace = array("ae", "oe", "ue", "Ae", "Oe", "Ue", "ss", "_"); goto TsvCP; ifqEj: $org_unit = DEF_ORG_UNIT; goto EFmr7; TA7iV: $accoutstatus = $options["AccountStatus"]; goto Bgjy1; Ytam7: $vnet = $vnet_addr; goto Hoa3i; hTJj6: H94JK: goto J2cTO; wBcUq: PW267: goto le89r; XL6jg: $weblnk = ''; goto Jppd5; q6Jyq: $key = array_search($row[0], $vnarray); goto L4UGA; ABo8g: $addon_config = $row_add_set[3]; goto whMyX; TvecS: $email = $row[5]; goto gbn9J; oE42C: $alt1_addon_config = ''; goto E1qyQ; VR7KO: G2yMX: goto kuKoj; Ik04U: kYEyQ: goto z2akX; NDN9D: if ($teleworker == 0) { goto PW267; } goto kogEU; knlqQ: $country = $row[0]; goto p2mn6; BmIx6: FS1gv: goto dMhRk; JUtyy: $city = $row[2]; goto lEzw1; KKdPD: v2fTx: goto Wg3o_; pP4kr: $weblnk = ''; goto bb7Sc; u8qFu: $addon_connect = $row_add_set[1]; goto Adjrz; kwrIO: $addon_config_rw = ''; goto OH8hr; qgU3n: $servername = "OVPN"; goto RsuDE; cy1Kp: return true; goto LecoE; ZPV_V: $notes = $options["NOTES"]; goto vJgAH; g_iv3: $alt99_addon_config = ''; goto BXPR9; D9D4S: klOFM: goto fWS0F; vn2m4: if (!isset($options["WebDirectHash"])) { goto nZc3G; } goto xxsnU; EwBrj: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 2); goto pbTSJ; l_q5Z: goto QDzo4; goto YkKzM; DS8vh: $vnet = ''; goto FzsMe; vaACi: t9nfo: goto MCDjc; X6An5: FMnNd: goto DPYuM; kogEU: if (!(strlen($ip_addr) > 0 && strlen($vnet_addr) > 0)) { goto VGwMu; } goto yXlFB; le89r: $ip = net_maskerade($router_addr, $client_adressbits); goto xpjc6; Rckc7: $alt5_addon_config = $row_add_set[4]; goto L_DjR; yYJ4k: if (!($row = Db::Fetch($res))) { goto p4F43; } goto q6Jyq; Wg3o_: if (!($row_rw_infos = Db::QueryFetch("SELECT "InfoHtml" FROM "public"."Rw_Infos" WHERE ("RW_NR" = " . Db::Escape($user) . " AND "Flags" = 1 )"))) { goto aBs0b; } goto hpNFY; vhL8j: $alt4_addon_config = $row_add_set[3]; goto Rckc7; QlN7k: $accoutstatus = $options["AccountStatus"]; goto D9D4S; i8fL7: Db::Query("INSERT INTO "public"."AdditionalOptions" (      
\x9	\x9\x9\x9	\x9      "GROUP",\xa		\x9\x9\x9\x9\x9      "CLIENT",
							      "LOCUS",
	\x9\x9	\x9	\x9      "ALT1_ADDON_CONFIG", 
	\x9		\x9\x9	      "ALT2_ADDON_CONFIG", \xa\x9\x9\x9		\x9\x9      "ALT3_ADDON_CONFIG",\xa\x9		\x9\x9		      "ALT4_ADDON_CONFIG", \xa\x9	\x9\x9\x9\x9\x9      "ALT5_ADDON_CONFIG", 
				\x9		      "ALT6_ADDON_CONFIG",
\x9\x9\x9	\x9	\x9      "ALT99_ADDON_CONFIG"
	\x9		\x9		    ) 

\x9	\x9		\x9\x9    VALUES ('" . Db::Escape($user) . "',
	\x9\x9	\x9\x9	\x9    '" . Db::Escape($nr) . "',
\x9	\x9		\x9		    '2',
\x9			\x9			    '" . Db::Escape($alt1_addon_config) . "',\xa\x9\x9\x9\x9\x9\x9	\x9    '" . Db::Escape($alt2_addon_config) . "',\xa	\x9\x9		\x9		    '" . Db::Escape($alt3_addon_config) . "',\xa\x9\x9\x9\x9		\x9\x9    '" . Db::Escape($alt4_addon_config) . "',\xa\x9		\x9\x9			    '" . Db::Escape($alt5_addon_config) . "',\xa		\x9		\x9\x9\x9    '" . Db::Escape($alt6_addon_config) . "',
\x9		\x9	\x9	\x9    '" . Db::Escape($alt99_addon_config) . "'
		\x9		\x9\x9	\x9			    )"); goto fSBlB; RsuDE: $server_adressbits = 8; goto Ic_Ge; kuSdR: $pport_tcp = 1194; goto qgU3n; QClFa: if (!($row = Db::QueryFetch("SELECT "NR" FROM "public"."RemoteNetworks" WHERE ("NAME" = '" . Db::Escape($name) . "' AND "USER" = '" . Db::Escape($user) . "' )"))) { goto tsTiC; } goto sDFMM; Gyk9U: $vnet_addr = current($vnarray); goto D_6Vz; JuBJQ: $servername = $row[2]; goto KfmqT; fWS0F: if (!isset($options["NOTES"])) { goto z_pkd; } goto ZPV_V; XCrpr: $alt6_addon_config = ''; goto g_iv3; ufHrx: $infohtml = $row_rw_infos[0]; goto kI7p9; GFlBn: IUbm3: goto zdkMe; tpveY: if (!($res = Db::Query("SELECT "VirtualNetwork" FROM "public"."RemoteNetworks""))) { goto XNTZj; } goto knYfA; BwuY3: $client_adressbits = $row[4]; goto oYAjH; wZ9qM: $protocol = "tcp"; goto YpSVo; eAJw6: yA6tt: goto SPWSi; NflSo: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 0); goto IaapR; Pf0G9: Db::Query("INSERT INTO "public"."RemoteNetworks" ( \xa	\x9\x9\x9	\x9	  "NAME", \xa	\x9\x9	\x9\x9	  "ALIAS_NAME",\xa			\x9\x9\x9	  "IP",\xa\x9	\x9\x9	\x9\x9  "RouterAddr",
\x9\x9\x9\x9\x9	\x9  "VirtualNetwork",
\x9\x9	\x9\x9\x9	  "Teleworker", \xa	\x9\x9				  "USER", \xa				\x9\x9\x9  "Protocol",
\x9\x9	\x9			  "CreatedOn",\xa			\x9\x9	\x9  "COUNTRY",\xa\x9\x9	\x9	\x9\x9  "PROVINCE",
			\x9		\x9  "CITY",
\x9\x9\x9			\x9  "ORG",
							  "ORG_UNIT",\xa	\x9\x9\x9	\x9\x9  "EMAIL",
\x9\x9	\x9\x9\x9	  "ADDON_CCD", \xa		\x9		\x9\x9  "ADDON_CONNECT", 
	\x9	\x9\x9\x9\x9  "ADDON_DISCONNECT", \xa			\x9	\x9\x9  "ADDON_CONFIG",
\x9\x9\x9			\x9  "ADDON_CCD_RW", \xa	\x9		\x9\x9	  "ADDON_CONNECT_RW", \xa	\x9\x9		\x9\x9  "ADDON_DISCONNECT_RW", 
\x9\x9	\x9\x9\x9\x9  "ADDON_CONFIG_RW",
\x9			\x9\x9	  "ClientMode",
	\x9\x9\x9\x9\x9	  "WebDirectHash",
	\x9	\x9		\x9  "AccountStatus",\xa\x9	\x9	\x9\x9	  "Notes",\xa				\x9	\x9  "OPTION_MASQUERADE",
\x9		\x9\x9\x9	  "AutoCfgPasswd",\xa		\x9\x9\x9	\x9  "CERT_EXCHANGED"
						   ) \xa\x9					\x9VALUES (
\x9			\x9		'" . Db::Escape($name) . "', \xa	\x9\x9\x9		\x9'" . Db::Escape($alias_name) . "', 
	\x9\x9	\x9\x9	'" . Db::Escape($ip) . "', 
\x9\x9\x9	\x9\x9	'" . Db::Escape($router_addr) . "', \xa\x9\x9\x9\x9	\x9	'" . Db::Escape($vnet) . "', \xa\x9	\x9\x9		\x9  " . (int) $teleworker . ", 
\x9\x9\x9\x9			  " . (int) $user . ",\xa	\x9\x9	\x9		'" . Db::Escape($protocol) . "',\xa\x9\x9\x9				'" . time() . "',\xa\x9\x9			\x9	'" . Db::Escape($country) . "',\xa			\x9	\x9\x9'" . Db::Escape($province) . "',\xa		\x9		\x9\x9'" . Db::Escape($city) . "',\xa			\x9	\x9	'" . Db::Escape($org) . "',\xa	\x9\x9		\x9	'" . Db::Escape($org_unit) . "',\xa	\x9\x9\x9		\x9'" . Db::Escape($email) . "',\xa		\x9\x9\x9		'" . Db::Escape($addon_ccd) . "',
\x9	\x9\x9		\x9'" . Db::Escape($addon_connect) . "',
				\x9\x9\x9'" . Db::Escape($addon_disconnect) . "',
\x9			\x9\x9	'" . Db::Escape($addon_config) . "',
			\x9	\x9	'" . Db::Escape($addon_ccd_rw) . "',
\x9	\x9	\x9\x9\x9'" . Db::Escape($addon_connect_rw) . "',
		\x9\x9\x9	\x9'" . Db::Escape($addon_disconnect_rw) . "',\xa\x9\x9	\x9\x9\x9	'" . Db::Escape($addon_config_rw) . "',\xa	\x9\x9\x9			'" . Db::Escape($clientmode) . "',
		\x9		\x9	'" . Db::Escape($weblnk) . "',
		\x9		\x9	'" . Db::Escape($accoutstatus) . "',\xa\x9		\x9\x9\x9	'" . Db::Escape(utf8_encode($notes)) . "',\xa\x9\x9			\x9	'" . Db::Escape($option_masquerade) . "',
		\x9			\x9'" . Db::Escape(crypt_apr1_md5($name)) . "', \xa	\x9			\x9	1
	\x9		\x9	    )"); goto QYWc_; oe0YN: OwVgc: goto VoUAn; EFmr7: $email = DEF_EMAIL; goto WZe20; CQnGq: nZc3G: goto gH0dd; PDeha: if (!($i < pow(2, 32 - $user_adressbits - (32 - $client_adressbits)))) { goto fUEuU; } goto b1M_b; sXyvV: $weblnk = generate_webdirect_hash(); goto Lk0ir; Wyh1y: if (!($row_user = Db::QueryFetch("SELECT "VirtualNetwork" FROM "public"."Organisations" WHERE "NR" = '" . Db::Escape($user) . "'"))) { goto guHVw; } goto mIzxf; xm3wd: goto OwVgc; goto wBcUq; oHeYZ: $org_unit = $row[4]; goto TvecS; eKS_t: goto IUbm3; goto KKdPD; lEzw1: $org = $row[3]; goto oHeYZ; L4UGA: if (!($key === false)) { goto ZhS40; } goto ojN_2; diXRU: goto FS1gv; goto vaACi; NKc2x: cCnuA: goto NflSo; gbn9J: H30lo: goto NDN9D; TsvCP: $name = preg_replace($umlaute, $replace, $name); goto XemLc; Jppd5: $accoutstatus = "ACTIVE"; goto YNSu1; xqOt7: $client_adressbits = 24; goto qx0Eq; B6_yC: goto v2YvL; goto NKc2x; ojN_2: goto QDzo4; goto ZH0b9; rBYkR: $addon_disconnect_rw = $row_add_set[2]; goto g3G9k; ypWPe: $alias_name = $name; goto VR7KO; kuKoj: $ip = ''; goto DS8vh; Tfgas: $paddr = $row[0]; goto c3IfC; p2mn6: $province = $row[1]; goto JUtyy; Lk0ir: DCknt: goto CQnGq; KfmqT: $user_adressbits = $row[3]; goto BwuY3; L_DjR: $alt6_addon_config = $row_add_set[5]; goto RPOln; Nm7md: pM5Wt: goto Ytam7; MCDjc: $protocol = "udp"; goto BmIx6; IXv6X: if (!($row = Db::QueryFetch("SELECT "NR" FROM "public"."RemoteNetworks" WHERE ("NAME" = '" . Db::Escape($name) . "' AND "USER" = '" . Db::Escape($user) . "' )"))) { goto GnYV2; } goto KGK7H; KZ5B8: if ($server_protocol == "tcp") { goto uwfGm; } goto IwwH3; a_etN: $addon_disconnect_rw = ''; goto kwrIO; g3G9k: $addon_config_rw = $row_add_set[3]; goto PduNN; uNT_2: $addon_ccd = $row_add_set[0]; goto u8qFu; kI7p9: G3qfQ: goto eKS_t; AbFuF: fUEuU: goto tpveY; a1A14: $pport_tcp = $row[8]; goto rme5m; QZA8Z: if (!RW_INFO_SITE) { goto H94JK; } goto IXv6X; KGK7H: if (Db::QueryFetch("SELECT "NR" FROM "public"."Rw_Infos" WHERE ("RW_NR" = " . Db::Escape($row[0]) . " AND "Flags" = 2 )")) { goto XiDyz; } goto y4xzM; VEd0D: write_teleworker_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, false, $clientmode = "rw"); goto bb2Eq; jDS0p: XNTZj: goto LL3ts; ZH0b9: ZhS40: goto ijd5s; xpjc6: if (!(strlen($vnet_addr) <= 0)) { goto pM5Wt; } goto D8P4n; bb2Eq: write_teleworker_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, true, $clientmode = "rw"); goto B6_yC; YpSVo: H159h: goto diXRU; mIzxf: $vnbase = $row_user[0]; goto L13Eu; bb7Sc: if (!($_REQUEST["WEBDIRECT"] == 0)) { goto FMnNd; } goto HwiZe; whMyX: v5wgi: goto oe0YN; b1M_b: $vnarray[$i] = int2addr(addr2int($vnbase) + $i * pow(2, 32 - $client_adressbits)); goto G_c32; Smli5: qk1UY: goto PDeha; ZsHDs: $addon_config = ''; goto rfZhn; FzsMe: $addon_ccd = ''; goto Bbx6w; knYfA: QDzo4: goto yYJ4k; t6nrL: goto qk1UY; goto AbFuF; uSpke: goto QDzo4; goto eAJw6; omQ39: uwfGm: goto wZ9qM; H7UER: XiDyz: goto yFcuX; M7kJR: $server_vnbase = "10.0.0.0"; goto XL6jg; C0RKm: $addon_connect_rw = ''; goto a_etN; JvoCL: if (!($row = Db::QueryFetch("SELECT "COUNTRY", "PROVINCE", "CITY", "ORG", "ORG_UNIT", "EMAIL" FROM "public"."CA" WHERE "NR" = 1"))) { goto H30lo; } goto knlqQ; sDFMM: $nr = $row[0]; goto lC5bd; W0k27: $org = DEF_ORG; goto ifqEj; NI1K0: $alt3_addon_config = ''; goto WyzhK; QYWc_: if (!MULTIPLE_CONFIGS) { goto ImJCm; } goto QClFa; s36Fm: $i++; goto t6nrL; z2akX: if (!($row = Db::QueryFetch("SELECT "PublicAddr", "PublicPort", "ServerName", "USER_ADRESSBITS", "CLIENT_ADRESSBITS", "Protocol", "SERVER_ADRESSBITS", "VirtualNetwork", "PublicPort_tcp" FROM "public"."Network""))) { goto Gy_re; } goto Tfgas; Bbx6w: $addon_connect = ''; goto R1GP2; YNSu1: $notes = ''; goto HeinX; J2cTO: if ($teleworker == 0) { goto cCnuA; } goto VEd0D; dSdGv: if ($server_protocol == "udp-tcp") { goto t9nfo; } goto KZ5B8; Mwy67: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 1); goto EwBrj; BOvgV: $router_addr = $tmp[0] . "." . $tmp[1] . "." . $tmp[2] . "." . $ip; goto X6An5; HCbji: tsTiC: goto hH3qV; Hoa3i: if (!($row_add_set = Db::QueryFetch("SELECT "ADDON_CCD", "ADDON_CONNECT", "ADDON_DISCONNECT", "ADDON_CONFIG" FROM "public"."Organisations" WHERE ("NR" = '" . Db::Escape($user) . "' )"))) { goto v5wgi; } goto uNT_2; nxSXh: $alt3_addon_config = $row_add_set[2]; goto vhL8j; qOZTG: if (!($row_rw_infos = Db::QueryFetch("SELECT "InfoHtml" FROM "public"."Rw_Infos" WHERE ("RW_NR" = 0 AND "Flags" = 0 )"))) { goto G3qfQ; } goto ufHrx; QcVZL: return false; goto RJQrZ; FIsv1: $option_masquerade = 1; goto Ik04U; cAEVX: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 4); goto ujEQ8; SPWSi: unset($vnarray[$key]); goto l_q5Z; gdZZW: if ($user != 0) { goto v2fTx; } goto qOZTG; RPOln: $alt99_addon_config = $row_add_set[6]; goto adHy9; xxsnU: if (!($options["WebDirectHash"] == true)) { goto DCknt; } goto sXyvV; RJQrZ: hGv67: goto Y87gK; iQx2V: $city = DEF_CITY; goto W0k27; dMhRk: gcGIw: goto RMxBF; IwwH3: $protocol = "udp"; goto STjkr; KbpRg: $pport = 1194; goto kuSdR; WZe20: $paddr = ''; goto KbpRg; E1qyQ: $alt2_addon_config = ''; goto NI1K0; Adjrz: $addon_disconnect = $row_add_set[2]; goto ABo8g; BXPR9: if (!($row_add_set = Db::QueryFetch("SELECT "ALT1_ADDON_CONFIG", "ALT2_ADDON_CONFIG", "ALT3_ADDON_CONFIG", "ALT4_ADDON_CONFIG", "ALT5_ADDON_CONFIG", "ALT6_ADDON_CONFIG", "ALT99_ADDON_CONFIG" FROM "public"."AdditionalOptions" WHERE ("LOCUS" = '1' AND "GROUP" = '" . Db::Escape($user) . "' AND "CLIENT" = '0' )"))) { goto xXevm; } goto jglgC; gH0dd: if (!isset($options["AccountStatus"])) { goto klOFM; } goto QlN7k; vJgAH: z_pkd: goto FwLJI; My7I_: W8e42: goto sEwf_; QTSJO: $addon_ccd_rw = $row_add_set[0]; goto hjOeb; pbTSJ: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 3); goto cAEVX; yd5OT: $vnet = $vnet_addr; goto eG5zd; hVAft: $tmp = explode(".", $vnet); goto BOvgV; Y87gK: $umlaute = array("/" . "\xc3\xa4" . "/", "/" . "\303\xb6" . "/", "/" . "\303\274" . "/", "/" . "\303\204" . "/", "/" . "\xc3\226" . "/", "/" . "\xc3\234" . "/", "/" . "\xc3\237" . "/", "/ /"); goto Ld1yS; R1GP2: $addon_disconnect = ''; goto ZsHDs; r0KE7: $server_adressbits = $row[6]; goto HbQHH; qx0Eq: $server_protocol = "udp"; goto M7kJR; amjDe: if (!isset($options["OPTION_MASQUERADE"])) { goto kYEyQ; } goto FIsv1; iDIXY: $alt2_addon_config = $row_add_set[1]; goto nxSXh; XcwfC: if (!Db::QueryFetch("SELECT "NR" FROM "public"."RemoteNetworks" WHERE ("NAME" = '" . Db::Escape($name) . "' AND "USER" = '" . Db::Escape($user) . "' )")) { goto hGv67; } goto QcVZL; G_c32: FX3kf: goto s36Fm; iLoea: $province = DEF_PROVINCE; goto iQx2V; ujEQ8: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 5); goto p1gum; Bgjy1: qdwXS: goto amjDe; IaapR: if (!MULTIPLE_CONFIGS) { goto W8e42; } goto Mwy67; sEwf_: v2YvL: goto cy1Kp; hH3qV: ImJCm: goto s_M_5; rGlNX: aBs0b: goto GFlBn; hjOeb: $addon_connect_rw = $row_add_set[1]; goto rBYkR; fSBlB: tmNUk: goto HCbji; hpNFY: $infohtml = $row_rw_infos[0]; goto rGlNX; eG5zd: VGwMu: goto S0nGM; FwLJI: if (!isset($options["AccountStatus"])) { goto qdwXS; } goto TA7iV; rfZhn: $addon_ccd_rw = ''; goto C0RKm; ijd5s: if (!($vnarray[$key] == $vnet)) { goto yA6tt; } goto uSpke; L13Eu: $i = 0; goto Smli5; Ic_Ge: $user_adressbits = 16; goto xqOt7; YkKzM: p4F43: goto jDS0p; yXlFB: $ip = $ip_addr; goto yd5OT; HbQHH: $server_vnbase = $row[7]; goto a1A14; D_6Vz: guHVw: goto Nm7md; lC5bd: if (Db::QueryFetch("SELECT "NR" FROM "public"."AdditionalOptions" WHERE ("LOCUS" = '2' AND "GROUP" = '" . Db::Escape($user) . "' AND "CLIENT" = '" . Db::Escape($nr) . "' )")) { goto tmNUk; } goto oE42C; S0nGM: if (!($row_add_set = Db::QueryFetch("SELECT "ADDON_CCD_RW", "ADDON_CONNECT_RW", "ADDON_DISCONNECT_RW", "ADDON_CONFIG_RW" FROM "public"."Organisations" WHERE ("NR" = '" . Db::Escape($user) . "' )"))) { goto zFgTt; } goto QTSJO; PduNN: zFgTt: goto xm3wd; GyMGO: $alt5_addon_config = ''; goto XCrpr; DPYuM: QviCd: goto Pf0G9; p1gum: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 6); goto BE76M; HeinX: $option_masquerade = 0; goto vn2m4; LL3ts: reset($vnarray); goto Gyk9U; adHy9: xXevm: goto i8fL7; yFcuX: GnYV2: goto hTJj6; STjkr: goto H159h; goto omQ39; D8P4n: $vnbase = ''; goto Wyh1y; VoUAn: if (!($teleworker == 1)) { goto QviCd; } goto pP4kr; oYAjH: $server_protocol = $row[5]; goto r0KE7; s_M_5: cert_make("build", $user, $name . STR_CERT_SUFFIX, $country, $province, $city, $org, $org_unit, $email); goto QZA8Z; jglgC: $alt1_addon_config = $row_add_set[0]; goto iDIXY; BE76M: write_router_config($name, $user, "__GROUP__" . $user . "__CLIENT__" . $name, 99); goto My7I_; RMxBF: Gy_re: goto JvoCL; XemLc: if (!(strlen($name) > 0 && strlen($alias_name) == 0)) { goto G2yMX; } goto ypWPe; HwiZe: $weblnk = generate_webdirect_hash(); goto hVAft; c3IfC: $pport = $row[1]; goto JuBJQ; y4xzM: $infohtml = ''; goto gdZZW; LecoE: } goto v3Efr; CjKDd: function parseOpenVPNConnection($server = "127.0.0.1", $protocol = "udp") { goto o2eQU; FoenU: goto Oh6uW; goto bdlIJ; Lw83R: $status["users"][$uid]["Since"] = $match[5]; goto WRKzQ; Cmirs: m3n06: goto QQT7a; QJ8OX: $status["users"][$uid]["LastRef"] = $match[4]; goto Cmirs; YAbUT: $status["users"][$uid]["RealAddress"] = $match[2]; goto snyle; jsX3m: return false; goto IZrzG; bMnLD: if (!($protocol == "udp" || $protocol == "udp-tcp")) { goto Tv_q6; } goto TR2hM; ucM9R: SD3S3: goto u2oL4; Sc38e: ATJLq: goto U6Vr4; o2eQU: $uid = 0; goto bMnLD; bdlIJ: aBJuN: goto CTMaH; odyf0: $status["users"][$uid]["VirtualAddress"] = $match[1]; goto QJ8OX; Sp6Wm: UXrTM: goto z0EEQ; XEnQ5: LAflH: goto PwHnl; sTP_c: $status["users"][$uid]["Protocol"] = "tcp"; goto i1MqY; vH883: fclose($handle); goto JiWP9; ArQFd: hF8we: goto FoenU; AYDNd: $buffer = ''; goto L2uKF; g2fzp: if (!preg_match("/^(\d+\.\d+\.\d+\.\d+),(.+),(\d+\.\d+\.\d+\.\d+\:\d+),(.+)$/", $buffer, $match)) { goto LXOAb; } goto ISLfN; Km3HH: $cn = $match[1]; goto CfI8U; tyoQY: $status["users"][$uid]["BytesReceived"] = sizeformat($match[3]); goto FSAW2; h_Zlr: $address = $match[3]; goto IVYfB; VkwE_: fputs($handle, "exit
"); goto vH883; AkviI: $uid = count($status["users"]); goto lmMoE; IVYfB: $uid = $userlookup[$address]; goto rPiQM; tdV1O: echo "ERROR fsockopen !!!"; goto jsX3m; F2Chf: $status["users"][$uid]["RealAddress"] = $match[2]; goto tyoQY; JiWP9: hHbnD: goto Y9YSP; f0aFC: $status["users"][$uid]["Protocol"] = "udp"; goto iCwVN; QuoZo: Tv_q6: goto K834A; FSAW2: $status["users"][$uid]["BytesSent"] = sizeformat($match[4]); goto Lw83R; Cbq3S: $address = $match[3]; goto HLDel; yEaxU: $status["updated"] = $match[1]; goto rfF0Q; QQT7a: LXOAb: goto PkWKj; K834A: if (!($protocol == "tcp" || $protocol == "udp-tcp")) { goto hHbnD; } goto uFUOX; vdpi4: $status["users"][$uid]["BytesSent"] = sizeformat($match[4]); goto XZzVP; IZrzG: pwYs9: goto sI7EL; sI7EL: $output = fgets($handle, 100); goto ctrS4; YxRlC: UVmJ1: goto VkwE_; uFUOX: if (!($protocol == "udp-tcp")) { goto emYPR; } goto AkviI; CfI8U: $userlookup[$match[2]] = $uid; goto f0aFC; Y9YSP: return $status; goto czzbl; iCwVN: $status["users"][$uid]["CommonName"] = $match[1]; goto F2Chf; fYX1K: return false; goto XEnQ5; aHSnM: $buffer = fgets($handle, 4096); goto as5Xn; P1MEv: if (!($match[1] != "Virtual Address")) { goto gRt8q; } goto h_Zlr; XONaE: $cn = $match[1]; goto Lq0c0; snyle: $status["users"][$uid]["BytesReceived"] = sizeformat($match[3]); goto vdpi4; ctrS4: fputs($handle, "status\xa"); goto gnXmR; rPiQM: $status["users"][$uid]["VirtualAddress"] = $match[1]; goto MC3XM; bjli6: if (!preg_match("/^Updated,(.+)/", $buffer, $match)) { goto hz0Ig; } goto yEaxU; CTMaH: fputs($handle, "exit\xa"); goto uTRn8; ddTnl: unset($match); goto xk_r1; PkWKj: goto ATJLq; goto YxRlC; NXAKD: if (!($match[1] != "Common Name" && $match[1] != "UNDEF")) { goto UXrTM; } goto Km3HH; fw4Ko: if (!(!feof($handle) && preg_match("/^END$/", trim($buffer)) === 0)) { goto aBJuN; } goto aHSnM; aomyw: $uid++; goto ucM9R; wCZ89: fputs($handle, "status\xa"); goto AYDNd; lmMoE: emYPR: goto LFqLO; LFqLO: $handle = fsockopen($server, SERVER_ADMIN_PORT_TCP, $errno, $errstr, 3); goto brfnI; i1MqY: $status["users"][$uid]["CommonName"] = $match[1]; goto YAbUT; as5Xn: unset($match); goto bjli6; brfnI: if ($handle) { goto pwYs9; } goto tdV1O; xk_r1: if (!preg_match("/^Updated,(.+)/", $buffer, $match)) { goto Z4Kgc; } goto jaBhu; u2oL4: JUKH5: goto g2fzp; TuRg7: echo "ERROR fsockopen !!!"; goto fYX1K; z0EEQ: qAvst: goto uZXGN; p8ba_: if (!preg_match("/^(.+),(\d+\.\d+\.\d+\.\d+\:\d+),(\d+),(\d+),(.+)$/", $buffer, $match)) { goto qAvst; } goto NXAKD; uTRn8: fclose($handle); goto QuoZo; VSDO9: $buffer = fgets($handle, 4096); goto ddTnl; gnXmR: $buffer = ''; goto Sc38e; WRKzQ: $uid++; goto Sp6Wm; HLDel: $uid = $userlookup[$address]; goto odyf0; VZDbs: Z4Kgc: goto ryY_P; x1duN: if ($handle) { goto LAflH; } goto TuRg7; PwHnl: $output = fgets($handle, 100); goto wCZ89; L2uKF: Oh6uW: goto fw4Ko; uZXGN: if (!preg_match("/^(\d+\.\d+\.\d+\.\d+),(.+),(\d+\.\d+\.\d+\.\d+\:\d+),(.+)$/", $buffer, $match)) { goto hF8we; } goto P1MEv; XZzVP: $status["users"][$uid]["Since"] = $match[5]; goto aomyw; ryY_P: if (!preg_match("/^(.+),(\d+\.\d+\.\d+\.\d+\:\d+),(\d+),(\d+),(.+)$/", $buffer, $match)) { goto JUKH5; } goto etDuj; Lq0c0: $userlookup[$match[2]] = $uid; goto sTP_c; etDuj: if (!($match[1] != "Common Name" && $match[1] != "UNDEF")) { goto SD3S3; } goto XONaE; VUaaN: gRt8q: goto ArQFd; U6Vr4: if (!(!feof($handle) && preg_match("/^END$/", trim($buffer)) === 0)) { goto UVmJ1; } goto VSDO9; TR2hM: $handle = fsockopen($server, SERVER_ADMIN_PORT_UDP, $errno, $errstr, 3); goto x1duN; rfF0Q: hz0Ig: goto p8ba_; MC3XM: $status["users"][$uid]["LastRef"] = $match[4]; goto VUaaN; jaBhu: $status["updated"] = $match[1]; goto VZDbs; ISLfN: if (!($match[1] != "Virtual Address")) { goto m3n06; } goto Cbq3S; czzbl: } goto ZEsNr; r1iaB: function need_commandline() { goto uC1V3; uC1V3: if (!(php_sapi_name() != "cli")) { goto or_dD; } goto aBiKv; aBiKv: access_denied("Only cli!"); goto I6XfI; I6XfI: or_dD: goto vfY7E; vfY7E: } goto Tk1_s; Y5Jqf: define("b5", "l"); goto ovSgi; DDYLy: function crypt_apr1_md5($plainpasswd) { goto AXfe4; YBf1u: if (!($i % 3)) { goto Tp0ZQ; } goto YMOmX; t8ej8: $bin = pack("H32", md5($plainpasswd . $salt . $plainpasswd)); goto WhGxU; uoTcD: goto hgdRQ; goto FfvGb; xl3xu: jkS2H: goto lxBeP; XkUBH: $bin = pack("H32", md5($new)); goto vZzjF; AXfe4: $salt = substr(str_shuffle("abcdefghijklmnopqrstuvwxyz0123456789"), 0, 8); goto GDW6h; LS2w9: Tp0ZQ: goto PK7hN; WhGxU: $i = $len; goto CzbhU; Ql7RE: $text .= substr($bin, 0, min(16, $i)); goto MY9cE; oeYpt: if (!($i > 0)) { goto Tr1rt; } goto Ql7RE; lxBeP: if (!($i < 1000)) { goto whuMs; } goto v2lj6; pvrDP: $text = $plainpasswd . "$apr1$" . $salt; goto t8ej8; OGVyr: FD9Xj: goto L7yCu; rSBzi: if (!($i > 0)) { goto iPeUV; } goto b5tga; OTHXr: return "$" . "apr1" . "$" . $salt . "$" . $tmp; goto s2BuO; cQfQb: $i = $len; goto sCvVe; sCvVe: FXjg1: goto rSBzi; KG7yq: whuMs: goto imU_E; L7yCu: $new .= $i & 1 ? $bin : $plainpasswd; goto XkUBH; oE8ie: $j = 5; goto IkCcI; oTPzd: Oikto: goto WbpP3; MY9cE: OGbfL: goto F6mcS; gbeNX: if (!($i < 5)) { goto Yc3bR; } goto NytB0; ePN5t: nVY4R: goto eyhz1; PK7hN: if (!($i % 7)) { goto FD9Xj; } goto phenj; jP4gp: $i = 0; goto xl3xu; P38py: goto FXjg1; goto QxeTt; F6mcS: $i -= 16; goto uoTcD; GDW6h: $len = strlen($plainpasswd); goto pvrDP; b5tga: $text .= $i & 1 ? chr(0) : $plainpasswd[0]; goto oTPzd; gf3lJ: $i++; goto pgmHm; yiugt: if (!($j == 16)) { goto naXSn; } goto oE8ie; GYfXn: goto t5Uto; goto rRgV8; NytB0: $k = $i + 6; goto lYl2u; WbpP3: $i >>= 1; goto P38py; rRgV8: Yc3bR: goto M_kgn; imU_E: $i = 0; goto v6vUG; v6vUG: t5Uto: goto gbeNX; M_kgn: $tmp = chr(0) . chr(0) . $bin[11] . $tmp; goto gYRmW; eyhz1: $i++; goto GYfXn; phenj: $new .= $plainpasswd; goto OGVyr; EsEy_: $tmp = $bin[$i] . $bin[$k] . $bin[$j] . $tmp; goto ePN5t; vZzjF: ZjF1K: goto gf3lJ; CzbhU: hgdRQ: goto oeYpt; YMOmX: $new .= $salt; goto LS2w9; pgmHm: goto jkS2H; goto KG7yq; IkCcI: naXSn: goto EsEy_; v2lj6: $new = $i & 1 ? $plainpasswd : $bin; goto YBf1u; lYl2u: $j = $i + 12; goto yiugt; GxEoc: $bin = pack("H32", md5($text)); goto jP4gp; FfvGb: Tr1rt: goto cQfQb; gYRmW: $tmp = strtr(strrev(substr(base64_encode($tmp), 2)), "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"); goto OTHXr; QxeTt: iPeUV: goto GxEoc; s2BuO: } goto eBFHA; WsU2g: function netmask_convert($netmask) { goto NB65q; zCP2e: HGEYe: goto ts0bl; oyiyJ: $m >>= 1; goto TFvg6; z4CFZ: $m = 0; goto emXB1; fNac3: $i++; goto DZN28; DZN28: goto reIsZ; goto zCP2e; Id8Tc: if (!($i < $netmask)) { goto HGEYe; } goto oyiyJ; emXB1: reIsZ: goto Id8Tc; TFvg6: $m |= 2147483648.0; goto Nc_zI; ts0bl: $maskstring = ($m >> 24 & 255) . "." . ($m >> 16 & 255) . "." . ($m >> 8 & 255) . "." . ($m & 255); goto PT9ZD; PT9ZD: return $maskstring; goto pGia5; NB65q: $i = 0; goto z4CFZ; Nc_zI: oSfrr: goto fNac3; pGia5: } goto gQKUd; ujbPE: function remove_client_by_cn($cn = '') { goto yzqW8; irpRw: $province = $row[1]; goto fjW5v; G2QQi: BmIVh: goto gdElO; QYWWb: foreach ($cert_lines as $lines) { goto eaT0t; z3Kdg: $temp = explode("=", $fields[1]); goto q0jVw; q0jVw: $province = $temp[1]; goto bg0E9; hyTId: pxLbr: goto B07CK; rwTVB: $temp = explode("=", $fields[3]); goto oFPlX; HdUje: $fields = explode(", ", $lines); goto DQ00i; eaT0t: if (!strstr($lines, "Subject:")) { goto pxLbr; } goto HdUje; MOQs1: $temp = explode("=", $fields[4]); goto TVWfb; TVWfb: $email = $temp[2]; goto CTXTc; Us5Wu: $city = $temp[1]; goto rwTVB; oFPlX: $org = $temp[1]; goto MOQs1; tOL25: $country = $temp[1]; goto z3Kdg; CTXTc: goto dpHJ9; goto hyTId; bg0E9: $temp = explode("=", $fields[2]); goto Us5Wu; DQ00i: $temp = explode("=", $fields[0]); goto tOL25; B07CK: iSFkB: goto yxQ1o; yxQ1o: } goto Jczwe; nNmAR: $country = $row[0]; goto irpRw; yI8J5: $email = $row[5]; goto AaVkb; PKH4M: $org = $row[3]; goto i81P6; Pd2FU: if (!($row = Db::QueryFetch("SELECT "COUNTRY", "PROVINCE", "CITY", "ORG", "ORG_UNIT", "EMAIL", "PPtPuser" FROM "public"."RemoteNetworks" WHERE ("NAME" = '" . Db::Escape($name) . "' AND "USER" = '" . Db::Escape($user) . "' )"))) { goto BmIVh; } goto nNmAR; FauqN: $email = ''; goto NgToT; pfRml: $name = ''; goto Z1jdO; QJmPL: $org_unit = ''; goto FauqN; pJeDq: $province = ''; goto GCZe2; AaVkb: $cn = "__GROUP__" . $user . "__CLIENT__" . $name; goto G2QQi; Hntmb: mNSic: goto ugyIL; MNDvl: if (file_exists(RSA_DIR . "/keys/" . $cn . ".crt")) { goto y4ne3; } goto Pd2FU; ugyIL: cert_make("revoke", $user, $name, $country, $province, $city, $org, $org_unit, $email); goto f_wn0; Jczwe: dpHJ9: goto Hntmb; Fz_YP: $name = $temp[4]; goto MNDvl; f_wn0: exec("rm -f " . escapeshellarg(HOME_DIR . "/ccd/" . $cn)); goto nCXzh; yzqW8: $country = ''; goto pJeDq; Z1jdO: $temp = explode("__", $cn); goto IuvlG; i81P6: $org_unit = $row[4]; goto yI8J5; GCZe2: $city = ''; goto Hz3iw; ZW6HU: y4ne3: goto EHb7Y; EHb7Y: $cert_lines = file(RSA_DIR . "/keys/" . $cn . ".crt"); goto QYWWb; NgToT: $user = 0; goto pfRml; IuvlG: $user = $temp[2]; goto Fz_YP; Hz3iw: $org = ''; goto QJmPL; fjW5v: $city = $row[2]; goto PKH4M; gdElO: goto mNSic; goto ZW6HU; nCXzh: } goto DDYLy; z41qO: function generate_webdirect_hash($len = 20) { goto ZrwHG; R4jC5: dvgx0: goto fvKrg; dj1Qj: goto CCCSZ; goto R4jC5; dOf3X: $i++; goto dj1Qj; nRgNM: qqPq0: goto dOf3X; tstYW: $r .= $c[rand(0, count($c) - 1)]; goto nRgNM; A03u_: if (!($i < $len)) { goto dvgx0; } goto tstYW; YHI1Y: $i = 0; goto SujBB; SujBB: CCCSZ: goto A03u_; fvKrg: return $r; goto HC8pg; GYnAe: $c = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"); goto YHI1Y; ZrwHG: $r = ''; goto GYnAe; HC8pg: } goto J7yw6; jpPH9: function get_tunnel_addr($user, $nr, $tunnel_addr, $alt_baseaddr, $alt_basenm) { goto c5fDd; c5fDd: $tunnel_addr_array = array(); goto PjgcB; QWywk: if (!($tunnel_addr_array[$key] == $tunnel_addr)) { goto uPif2; } goto wfAY6; TkjX2: LUwmu: goto ccKkM; GG4FZ: unset($tunnel_addr_array[$key]); goto E2vJo; E2vJo: goto Q2Y0t; goto TkjX2; azQH3: nx1Pe: goto iv1qD; WzT1G: Q2Y0t: goto DQXRV; QvzID: $j++; goto hZl1_; Xs2rx: $i += 4; goto QvzID; smMbk: $j = 0; goto azQH3; eek6Q: if (!($res = Db::Query("SELECT "ALT_ADDR_OVPN" FROM "public"."RemoteNetworks""))) { goto Qnw35; } goto WzT1G; C49kT: $tunnel_addr_array[$j] = int2addr($i); goto c1rH0; hZl1_: goto nx1Pe; goto B1Odb; Bzd1u: if (!($key === false)) { goto yRbU5; } goto zEXyB; c1rH0: dhjrN: goto Xs2rx; PjgcB: $i = addr2int($alt_baseaddr) + 1; goto smMbk; CLJUs: yRbU5: goto QWywk; wfAY6: return $tunnel_addr; goto DaR2T; DQXRV: if (!($row = Db::Fetch($res))) { goto LUwmu; } goto Wg0Z1; B1Odb: ZJ1fZ: goto eek6Q; REWuY: return $tunnel_addr_array[0]; goto PqGXx; Wg0Z1: $key = array_search($row[0], $tunnel_addr_array); goto Bzd1u; hJ4Dv: $tunnel_addr_array = array_values($tunnel_addr_array); goto REWuY; DaR2T: uPif2: goto GG4FZ; iv1qD: if (!($i < addr2int($alt_baseaddr) + pow(2, 32 - $alt_basenm))) { goto ZJ1fZ; } goto C49kT; ccKkM: Qnw35: goto hJ4Dv; zEXyB: goto Q2Y0t; goto CLJUs; PqGXx: } goto v94CA; v94CA: function ena_net_f($name, $user) { goto QkkWv; QqsQ8: $source_addr = "$2"; goto pAdZB; glPOB: goto qrPPl; goto YScuj; KdmT2: MLlzd: goto NBv8D; doQCK: if (!($option_GROUP_ACCESS != 1)) { goto dESYO; } goto xaueq; q3dMZ: goto dC8IT; goto slGnd; K79OT: goto QySTJ; goto PChrH; BpqVg: fputs($handle, "push "route " . SERVER_NET . " " . SERVER_MASK . ""
"); goto qJ8aA; lqoSS: fputs($handle_disconnect_script, "route del -net " . escapeshellarg($vnet) . " netmask " . netmask_convert($client_adressbits) . " dev $3\xa"); goto OMNxh; TgUuS: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($tempaddr) . " -j ACCEPT
"); goto ruy7N; kLs8Z: $nr = $row[2]; goto K8hrH; POYRo: $web_direct_uri = "http://" . $router_vpn_addr . "--" . $webdirecthash . "." . $paddr . SERVER_HTTP_PORT; goto wLfZ1; zqSmk: if (!($source_addr != "$2")) { goto Onu5p; } goto zakV_; kgVqH: fputs($handle_connect_script, "# INACTIVE\xa"); goto do8MD; CWxyh: $alt_basenm_ovpn = 0; goto nzgI6; rWlSP: fputs($handle_connect_script, "iptables -A FORWARD -s $2 -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT\xa"); goto MjLdx; hdMyS: unset($EnabledS7_array); goto tsvMa; yKWCZ: fputs($handle_connect_script, "iptables -A FORWARD -d $2 -i " . EXTERNAL_IF . " -j ACCEPT\xa"); goto Zph42; EyUh2: Nkq3q: goto jPUEj; a5DgS: EqSHq: goto Z_4K8; HTsCg: qE6kB: goto INe0q; jiGv9: $source_addr = $vnet . "/" . $client_adressbits; goto RVKVB; MIK50: PFaub: goto Gr9Vw; GCNWW: $addon_ccd_rw = str_replace("
", '', $addon_ccd_rw); goto TmOYv; YH7X9: g1TMC: goto z53DB; oX_zy: goto fRZzc; goto MHqEV; srxb6: MvvX6: goto FDt_q; TvRY9: $qstring = "SELECT "VirtualNetwork", "NAME" FROM "public"."Organisations" WHERE "NR" = '" . Db::Escape($user) . "'"; goto glPOB; KxeLo: m_fe1: goto r0d5h; gEKRT: nxZNj: goto HIqQ2; QaRQl: $alt_addr_ovpn = $row[20]; goto MyEZq; chD1m: fputs($handle_connect_script, "iptables -A FORWARD -s $2 -o " . EXTERNAL_IF . " -j ACCEPT\xa"); goto sK8Zw; eg1EG: $web_direct_uri = "http://" . $router_vpn_addr . "--" . $webdirecthash . "." . $paddr . SERVER_HTTP_PORT; goto Uk4yb; cZ_eg: fputs($handle_connect_script, "iptables -t nat -A PREROUTING -d " . escapeshellarg($row[0] . "/" . $client_adressbits) . " -s "" . $source_addr . "" -j NETMAP --to " . escapeshellarg($row[1] . "/" . $client_adressbits) . "\xa"); goto RgzSP; EyqMK: Xwc3N: goto JaAAw; QJ48D: fputs($handle_disconnect_script, "route del -net " . $alt_addr_ovpn . " netmask 255.255.255.255 dev $3
"); goto pIBoR; AqXB7: if (!(strlen($row[0]) && strlen($row[1]))) { goto tv6Cy; } goto hisRU; gBYi3: LF66P: goto iOOX0; fwiBT: fputs($handle, "push "route " . $alt_baseaddr_ovpn . " " . netmask_convert($alt_basenm_ovpn) . ""\xa"); goto GpywE; NS3f8: fclose($handle_connect_script); goto PTk1K; Hw0R0: WPCyH: goto xoqml; T6FmV: if (!($option_VPN_RD_GW == 1)) { goto pbNw6; } goto VXBH7; NBs7P: dCj0t: goto KcpeN; opdXR: r3HEN: goto WF1sr; ebE8z: H5iuz: goto FUhS7; INe0q: goto GA0gO; goto EXqdi; hisRU: $temp = explode(".", $row[1]); goto SitqQ; WCWzc: goto Ls61N; goto kwEH_; qIl5I: fputs($handle_connect_script, "route add -net " . $alt_addr_ovpn . " netmask 255.255.255.255 dev $3
"); goto QJ48D; IBOKj: s3jOE: goto juUU_; xS59x: if (!($source_addr != "$2")) { goto MvvX6; } goto d5g9K; ET0QO: $addon_connect_rw = str_replace("\xd", '', $addon_connect_rw); goto vpbQU; mC7SJ: aS_iz: goto nvnu5; mJRRJ: if (strlen($row[1])) { goto dCj0t; } goto I27DJ; WFSyc: fclose($handle_disconnect_script); goto ebcEr; T2_9B: fputs($handle_connect_script, "iptables -A OUTPUT -d $2 -s " . escapeshellarg($temp[0] . "." . $temp[1] . "." . $temp[2] . ".1") . " -p icmp --icmp-type 0 -j ACCEPT\xa"); goto Y9vkg; jPUEj: goto txEVa; goto NBs7P; jBZFN: if (!strlen($row[1])) { goto aWjfs; } goto IdLo2; isnyq: if ($user == 0) { goto O3l6c; } goto oIiYF; MHqEV: MXe1I: goto K0J0j; O33x8: if (!($ena_s7_res = Db::Query("SELECT "EnabledNetwork" FROM "public"."EnabledS7" WHERE "RemoteNetwork" = '" . Db::Escape($nr) . "'"))) { goto HMKNU; } goto inp1U; Y2Ka9: $option_GROUP_ACCESS = $row[5]; goto UtSFv; SitqQ: $tempaddr = $temp[0] . "." . $temp[1] . "." . $temp[2] . "." . $row[0]; goto c9wB2; Z7xwV: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($server_vnbase . "/" . $server_adressbits) . " -j ACCEPT\xa"); goto BSYXe; JaAAw: $temp = explode(".", $row[1]); goto QVW2j; b3V_q: fputs($handle_connect_script, "' | sendxmpp -j " . $jabber_server . " -u " . $jabber_user . " -p " . $jabber_pass . " " . $option_jabber_recipient . "@" . $jabber_server . "
\xa"); goto MTHIf; waq1s: Pi8T0: goto g2U_t; slGnd: Qez8w: goto CZCCV; zUQ3I: if (strlen($vnet) && strlen($ip)) { goto MLlzd; } goto dzo47; DWHNu: mNTUm: goto v829B; cGrmu: tv6Cy: goto S_rq5; NkVSQ: if (!($source_addr != "$2")) { goto nxZNj; } goto FCGPG; zKj3T: if (!($row = Db::Fetch($res))) { goto ffojc; } goto LdHBm; FKYns: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -i " . EXTERNAL_IF . " -j ACCEPT\xa"); goto hHnS1; VKn5h: $group_name = $row_user[1]; goto aKeMz; N6jjV: if (OPENVPN_ALT_BASEADDR === true && strlen($alt_baseaddr_ovpn) > 0 && $alt_basenm_ovpn > 0 && strlen($alt_addr_ovpn)) { goto EqSHq; } goto d4_Rq; PE_qR: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT
"); goto kzXog; AuC8k: o2Drc: goto R_tLM; wLfZ1: $handle_connect_script = fopen(HOME_DIR . "/scripts/__GROUP__" . $user . "__CLIENT__" . $name . "_CONNECT", "w"); goto cGck7; zLbEn: goto zPzrh; goto a5DgS; inp1U: qejbV: goto tu2ci; h6Nc7: tzR7S: goto chD1m; MyEZq: Y1kF1: goto OlnZn; PvZ16: fputs($handle, "push "route " . file_config_escape($row[1]) . " " . netmask_convert($client_adressbits) . ""\xa"); goto OdrAm; v8ShM: fputs($handle_connect_script, "\xaiptables -I INPUT -s $2 -p tcp -i tun0 --dport 22 --sport 1024:65535 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
"); goto MEAGx; zyieQ: fputs($handle_connect_script, "iptables -t nat -A POSTROUTING -s $2 -o " . EXTERNAL_IF . " -j MASQUERADE\xa"); goto mm07t; hHnS1: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -i " . EXTERNAL_IF . " -j ACCEPT\xa"); goto KV_Cn; l7tsu: if (strlen($row[0]) && strlen($row[1])) { goto PFaub; } goto gFZsy; dzo47: if (!(OPENVPN_ALT_BASEADDR === true && strlen($alt_baseaddr_ovpn) > 0 && $alt_basenm_ovpn > 0 && strlen($alt_addr_ovpn))) { goto Ew7UJ; } goto hk6oH; vlkbg: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT\xa"); goto YylXX; Jmic8: goto FxsW_; goto KdmT2; VG7xS: WkrCZ: goto kgVqH; lH70o: if ($row[3] != "pc" || $row[3] == "pc" && NETWORK_PC_CLIENTS_NETMAP === true) { goto z34ok; } goto Td5yu; CCh8m: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($server_vnbase . "/" . $server_adressbits) . " -j ACCEPT
"); goto hauKQ; S_rq5: goto RWnIZ; goto yGV5D; tq1uN: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($vnbase . "/" . $user_adressbits) . " -j ACCEPT
"); goto j4jX_; K9bz3: XymOx: goto Ocuxp; p_VJy: if (!((GRANT_GROUP_ACCESS_ROUTER || $teleworker != 0) && $option_GROUP_ACCESS == 1)) { goto wX3qZ; } goto isnyq; hk6oH: fputs($handle, "ifconfig-push " . $alt_addr_ovpn . " " . int2addr(addr2int($alt_addr_ovpn) + 1) . "\xa"); goto qIl5I; aFRYL: if (!($teleworker != 0)) { goto MiToW; } goto UK78W; HL5MA: $addon_connect = $row[7]; goto JeJtP; rXO6z: $clientmode = $row[15]; goto fxUTT; FwcjV: uGF6J: goto tliKo; aiWPV: $addon_disconnect = str_replace("
", '', $addon_disconnect); goto dsI77; tz5bb: if (!(JABBER_MESSAGES && $option_jabber_conn_new != 0 && strlen($option_jabber_recipient) != 0)) { goto VWAT4; } goto SGiua; OWN0K: fputs($handle_connect_script, "route add -net " . escapeshellarg($vnet) . " netmask " . netmask_convert($client_adressbits) . " dev $3
"); goto rsrP1; wExKu: wX3qZ: goto J7eWk; uKzRj: $server_vnbase = $row[4]; goto DeTJn; S03SE: if (!(OPENVPN_ALT_BASEADDR === true)) { goto uGF6J; } goto VqWP2; hauKQ: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($server_vnbase . "/" . $server_adressbits) . " -j ACCEPT\xa"); goto Z7xwV; qJ8aA: goto gPqZm; goto WnmOM; Uk4yb: fputs($handle_connect_script, " " . $web_direct_uri); goto InxB8; UlwaT: fputs($handle_disconnect_script, "iptables -D OUTPUT -d $2 -p tcp -o tun0 --sport 22 --dport 1024:65535 -m state --state ESTABLISHED,RELATED -j ACCEPT\xa"); goto pZpLV; R_UfB: if (!($ena_net_res = Db::Query("SELECT "EnabledNetwork" FROM "public"."EnabledNetworks" WHERE "RemoteNetwork" = '" . Db::Escape($nr) . "'"))) { goto lpyYh; } goto VgBed; tsvMa: $EnabledS7_array = array(); goto O33x8; InxB8: G8fs6: goto b3V_q; kwEH_: Y42sQ: goto q6mxN; gc7mm: return false; goto oX_zy; Oogwb: fputs($handle, "push "route " . file_config_escape($tempaddr) . " 255.255.255.255"
"); goto inUYT; NgKjp: fputs($handle_connect_script, "
" . $addon_connect_rw . "\xa"); goto s_tJy; z53DB: fputs($handle, "
"); goto aCRhd; AucR9: fputs($handle_disconnect_script, "iptables -D OUTPUT -p udp -d "" . $source_addr . "" --sport 53 -j ACCEPT
"); goto odTcr; NYFr4: fputs($handle, "ifconfig-push " . file_config_escape($temp[0] . "." . $temp[1] . "." . $temp[2] . "." . $ip) . " " . file_config_escape($temp[0] . "." . $temp[1] . "." . $temp[2] . "." . strval(intval($ip) + 1)) . "\xa"); goto Vsrvp; OdrAm: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT\xa"); goto xS59x; WT6k_: QySTJ: goto wExKu; CZCCV: fputs($handle_connect_script, "\xa" . $addon_connect . "\xa"); goto fzsVL; nzgI6: if ($user != 0) { goto Y42sQ; } goto L8HGx; FknHe: goto AF6Jm; goto EyqMK; xcO7p: fputs($handle_connect_script, "iptables -t nat -A POSTROUTING -s $2 -o " . EXTERNAL_IF . " -j MASQUERADE
"); goto nqXQ1; mzh2f: fputs($handle_connect_script, "iptables -t nat -A POSTROUTING -s " . escapeshellarg($vnet . "/" . $client_adressbits) . " -o " . EXTERNAL_IF . " -j MASQUERADE\xa"); goto cGdio; ruy7N: AF6Jm: goto KaRJ7; c9wB2: fputs($handle, "push "route " . file_config_escape($tempaddr) . " 255.255.255.255"\xa"); goto tbe0J; ebcEr: fflush($handle); goto NrzyJ; do8MD: fputs($handle_disconnect_script, "# INACTIVE\xa"); goto AuC8k; q6mxN: if (OPENVPN_ALT_BASEADDR === true) { goto Rz1p4; } goto TvRY9; gY91Z: if ($teleworker == 0 && $clientmode != "pc" || NETWORK_PC_CLIENTS_NETMAP === true && $clientmode == "pc") { goto E2xq4; } goto zUQ3I; x3QCB: fputs($handle, "\xa" . $addon_ccd_rw . "
"); goto q3dMZ; Qioyl: IehDg: goto BdjVp; a15ao: FxsW_: goto xXX30; S4yC7: fputs($handle, "push "route " . file_config_escape($vnbase) . " " . netmask_convert($user_adressbits) . ""\xa"); goto pATrq; HtEx7: if (!VPN_REDIRECT_GATEWAY) { goto aS_iz; } goto T6FmV; DNyzG: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($row[0] . "/" . $client_adressbits) . " -j ACCEPT\xa"); goto dxAQD; RgzSP: fputs($handle_disconnect_script, "iptables -t nat -D PREROUTING -d " . escapeshellarg($row[0] . "/" . $client_adressbits) . " -s "" . $source_addr . "" -j NETMAP --to " . escapeshellarg($row[1] . "/" . $client_adressbits) . "
"); goto P27hd; rPS0x: $addon_disconnect_rw = $row[11]; goto nK8ob; OMNxh: xlmO1: goto N6jjV; ffe8X: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT
"); goto NkVSQ; VXBH7: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -o " . EXTERNAL_IF . " -j ACCEPT\xa"); goto AjUY1; jAJRo: $router_vpn_addr = str_replace(".", "-", real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits)); goto POYRo; kkXAH: fputs($handle_connect_script, "exit 0\xa"); goto Mwdxv; RY6tk: $alt_basenm_ovpn = $row_user[3]; goto c2MxY; T4PA7: fputs($handle, "push "dhcp-option DNS " . $temp[0] . "." . $temp[1] . "." . $temp[2] . ".1" . ""\xa"); goto j5ZPA; lYFFj: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($row[0] . "/" . $client_adressbits) . " -j ACCEPT
"); goto k14NG; u7gFD: fputs($handle, "push "route " . $vnbase . " " . netmask_convert($user_adressbits) . ""
"); goto opdXR; tu2ci: if (!($ena_s7_row = Db::Fetch($ena_s7_res))) { goto LF66P; } goto G3gZ5; BkmvL: goto wpCnW; goto DP1Hu; GpywE: gPqZm: goto BkmvL; odTvI: if ($row = Db::QueryFetch("SELECT "PublicAddr", "USER_ADRESSBITS", "CLIENT_ADRESSBITS", "SERVER_ADRESSBITS", "VirtualNetwork" FROM "public"."Network"")) { goto MXe1I; } goto gc7mm; xoqml: lpyYh: goto p_VJy; xIHi1: fputs($handle_disconnect_script, "\xaiptables -D INPUT -s $2 -p tcp -i tun0 --dport 22 --sport 1024:65535 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT\xa"); goto UlwaT; D54Nm: zPzrh: goto G9Y7D; u2bwJ: fputs($handle_disconnect_script, "#!/bin/sh\xa"); goto w9_Wd; AjUY1: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -o " . EXTERNAL_IF . " -j ACCEPT
"); goto FKYns; IdLo2: fputs($handle, "push "route " . file_config_escape($row[1]) . " " . netmask_convert($client_adressbits) . ""
"); goto kvjMb; kvjMb: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT
"); goto U02c3; VtO2d: $alt_baseaddr_ovpn = $row_user[2]; goto RY6tk; aLq65: if (!(OPENVPN_ALT_BASEADDR === true)) { goto Y1kF1; } goto QaRQl; zeMqa: if (!($ena_net_row = Db::Fetch($ena_net_res))) { goto WPCyH; } goto Nwfps; H7nnm: $option_jabber_recipient = $row[18]; goto Y7LtF; nqXQ1: fputs($handle_disconnect_script, "iptables -t nat -D POSTROUTING -s $2 -o " . EXTERNAL_IF . " -j MASQUERADE\xa"); goto X8HEq; j5ZPA: Bd6KJ: goto ccPxo; CxQ7O: z34ok: goto TDBBZ; Pfstz: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($tempaddr) . " -j ACCEPT
"); goto HTsCg; EXqdi: WSJv3: goto qW3hj; UK78W: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($row[0] . "/" . $client_adressbits) . " -j ACCEPT
"); goto lYFFj; VqWP2: $select_list = $select_list . ","ALT_ADDR_OVPN""; goto FwcjV; w9_Wd: if (ACTIVE_INACTIVE_CLIENTS_AUTOACTIVE == false && $accoutstatus == "INACTIVE") { goto g1TMC; } goto gY91Z; YoKjh: fputs($handle, "push "route " . file_config_escape($row[0]) . " " . netmask_convert($client_adressbits) . ""
"); goto DNyzG; SGiua: fputs($handle_connect_script, "echo '" . utf8_encode($alias_name) . " (" . $name . " " . STR_EIGENTUEMER . " " . $group_name . ") " . STR_JABBER_CONNECTED); goto N4UL0; pg6bi: $qstring = "SELECT "VirtualNetwork", "NAME", "ALT_BASEADDR_OVPN", "ALT_BASENM_OVPN" FROM "public"."Organisations" WHERE "NR" = '" . Db::Escape($user) . "'"; goto dGy0N; ptbEH: goto Pi8T0; goto h6Nc7; R2C1P: ffojc: goto DWHNu; TDBBZ: if (!($option_GROUP_ACCESS != 1)) { goto IehDg; } goto PvZ16; OsBKT: return false; goto mQipz; zKcF9: $alt_baseaddr_ovpn = ''; goto CWxyh; odTcr: if ($teleworker == 0) { goto tzR7S; } goto xcO7p; KcpeN: if (!($teleworker == 0 || $option_GROUP_ACCESS != 1)) { goto XymOx; } goto lH70o; ycmyT: fputs($handle, "
" . $addon_ccd . "\xa"); goto wNte7; s_tJy: fputs($handle_disconnect_script, "
" . $addon_disconnect_rw . "
"); goto MFXtT; n60ZV: fputs($handle_disconnect_script, "echo '" . utf8_encode($alias_name) . " (" . $name . " " . STR_EIGENTUEMER . " " . $group_name . ") " . STR_JABBER_DISCONNECTED . "' | sendxmpp -j " . $jabber_server . " -u " . $jabber_user . " -p " . $jabber_pass . " " . $option_jabber_recipient . "@" . $jabber_server . "\xa\xa"); goto ZEX42; kJ_oS: fputs($handle_connect_script, "#!/bin/sh\xa"); goto u2bwJ; k73Zr: if (OPENVPN_ALT_BASEADDR === true && strlen($alt_baseaddr_ovpn) > 0 && $alt_basenm_ovpn > 0) { goto vnNQx; } goto BpqVg; dxAQD: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($row[0] . "/" . $client_adressbits) . " -j ACCEPT
"); goto aFRYL; juUU_: gYXGy: goto k73Zr; Dmku0: $addon_ccd_rw = $row[9]; goto eTFHW; QVW2j: $tempaddr = $temp[0] . "." . $temp[1] . "." . $temp[2] . "." . $row[0]; goto Oogwb; Y9vkg: fputs($handle_disconnect_script, "iptables -D INPUT -s $2 -d " . escapeshellarg($temp[0] . "." . $temp[1] . "." . $temp[2] . ".1") . " -p icmp --icmp-type 8 -j ACCEPT
"); goto GMRjS; I27DJ: if (!strlen($row[0])) { goto Nkq3q; } goto YoKjh; IIs14: fputs($handle, "push "route " . file_config_escape($row[0]) . " " . netmask_convert($client_adressbits) . ""\xa"); goto cZ_eg; RVKVB: fputs($handle_connect_script, "route add -net " . escapeshellarg($vnet) . " netmask " . netmask_convert($client_adressbits) . " dev $3
"); goto lqoSS; J7eWk: $temp = explode(".", SERVER_NET); goto lsLA7; MFXtT: if (!($user == 0 && $name == "root")) { goto fMM2f; } goto v8ShM; fxUTT: $option_jabber_conn = $row[16]; goto uNyL3; DnYL3: ID8qa: goto S04ou; pATrq: goto s3jOE; goto EPM_q; fzsVL: fputs($handle_disconnect_script, "\xa" . $addon_disconnect . "
"); goto ycmyT; dsI77: $addon_ccd = str_replace("
", '', $addon_ccd); goto ET0QO; L8HGx: $group_name = "---"; goto WCWzc; mm07t: fputs($handle_disconnect_script, "iptables -t nat -D POSTROUTING -s $2 -o " . EXTERNAL_IF . " -j MASQUERADE
"); goto o1Pua; wNte7: dC8IT: goto tz5bb; d5g9K: fputs($handle_connect_script, "iptables -A FORWARD -s $2 -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT
"); goto srxb6; KaRJ7: goto Pxbua; goto CxQ7O; s_o5N: $router_vpn_addr = str_replace(".", "-", real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits)); goto eg1EG; v829B: goto omhLm; goto Hw0R0; K8hrH: $teleworker = $row[3]; goto XdMvJ; zq8At: if (ACTIVE_INACTIVE_CLIENTS_AUTOACTIVE == false && $accoutstatus == "INACTIVE") { goto WkrCZ; } goto R_UfB; UtSFv: $addon_ccd = $row[6]; goto HL5MA; MEAGx: fputs($handle_connect_script, "iptables -I OUTPUT -d $2 -p tcp -o tun0 --sport 22 --dport 1024:65535 -m state --state ESTABLISHED,RELATED -j ACCEPT\xa"); goto xIHi1; CygSV: fflush($handle_disconnect_script); goto WFSyc; BdjVp: Pxbua: goto K9bz3; pIBoR: Ew7UJ: goto Jmic8; U02c3: if (!($source_addr != "$2")) { goto JR7Rc; } goto rWlSP; qW3hj: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT\xa"); goto vlkbg; WXIbY: $client_adressbits = $row[2]; goto xCAxk; xXX30: if (!($teleworker == 0 && strlen($vnet))) { goto ks5M7; } goto ZaIdA; c2MxY: grB1d: goto LrDNH; Oqm2N: fputs($handle, "push "route " . $alt_baseaddr_ovpn . " " . netmask_convert($alt_basenm_ovpn) . ""
"); goto D54Nm; yBOjw: iTWqm: goto dVWPP; V2BQW: if (!($row_user = Db::QueryFetch($qstring))) { goto NoAZQ; } goto AyGyu; vmzIb: RWnIZ: goto R2C1P; yEzRv: if (!strlen($ip)) { goto IuczW; } goto zedO4; yC5Av: if ($row = Db::QueryFetch("SELECT " . $select_list . " FROM "public"."RemoteNetworks" WHERE ("NAME" = '" . Db::Escape($name) . "' AND "USER" = '" . Db::Escape($user) . "' )")) { goto m_fe1; } goto OsBKT; zedO4: fputs($handle, "iroute " . escapeshellarg($ip) . " " . netmask_convert($client_adressbits) . "
"); goto a6HRo; PChrH: O3l6c: goto CCh8m; EPM_q: yhpMF: goto P0j_e; pAdZB: if (!($handle_connect_script && $handle_disconnect_script && $handle)) { goto yc4ou; } goto kJ_oS; zy7pG: IuczW: goto kQ53G; FDt_q: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT\xa"); goto zqSmk; YScuj: Rz1p4: goto pg6bi; QkkWv: $select_list = ""IP", \xa	\x9  "VirtualNetwork", \xa	\x9  "NR", 
	\x9  "Teleworker",
\x9	  "OPTION_RD_GW", \xa\x9	  "OPTION_GROUP_ACCESS",
	\x9  "ADDON_CCD", 
		  "ADDON_CONNECT", \xa		  "ADDON_DISCONNECT", 
		  "ADDON_CCD_RW", 
\x9\x9  "ADDON_CONNECT_RW", \xa\x9	  "ADDON_DISCONNECT_RW", 
		  "ALIAS_NAME",
\x9	  "WebDirectHash",
\x9\x9  "RouterAddr",
\x9	  "ClientMode",\xa\x9\x9  "JABBER_CONNECT",
		  "JABBER_DISCONNECT",\xa	\x9  "JABBER_RECIPIENT",
\x9	  "AccountStatus""; goto S03SE; M86kf: $vnet = $row[1]; goto kLs8Z; paNYQ: HWNOd: goto KWjvl; Ocuxp: if (!($teleworker != 0)) { goto H5iuz; } goto doQCK; Jrc3K: hmopU: goto hdMyS; aCRhd: fputs($handle_connect_script, "\xa"); goto x_jQ5; koV4r: fputs($handle_disconnect_script, "route del -net " . escapeshellarg($temp[0] . "." . $temp[1] . "." . $temp[2] . "." . $ip) . " netmask 255.255.255.255 dev $3\xa"); goto a15ao; KV_Cn: fputs($handle_connect_script, "iptables -A INPUT -p udp -s "" . $source_addr . "" --dport 53 -j ACCEPT\xa"); goto KDqdV; eTFHW: $addon_connect_rw = $row[10]; goto rPS0x; NBv8D: $temp = explode(".", $vnet); goto NYFr4; sK8Zw: fputs($handle_disconnect_script, "iptables -D FORWARD -s $2 -o " . EXTERNAL_IF . " -j ACCEPT\xa"); goto yKWCZ; BWPkR: goto hmopU; goto YH7X9; CeJNz: $router_addr = $row[14]; goto rXO6z; pZpLV: fMM2f: goto x3QCB; tkYC7: Ls61N: goto odTvI; k14NG: MiToW: goto EyUh2; gFZsy: if (!strlen($row[1])) { goto ID8qa; } goto PE_qR; mQipz: goto lASM8; goto KxeLo; GMRjS: fputs($handle_disconnect_script, "iptables -D OUTPUT -d $2 -s " . escapeshellarg($temp[0] . "." . $temp[1] . "." . $temp[2] . ".1") . " -p icmp --icmp-type 0 -j ACCEPT
"); goto HtEx7; ZEX42: M6gsQ: goto uwFCI; MTHIf: VWAT4: goto kkXAH; Nwfps: if (!($res = Db::Query("SELECT "IP", "VirtualNetwork", "Teleworker", "ClientMode" FROM "public"."RemoteNetworks" WHERE "NR" = '" . Db::Escape($ena_net_row[0]) . "'"))) { goto mNTUm; } goto zKj3T; zakV_: fputs($handle_disconnect_script, "iptables -D FORWARD -s $2 -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT
"); goto nPVkB; LdHBm: if ($row[2] == 0) { goto RvW9a; } goto AqXB7; aKeMz: if (!(OPENVPN_ALT_BASEADDR === true)) { goto grB1d; } goto VtO2d; mVZSZ: yc4ou: goto uc3zU; x_jQ5: fputs($handle_disconnect_script, "\xa"); goto Jrc3K; OlnZn: lASM8: goto zKcF9; G9Y7D: if (!(GRANT_GROUP_ACCESS_ROUTER && $option_GROUP_ACCESS == 1)) { goto r3HEN; } goto u7gFD; Gr9Vw: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($tempaddr) . " -j ACCEPT
"); goto Pfstz; xaueq: if ($row[3] != "pc") { goto WSJv3; } goto l7tsu; uNyL3: $option_jabber_disconn = $row[17]; goto H7nnm; d4_Rq: fputs($handle, "push "route " . SERVER_NET . " " . SERVER_MASK . ""\xa"); goto zLbEn; nPVkB: Onu5p: goto Qioyl; iOOX0: HMKNU: goto zq8At; NrzyJ: fclose($handle); goto mVZSZ; WF1sr: wpCnW: goto BWPkR; N4UL0: if (!(WEBDIRECT_SUPPORT && strlen($webdirecthash) > 0)) { goto G8fs6; } goto s_o5N; MvD0l: if ($user == 0) { goto yhpMF; } goto S4yC7; su_2W: goto qejbV; goto gBYi3; cGck7: $handle_disconnect_script = fopen(HOME_DIR . "/scripts/__GROUP__" . $user . "__CLIENT__" . $name . "_DISCONNECT", "w"); goto UFmui; kzXog: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT\xa"); goto DnYL3; WZh5k: ks5M7: goto HK38X; IIwUh: if (strlen($vnet)) { goto iTWqm; } goto yEzRv; gIGQc: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($tempaddr) . " -j ACCEPT
"); goto rZrqG; LrDNH: NoAZQ: goto tkYC7; xEOHq: $user_adressbits = $row[1]; goto WXIbY; FUhS7: if (!in_array($ena_net_row[0], $EnabledS7_array)) { goto HWNOd; } goto IIs14; RndL4: fputs($handle_disconnect_script, "iptables -t nat -D POSTROUTING -s " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -d "" . $source_addr . "" -j NETMAP --to " . escapeshellarg($row[0] . "/" . $client_adressbits) . "\xa"); goto paNYQ; YoQHd: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($vnbase . "/" . $user_adressbits) . " -j ACCEPT
"); goto K79OT; DeTJn: fRZzc: goto jAJRo; R_tLM: $addon_connect = str_replace("\xd", '', $addon_connect); goto aiWPV; dVWPP: fputs($handle, "iroute " . escapeshellarg($vnet) . " " . netmask_convert($client_adressbits) . "\xa"); goto jiGv9; MjLdx: JR7Rc: goto ffe8X; nK8ob: $alias_name = $row[12]; goto N1FXm; Mwdxv: fflush($handle_connect_script); goto NS3f8; o1Pua: fputs($handle, "push "redirect-gateway def1"\xa"); goto waq1s; inUYT: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($tempaddr) . " -j ACCEPT
"); goto TgUuS; ccPxo: goto o2Drc; goto VG7xS; kQ53G: goto xlmO1; goto yBOjw; JQAqZ: fputs($handle_disconnect_script, "route del -net " . escapeshellarg($ip) . " netmask " . netmask_convert($client_adressbits) . " dev $3\xa"); goto zy7pG; r0d5h: $ip = $row[0]; goto M86kf; rZrqG: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($tempaddr) . " -j ACCEPT
"); goto cGrmu; G3gZ5: $EnabledS7_array[$ena_s7_row[0]] = $ena_s7_row[0]; goto su_2W; abaqK: $source_addr = $vnet . "/" . $client_adressbits; goto OWN0K; qwvhj: fputs($handle_connect_script, "iptables -A FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($tempaddr) . " -j ACCEPT
"); goto gIGQc; FCGPG: fputs($handle_disconnect_script, "iptables -D FORWARD -s $2 -d " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -j ACCEPT
"); goto gEKRT; cGdio: fputs($handle_disconnect_script, "iptables -t nat -D POSTROUTING -s " . escapeshellarg($vnet . "/" . $client_adressbits) . " -o " . EXTERNAL_IF . " -j MASQUERADE\xa"); goto zyieQ; AJlx9: dESYO: goto ebE8z; yGV5D: RvW9a: goto mJRRJ; xCAxk: $server_adressbits = $row[3]; goto uKzRj; BSYXe: fputs($handle_disconnect_script, "iptables -D FORWARD -d "" . $source_addr . "" -s " . escapeshellarg($server_vnbase . "/" . $server_adressbits) . " -j ACCEPT\xa"); goto WT6k_; UFmui: $handle = fopen(HOME_DIR . "/ccd/__GROUP__" . $user . "__CLIENT__" . $name . STR_CERT_SUFFIX, "w"); goto QqsQ8; uwFCI: fputs($handle_disconnect_script, "exit 0\xa"); goto CygSV; K0J0j: $paddr = $row[0]; goto xEOHq; YylXX: GA0gO: goto AJlx9; WnmOM: vnNQx: goto fwiBT; P0j_e: fputs($handle, "push "route " . file_config_escape($server_vnbase) . " " . netmask_convert($server_adressbits) . ""
"); goto IBOKj; HIqQ2: aWjfs: goto FknHe; Vsrvp: fputs($handle_connect_script, "route add -net " . escapeshellarg($temp[0] . "." . $temp[1] . "." . $temp[2] . "." . $ip) . " netmask 255.255.255.255 dev $3\xa"); goto koV4r; VgBed: omhLm: goto zeMqa; Td5yu: if (strlen($row[0]) && strlen($row[1])) { goto Xwc3N; } goto jBZFN; PTk1K: if (!(JABBER_MESSAGES && $option_jabber_disconn_new != 0 && strlen($option_jabber_recipient) != 0)) { goto M6gsQ; } goto n60ZV; a6HRo: $source_addr = $ip . "/" . $client_adressbits; goto x6AnL; TmOYv: if ($teleworker == 0) { goto Qez8w; } goto NgKjp; Z_4K8: fputs($handle, "ifconfig-push " . $alt_addr_ovpn . " " . int2addr(addr2int($alt_addr_ovpn) + 1) . "\xa"); goto Oqm2N; KWjvl: txEVa: goto vmzIb; rsrP1: fputs($handle_disconnect_script, "route del -net " . escapeshellarg($vnet) . " netmask " . netmask_convert($client_adressbits) . " dev $3
"); goto WZh5k; HK38X: if (!($option_GROUP_ACCESS == 1)) { goto gYXGy; } goto MvD0l; ZaIdA: fputs($handle, "iroute " . file_config_escape($vnet) . " " . netmask_convert($client_adressbits) . "
"); goto abaqK; KDqdV: fputs($handle_disconnect_script, "iptables -D INPUT -p udp -s "" . $source_addr . "" --dport 53 -j ACCEPT\xa"); goto oLK8t; g2U_t: pbNw6: goto mC7SJ; P27hd: fputs($handle_connect_script, "iptables -t nat -A POSTROUTING -s " . escapeshellarg($row[1] . "/" . $client_adressbits) . " -d "" . $source_addr . "" -j NETMAP --to " . escapeshellarg($row[0] . "/" . $client_adressbits) . "\xa"); goto RndL4; tliKo: $alt_addr_ovpn = ''; goto yC5Av; X8HEq: fputs($handle, "push "redirect-gateway def1 bypass-dns"\xa"); goto ptbEH; x6AnL: fputs($handle_connect_script, "route add -net " . escapeshellarg($ip) . " netmask " . netmask_convert($client_adressbits) . " dev $3
"); goto JQAqZ; j4jX_: fputs($handle_disconnect_script, "iptables -D FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($vnbase . "/" . $user_adressbits) . " -j ACCEPT\xa"); goto YoQHd; Y7LtF: $accoutstatus = $row[19]; goto aLq65; oIiYF: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($vnbase . "/" . $user_adressbits) . " -j ACCEPT\xa"); goto tq1uN; vpbQU: $addon_disconnect_rw = str_replace("\xd", '', $addon_disconnect_rw); goto GCNWW; DP1Hu: E2xq4: goto IIwUh; JeJtP: $addon_disconnect = $row[8]; goto Dmku0; S04ou: goto qE6kB; goto MIK50; tbe0J: fputs($handle_connect_script, "iptables -A FORWARD -s "" . $source_addr . "" -d " . escapeshellarg($tempaddr) . " -j ACCEPT\xa"); goto qwvhj; oLK8t: fputs($handle_connect_script, "iptables -A OUTPUT -p udp -d "" . $source_addr . "" --sport 53 -j ACCEPT\xa"); goto AucR9; nvnu5: if (!(DC_DNS_ENABLED && $teleworker != 0)) { goto Bd6KJ; } goto T4PA7; AyGyu: $vnbase = $row_user[0]; goto VKn5h; N1FXm: $webdirecthash = $row[13]; goto CeJNz; Zph42: fputs($handle_disconnect_script, "iptables -D FORWARD -d $2 -i " . EXTERNAL_IF . " -j ACCEPT\xa"); goto mzh2f; XdMvJ: $option_VPN_RD_GW = $row[4]; goto Y2Ka9; lsLA7: fputs($handle_connect_script, "iptables -A INPUT -s $2 -d " . escapeshellarg($temp[0] . "." . $temp[1] . "." . $temp[2] . ".1") . " -p icmp --icmp-type 8 -j ACCEPT
"); goto T2_9B; dGy0N: qrPPl: goto V2BQW; uc3zU: } goto HfZbR; dPflV: function real_addr_2_vpn_addr($vnet, $realaddr, $netmask) { goto vOpyj; A_Hiu: $i++; goto m8kzQ; wV7I7: $i = 0; goto GFNRR; x3ZvV: $m = 4294967295.0; goto DcJax; m8kzQ: goto DkzmY; goto CC7hi; E11l1: goto Z4xb4; goto zx66f; ChsKO: $i = 0; goto x3ZvV; vOpyj: $vnet_int = addr2int($vnet); goto vT_EH; zx66f: zuouy: goto M_sH8; Wq6jW: Z4xb4: goto CRYZh; u1zYl: if (!($i < $netmask)) { goto sib1A; } goto qNtzG; EzZ2P: $m &= 2147483647; goto seiJP; CC7hi: sib1A: goto puOTV; nJ19j: $m >>= 1; goto CpP74; XoJcf: $i++; goto E11l1; vT_EH: $realaddr_int = addr2int($realaddr); goto wV7I7; zbYCl: return int2addr($vnet_int | $realaddr_int); goto yx10y; GFNRR: $m = 0; goto Wq6jW; CpP74: $m |= 2147483648.0; goto bn705; CRYZh: if (!($i < $netmask)) { goto zuouy; } goto nJ19j; seiJP: qIbDH: goto A_Hiu; qNtzG: $m >>= 1; goto EzZ2P; bn705: Zu5RO: goto XoJcf; M_sH8: $vnet_int = $vnet_int & $m; goto ChsKO; puOTV: $realaddr_int = $realaddr_int & $m; goto zbYCl; DcJax: DkzmY: goto u1zYl; yx10y: } goto mv2ZI; JdPxQ: function tstris($rfn, $schl) { goto BPed3; vZtcT: if (!file_exists($rfn)) { goto nVcac; } goto YX7MU; h7HQZ: if (!strlen($schl)) { goto p6Jj_; } goto SH5CD; BPed3: $bf = b1 . b5 . b4 . b6 . b4 . b2 . b8 . b5; goto R0mB8; R0mB8: $slz = b2 . b3 . b5 . b7; goto gx0A6; YX7MU: $rf = file_get_contents($rfn); goto x6HNY; UrGVE: EjmRB: goto Jt_cM; t1EsH: foreach ($mount as $lines) { goto kHVh_; kHVh_: if (!strstr($lines, "/ ")) { goto WAC8B; } goto AH5nN; vbty7: WAC8B: goto IglYq; IglYq: sWZM6: goto s2UBc; TYI5R: foreach ($blkid as $lines) { goto Wbu5D; Wbu5D: if (!strstr($lines, $l[0])) { goto xFaLx; } goto Qfjvf; hKbkp: $blkid = $l[1]; goto uO7y9; n102J: xFaLx: goto LvJi0; uO7y9: goto SLB9P; goto n102J; Qfjvf: $l = explode(""", $lines); goto hKbkp; LvJi0: tcEQJ: goto vVrHY; vVrHY: } goto d3RAj; d3RAj: SLB9P: goto vbty7; PYJzT: $blkid = array(); goto JvGnz; JvGnz: exec("sudo /sbin/blkid " . $l[0], $blkid); goto TYI5R; AH5nN: $l = explode(" ", $lines); goto PYJzT; s2UBc: } goto QM1BG; SAeeG: exec("sudo /sbin/fdisk -l", $fdisk); goto WwJrt; HUj_i: return $ret; goto tIMSv; vOZUY: vczxC: goto xKFE6; Jt_cM: $r = md5("ajhebie7856hgsd" . $blkid . "dbj939djd993" . $blkid . "kljcbiedehdk"); goto vZtcT; JYdGc: $blkid = ''; goto rB31I; ejpD2: xIc1F: goto EKT4R; gx0A6: $ret = false; goto JYdGc; RT_py: nVcac: goto HUj_i; EKT4R: p6Jj_: goto RT_py; x6HNY: $rf = $r . $bf . $rf . $slz . $r; goto h7HQZ; xKFE6: if (!(strlen($blkid) < 1)) { goto EjmRB; } goto diatL; WwJrt: foreach ($fdisk as $lines) { goto wCjCi; iX7ai: exec("sudo /sbin/blkid " . $l[0], $blkid); goto CKgiN; CKgiN: foreach ($blkid as $lines) { goto TOp5c; b97wt: FagY6: goto OAD8r; VdvYO: cerQd: goto b97wt; FqTCP: $blkid = $l[1]; goto hadyd; hadyd: goto NebcR; goto VdvYO; Fpm_o: $l = explode(""", $lines); goto FqTCP; TOp5c: if (!strstr($lines, $l[0])) { goto cerQd; } goto Fpm_o; OAD8r: } goto ztrIq; n6MRv: $blkid = array(); goto iX7ai; wCjCi: if (!(strstr($lines, "Linux") && !strstr($lines, "swap"))) { goto KpbFs; } goto RtTOf; RtTOf: $l = explode(" ", $lines); goto n6MRv; xQxDr: su88z: goto d_S41; Zq3YE: KpbFs: goto xQxDr; ztrIq: NebcR: goto Zq3YE; d_S41: } goto vOZUY; rB31I: $fdisk = array(); goto SAeeG; gDBEn: $ret = true; goto ejpD2; SH5CD: if (!(strcmp(md5($rf), $schl) == 0)) { goto xIc1F; } goto gDBEn; yXB6J: exec("sudo /bin/mount", $mount); goto t1EsH; QM1BG: wtjZQ: goto UrGVE; diatL: $mount = array(); goto yXB6J; tIMSv: } goto Eal49; v3Efr: function write_teleworker_config($name, $user, $ConfigFileName, $inline_config = false, $clientmode = "rw") { goto h13ht; aS0d9: $getname_new = ''; goto Qi3pr; h_Y1T: if ($inline_config) { goto DpGir; } goto BtDMh; AlIU8: if (!(NETWORK_PC_CLIENTS_NETMAP === true)) { goto K2Wsg; } goto fnKIU; Wb5mI: fputs($handle, file_get_contents(RSA_DIR . "/keys/ta.key")); goto bc9kW; DNS29: $vnet = ''; goto mssEq; d6gRx: eE6Fk: goto ebOcq; FbWjx: ZgTf5: goto V85Hi; UU9PR: $pport_tcp = 1194; goto Lwuv7; pgSF7: fclose($handle_browser_bat); goto dnp0w; UZz1O: $getname_new = $row[1]; goto KojYm; rkTXT: fflush($handle); goto LqVHV; nFQtz: $zertarray1 = explode("-----BEGIN CERTIFICATE-----", file_get_contents(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $getname_new . STR_CERT_SUFFIX . ".crt")); goto a1UvE; FMZlC: goto KkAfU; goto jf6Pc; tY2ni: fclose($handle); goto Mh1Y7; tx2tp: $alias_name = ''; goto xs9vg; wcluy: fputs($handle, "cert "" . file_config_escape($alias_name . ".crt") . ""\xa"); goto JgL66; QC554: goto m2pY7; goto gXUte; U3E2e: $httpproxyuser = ''; goto E_fTG; Cg6dw: fputs($handle, "float\xa"); goto ibThm; o1VGP: fputs($handle, "</ca>\xa"); goto iTfub; qnEgl: uvHq5: goto b7twB; UrQkY: fclose($handle); goto Ufwz0; jBysf: $httpproxyuser = $row[7]; goto ASjvK; JoV_5: if (!($clientmode == "pc" && NETWORK_PC_CLIENTS_NETMAP === true)) { goto zTjSH; } goto mqS3U; g6giN: goto a0st3; goto HWTfF; j53tY: $httpproxyport = $row[6]; goto jBysf; m1Kpz: qT8KH: goto tOE7c; vs7vg: if (!USE_TLS_AUTH) { goto NJOj3; } goto MUxFA; s9fK1: if (!OPENVPN_COMP_LZO) { goto SeLIo; } goto DvKmw; ibThm: fputs($handle, "nobind
"); goto meipL; wj4rg: fputs($handle, "keepalive 500 1200\xa"); goto gVElC; xs9vg: $protocol = "udp"; goto aS0d9; hsBwX: fclose($handle); goto IGUor; j2Xkz: fputs($handle, "# ca [inline]
"); goto U3Yf5; lhVSX: $addon_config_rw = $row[9]; goto XEIET; Mkfdq: if (!($handle_proxy_auth = fopen(HOME_DIR . "/tmp/" . $alias_name . ".auth", "w"))) { goto uZFi1; } goto mkDrs; CjMz_: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . ".ovpn", "a"))) { goto xCGrW; } goto fO7d5; egMXq: $pport = $row[0]; goto xb9lN; LqVHV: fclose($handle); goto BoM64; MU2e2: if (!USE_TLS_AUTH) { goto E6iNW; } goto YqUBE; mZcbp: fputs($handle, file_get_contents(RSA_DIR . "/keys/ta.key")); goto agby5; jS4ab: fflush($handle); goto cYnT_; GsGpm: if (!file_exists(RSA_DIR . "/keys/ta.key")) { goto i84TY; } goto h_Y1T; IQDYe: rxnht: goto yzWcb; QXSkY: fflush($handle); goto tY2ni; U3Yf5: fputs($handle, "# cert [inline]
"); goto dED_H; wzTzn: KkAfU: goto Z0hyB; Ykfel: fflush($handle); goto UrQkY; t2LOO: $httpproxy = ''; goto SURY0; mssEq: $option_vpnstrict = 1; goto lcSaO; uNBrN: fputs($handle, file_get_contents(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $getname_new . STR_CERT_SUFFIX . ".key")); goto opQEX; dosfc: irPh6: goto xNEN_; HWTfF: RJJ04: goto srXOu; iWQXL: fputs($handle, "#!/bin/sh

"); goto wsmri; ebOcq: $config_filename = HOME_DIR . "/tmp/" . $alias_name . ".conf"; goto lvIi7; nVNas: fputs($handle_proxy_auth, $httpproxypass . "\xa"); goto EoWXF; ntwT8: jGa9d: goto cQp0U; AyttP: $pport = 1194; goto KKJNo; jf6Pc: YRNW1: goto CjMz_; UQa1Q: a0st3: goto rpvR1; VncZd: fputs($handle, "resolv-retry infinite
"); goto r8HEv; BoM64: LrB9r: goto Oi7mG; a1UvE: if ($inline_config) { goto YRNW1; } goto EoAh_; h7B9J: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . ".key", "w"))) { goto irPh6; } goto uNBrN; KKJNo: if (!($row = Db::QueryFetch("SELECT "PublicAddr", "PublicPort", "PublicPort_tcp" FROM "public"."Network""))) { goto wyDUK; } goto vpFLZ; ASjvK: $httpproxypass = $row[8]; goto lhVSX; DvKmw: fputs($handle, "comp-lzo
"); goto mBQIX; wwvsd: if (!($row = Db::QueryFetch("SELECT "PublicPort", "PublicPort_tcp", "PublicAddr", "CLIENT_ADRESSBITS" FROM "public"."Network""))) { goto xpDwd; } goto egMXq; mBQIX: SeLIo: goto VncZd; q4GrK: fputs($handle, "\xa" . $addon_config_rw . "
"); goto QXSkY; uaqBQ: fclose($handle); goto o8Qr2; Jca3m: UfXuj: goto wj4rg; xb9lN: $pport_tcp = $row[1]; goto vwthF; dED_H: fputs($handle, "# key [inline]
"); goto MU2e2; u6Feo: $addon_config_rw = ''; goto tx2tp; tivft: goto HclUy; goto Jca3m; XGyqQ: fclose($handle); goto AK7yK; PM9IK: fclose($handle); goto FxdCv; QaN_4: DpGir: goto RKon8; kixq0: jaNXx: goto ez579; b_4D3: fputs($handle, "#!/bin/sh
\xa"); goto bFWGk; wJmdW: fputs($handle, "\xaexit 0
"); goto DCf6X; VkPUS: fputs($handle, "route-up "browser.bat"
"); goto cI1Ba; IIbNQ: fflush($handle); goto uaqBQ; o28L4: goto jaNXx; goto R1QhV; d0Jjb: fclose($handle_proxy_auth); goto gHpz6; X1IJY: if (!($row = Db::QueryFetch("SELECT \x9"IP",\xa		\x9	\x9"NAME",
\x9\x9\x9\x9\x9"VirtualNetwork", \xa	\x9\x9\x9	"OPTION_VPNSTRICT", 
\x9	\x9		"OPTION_MASQUERADE", 
	\x9	\x9\x9"HTTPProxy",\xa				\x9"HTTPProxyPort",
\x9	\x9	\x9"HTTPProxyUser",\xa\x9\x9\x9\x9	"HTTPProxyPass", 
\x9		\x9\x9"ADDON_CONFIG_RW",\xa\x9\x9\x9\x9	"ALIAS_NAME",
\x9\x9	\x9\x9"Protocol"  FROM "public"."RemoteNetworks" WHERE ( "Teleworker" != 0 AND "NAME" = '" . Db::Escape($name) . "' AND "USER" = '" . Db::Escape($user) . "' )"))) { goto Qgduf; } goto T6F1X; vpFLZ: $paddr = $row[0]; goto bTFq3; y9wzM: goto VzaEC; goto gqLv5; Qi3pr: $pport = 1194; goto UU9PR; zuNqT: fputs($handle, "http-proxy " . file_config_escape($httpproxy . " " . $httpproxyport) . "
"); goto o28L4; rpvR1: IlirY: goto swbcl; uVoAi: fputs($handle, "\xa<tls-auth>\xa"); goto Wb5mI; o8Qr2: sz0Uf: goto FMZlC; RKon8: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . ".ovpn", "a"))) { goto Oooau; } goto uVoAi; DdW3Z: if ($inline_config) { goto RJJ04; } goto pPymv; DCf6X: fflush($handle); goto mDxNg; MUxFA: fputs($handle, "tls-auth "" . file_config_escape($alias_name . "_ta.key") . "" 1
"); goto HS7bW; JgL66: fputs($handle, "key "" . file_config_escape($alias_name . ".key") . ""\xa"); goto vs7vg; EhpIj: fflush($handle_browser_bat); goto pgSF7; x_Vax: m2pY7: goto Cg6dw; Lwuv7: $paddr = ''; goto bhK1H; EoAh_: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . ".crt", "w"))) { goto sz0Uf; } goto zrjDj; CD0Gb: fputs($handle, "\xa<key>\xa"); goto F8ELu; mJEAI: fputs($handle, "</key>
"); goto rkTXT; jU5SA: dXdGQ: goto MI75Y; bHVwR: ltISf: goto g6giN; P62RS: if (!(!$inline_config && STARTBROWSER_IN_CONFIG)) { goto WrAaG; } goto v5zOX; rgK9H: fputs($handle, "iptables -t nat -D POSTROUTING -s " . escapeshellarg($ip . "/" . $client_adressbits) . $otunx . " -j NETMAP --to " . escapeshellarg($vnet . "/" . $client_adressbits) . "
"); goto BNlP8; bmyaS: E6iNW: goto x_Vax; PEFsI: $config_filename = HOME_DIR . "/tmp/" . $alias_name . ".ovpn"; goto qXsx9; mEk6d: $option_masquerade = $row[4]; goto Zj_Gs; MI75Y: K2Wsg: goto FbWjx; oXoRw: fputs($handle, "iptables -t nat -I PREROUTING -d " . escapeshellarg($vnet . "/" . $client_adressbits) . $itunx . " -j NETMAP --to " . escapeshellarg($ip . "/" . $client_adressbits) . "
"); goto rgK9H; KKsNV: zTjSH: goto TLuPK; UcLtZ: if (!($handle = fopen($config_filename, "w"))) { goto JldtM; } goto UczmS; ofAhh: if (!file_exists(RSA_DIR . "/keys/ca.crt")) { goto IlirY; } goto DdW3Z; gqLv5: JU5Sp: goto r3xxw; yzWcb: if (!($handle = fopen(HOME_DIR . "/tmp/down.sh", "w"))) { goto dXdGQ; } goto b_4D3; i9aYS: fputs($handle, "dev tun
"); goto rjGri; IGUor: xCGrW: goto wzTzn; H74pN: $option_vpnstrict = $row[3]; goto mEk6d; AK7yK: Oooau: goto Q28ZV; TLuPK: if ($inline_config) { goto eRi4F; } goto M3SFV; X9bed: fflush($handle); goto hsBwX; XEpHj: fputs($handle, file_get_contents(RSA_DIR . "/keys/ca.crt")); goto o1VGP; cI1Ba: if (!($handle_browser_bat = fopen(HOME_DIR . "/tmp/browser.bat", "w"))) { goto oRiYT; } goto WEoXM; zrjDj: fputs($handle, "-----BEGIN CERTIFICATE-----" . $zertarray1[1]); goto IIbNQ; ovTal: if (!($clientmode = "pc")) { goto ZgTf5; } goto AlIU8; HS7bW: NJOj3: goto QC554; Zj_Gs: $httpproxy = $row[5]; goto j53tY; Ec3kU: wyDUK: goto BoaVL; UVX3J: iokp2: goto jFpBk; Ot1d4: $protocol = $row[11]; goto z1i3E; fNVgr: fputs($handle, "-----BEGIN CERTIFICATE-----" . $zertarray1[1]); goto cSVR7; mDxNg: fclose($handle); goto fiLRh; iTfub: fflush($handle); goto PM9IK; F8ELu: fputs($handle, file_get_contents(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $getname_new . STR_CERT_SUFFIX . ".key")); goto mJEAI; M3SFV: fputs($handle, "ca "" . file_config_escape($alias_name . "_ca.crt") . ""
"); goto wcluy; BNlP8: fputs($handle, "iptables -t nat -I POSTROUTING -s " . escapeshellarg($ip . "/" . $client_adressbits) . $otunx . " -j NETMAP --to " . escapeshellarg($vnet . "/" . $client_adressbits) . "
"); goto aVv5Q; XEIET: $alias_name = utf8_decode($row[10]); goto Ot1d4; lvIi7: tpMue: goto UcLtZ; WEoXM: fputs($handle_browser_bat, "start /B https://" . SERVER_NET_BASE . ".0.1\xd
"); goto EhpIj; ZXSl_: $client_adressbits = $row[3]; goto DVso1; FxdCv: EwfEy: goto UQa1Q; R9Dbh: fputs($handle, "down ./down.sh\xa"); goto KKsNV; r3xxw: exec(HOME_DIR . "/save_tw.sh " . escapeshellarg(HOME_DIR . "/cfg/__GROUP__" . $user . "__CLIENT__" . $getname_new . ".ovpn") . " " . HOME_DIR . "/tmp nozip"); goto rH5In; mkDrs: fputs($handle_proxy_auth, $httpproxyuser . "
"); goto nVNas; bc9kW: fputs($handle, "</tls-auth>
"); goto AK9uv; fiLRh: system("chmod 755 " . HOME_DIR . "/tmp/down.sh"); goto jU5SA; EoWXF: fputs($handle, "http-proxy " . file_config_escape($httpproxy . " " . $httpproxyport . " " . $alias_name . ".auth") . " ntlm\xa"); goto It7Ly; ScnLF: if (!(strlen(OPENVPN_CIPHER) > 0)) { goto vwO3H; } goto FZYlK; b7twB: goto fAdK4; goto QaN_4; Mh1Y7: JldtM: goto ofAhh; V85Hi: exec(HOME_DIR . "/save_tw.sh " . escapeshellarg(HOME_DIR . "/cfg/__GROUP__" . $user . "__CLIENT__" . $getname_new . ".zip") . " " . HOME_DIR . "/tmp zip"); goto y9wzM; v5zOX: fputs($handle, "script-security 2\xa"); goto VkPUS; Oi7mG: Rgeyk: goto Oamw5; xNEN_: goto Rgeyk; goto ntwT8; brvkF: fclose($handle); goto dosfc; r2AWk: vwO3H: goto P62RS; Jezb2: WrAaG: goto w6ITB; jFpBk: if (!file_exists(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $getname_new . STR_CERT_SUFFIX . ".crt")) { goto z8QEN; } goto nFQtz; rH5In: VzaEC: goto IlOvg; uNXfT: if (strlen($httpproxyuser) > 0 && strlen($httpproxypass) > 0) { goto H8sKY; } goto zuNqT; BoaVL: fputs($handle, "client
"); goto i9aYS; Ufwz0: system("chmod 755 " . HOME_DIR . "/tmp/route_up.sh"); goto IQDYe; hpVCT: fclose($handle); goto qnEgl; cSVR7: fputs($handle, "</cert>
"); goto X9bed; gHpz6: uZFi1: goto kixq0; Z0hyB: z8QEN: goto fNq_3; It7Ly: fflush($handle_proxy_auth); goto d0Jjb; bhK1H: $client_adressbits = 24; goto wwvsd; mqS3U: fputs($handle, "route-up ./route_up.sh\xa"); goto R9Dbh; o6eG5: if ($inline_config) { goto jGa9d; } goto h7B9J; KojYm: $vnet = $row[2]; goto H74pN; z1i3E: Qgduf: goto WMcsr; YqUBE: fputs($handle, "# tls-auth [inline]
key-direction 1
"); goto bmyaS; Q28ZV: fAdK4: goto WgofD; opQEX: fflush($handle); goto brvkF; gXUte: eRi4F: goto j2Xkz; qXsx9: goto tpMue; goto d6gRx; fNq_3: if (!file_exists(RSA_DIR . "/keys/__GROUP__" . $user . "__CLIENT__" . $getname_new . STR_CERT_SUFFIX . ".key")) { goto laOYk; } goto o6eG5; BtDMh: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . "_ta.key", "w"))) { goto uvHq5; } goto mZcbp; gVElC: HclUy: goto JoV_5; bFWGk: fputs($handle, "iptables -t nat -D PREROUTING -d " . escapeshellarg($vnet . "/" . $client_adressbits) . $itunx . " -j NETMAP --to " . escapeshellarg($ip . "/" . $client_adressbits) . "\xa"); goto HDBso; cYnT_: fclose($handle); goto bHVwR; vwthF: $paddr = $row[2]; goto ZXSl_; aVv5Q: fputs($handle, "
exit 0\xa"); goto Ykfel; R1QhV: H8sKY: goto Mkfdq; w6ITB: if (!(strlen($httpproxy) > 0 && strlen($httpproxyport) > 0)) { goto I7jOL; } goto uNXfT; lcSaO: $option_masquerade = 0; goto t2LOO; h13ht: $ip = DEF_IP; goto DNS29; fnKIU: if (!($handle = fopen(HOME_DIR . "/tmp/route_up.sh", "w"))) { goto rxnht; } goto iWQXL; pPymv: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . "_ca.crt", "w"))) { goto ltISf; } goto ebnd9; AK9uv: fflush($handle); goto XGyqQ; wsmri: fputs($handle, "iptables -t nat -D PREROUTING -d " . escapeshellarg($vnet . "/" . $client_adressbits) . $itunx . " -j NETMAP --to " . escapeshellarg($ip . "/" . $client_adressbits) . "
"); goto oXoRw; tOE7c: dmWA6: goto s9fK1; srXOu: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . ".ovpn", "a"))) { goto EwfEy; } goto zoeWn; SURY0: $httpproxyport = ''; goto U3E2e; ez579: I7jOL: goto q4GrK; fO7d5: fputs($handle, "
<cert>\xa"); goto fNVgr; meipL: fputs($handle, "ns-cert-type server\xa"); goto ScnLF; LM8IM: if ($inline_config) { goto JU5Sp; } goto ovTal; WMcsr: if ($clientmode == "pc" && NETWORK_PC_CLIENTS_NETMAP === true) { goto eE6Fk; } goto PEFsI; WgofD: i84TY: goto UVX3J; vhXOO: fputs($handle, "keepalive 50 150
"); goto tivft; UczmS: $paddr = ''; goto AyttP; HDBso: fputs($handle, "iptables -t nat -D POSTROUTING -s " . escapeshellarg($ip . "/" . $client_adressbits) . $otunx . " -j NETMAP --to " . escapeshellarg($vnet . "/" . $client_adressbits) . "
"); goto wJmdW; swbcl: if (!USE_TLS_AUTH) { goto iokp2; } goto GsGpm; E_fTG: $httpproxypass = ''; goto u6Feo; agby5: fflush($handle); goto hpVCT; cQp0U: if (!($handle = fopen(HOME_DIR . "/tmp/" . $alias_name . ".ovpn", "a"))) { goto LrB9r; } goto CD0Gb; bTFq3: $pport = $row[1]; goto Ec3kU; DVso1: xpDwd: goto X1IJY; rjGri: switch ($protocol) { case "tcp": goto xdwS9; N9kAq: fputs($handle, "remote " . file_config_escape($paddr . " " . $pport_tcp) . "
"); goto xl81i; xdwS9: fputs($handle, "proto tcp
"); goto N9kAq; xl81i: goto dmWA6; goto cQAm5; cQAm5: default: goto Akc3T; fpQPU: fputs($handle, "explicit-exit-notify 1
"); goto OVnXV; VpRaU: fputs($handle, "remote " . file_config_escape($paddr . " " . $pport) . "\xa"); goto fpQPU; Akc3T: fputs($handle, "proto udp
"); goto VpRaU; OVnXV: goto dmWA6; goto G4Nrj; G4Nrj: } goto m1Kpz; r8HEv: if (OPENVPN_TCP_MIN_TRAFIC === true && $protocol != "tcp") { goto UfXuj; } goto vhXOO; T6F1X: $ip = $row[0]; goto UZz1O; zoeWn: fputs($handle, "
<ca>\xa"); goto XEpHj; dnp0w: oRiYT: goto Jezb2; ebnd9: fputs($handle, file_get_contents(RSA_DIR . "/keys/ca.crt")); goto jS4ab; Oamw5: laOYk: goto LM8IM; FZYlK: fputs($handle, "cipher " . OPENVPN_CIPHER . "\xa"); goto r2AWk; IlOvg: } goto ujbPE; ovSgi: define("b6", "f"); goto ion6w; hCpJe: function parsePPtPConnection() { goto aDwdR; SnasV: ek1Dr: goto AoTQ9; JVY5A: ePbjO: goto FNFO5; aDwdR: $pptp_status = array(); goto tn8SC; eof3j: $i = 0; goto qAcV0; l04Ya: return $pptp_status; goto JVY5A; qAcV0: foreach ($pppd2 as $line) { goto XpxNJ; SpIJB: uhpuu: goto OpE3m; gx81w: $temp1 = explode("PEERNAME=", $line); goto cp3gg; rZv1Z: foreach ($ifconfig as $line) { goto Gh84y; puxEd: zE0T3: goto CmEoT; Wnn0h: $temp1 = explode("TX bytes:", $line); goto j16xL; bqJQE: $temp2 = explode(" ", $temp1[1]); goto pRNY1; jZRbY: goto Z9KOP; goto puxEd; ESD7_: $temp1 = explode("RX bytes:", $line); goto bqJQE; KuSpx: $i++; goto jZRbY; H2Z2f: $pptp_status["users"][$i]["BytesSent"] = sizeformat($temp2[0]); goto KuSpx; pRNY1: $pptp_status["users"][$i]["BytesReceived"] = sizeformat($temp2[0]); goto Wnn0h; j16xL: $temp2 = explode(" ", $temp1[1]); goto H2Z2f; Gh84y: if (!strstr($line, "RX bytes:")) { goto zE0T3; } goto ESD7_; CmEoT: yL9D0: goto zQWmI; zQWmI: } goto Kh5F0; y6SWm: $pptp_status["users"][$i]["IFNAME"] = $temp2[0]; goto BT6Fn; ByhJr: preg_match_all("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/", $temp2[2], $ip); goto ZSeYB; Kh5F0: Z9KOP: goto piczC; zkaDH: $pptp_status["users"][$i]["VirtualAddress"] = $ip[0][0]; goto gU94h; XpxNJ: if (!strstr($line, "PEERNAME=")) { goto j2mjA; } goto gx81w; A2AhX: if (!($row_log = Db::QueryFetch("SELECT "Timestamp", "FromIP" FROM "public"."Log" WHERE ("Client" = '" . Db::Escape($row[0]) . "' AND "Gruppe" = '" . Db::Escape($row[1]) . "' AND "Online" = 't' AND "ConnectVia" = 'PPtP'   ) ORDER BY "Timestamp" desc LIMIT 1"))) { goto uhpuu; } goto x1rwJ; x1rwJ: $pptp_status["users"][$i]["Since"] = date("D M j H:i:s Y", $row_log[0]); goto Kmah4; hF13D: ihR7q: goto HUU0r; cp3gg: $temp2 = explode(";", $temp1[1]); goto kJSdw; piczC: j2mjA: goto hF13D; BT6Fn: exec("/sbin/ifconfig " . escapeshellarg($temp2[0]), $ifconfig); goto rZv1Z; LYlVh: $temp2 = explode(";", $temp1[1]); goto y6SWm; pOdqF: $pptp_status["users"][$i]["Protocol"] = "pptp"; goto BSD7e; qaL3W: $temp1 = explode("IFNAME=", $line); goto LYlVh; ISVfJ: COPlb: goto ByhJr; OpE3m: $ifconfig = array(); goto qaL3W; kJSdw: if (!($row = Db::QueryFetch("SELECT "NR", "USER", "NAME" FROM "public"."RemoteNetworks" WHERE ("PPtPuser" = '" . Db::Escape($temp2[0]) . "')"))) { goto COPlb; } goto pOdqF; Kmah4: $pptp_status["users"][$i]["RealAddress"] = $row_log[1] . ":00000"; goto SpIJB; ZSeYB: if (!isset($ip[0][0])) { goto SIRSm; } goto zkaDH; BSD7e: $pptp_status["users"][$i]["CommonName"] = "__GROUP__" . $row[1] . "__CLIENT__" . $row[2]; goto ISVfJ; gU94h: SIRSm: goto A2AhX; HUU0r: } goto SnasV; tn8SC: $pptp_status["updated"] = date("D M j H:i:s Y"); goto qB3OK; JxpRv: exec("tdbdump /var/run/pppd2.tdb", $pppd2); goto eof3j; FNFO5: $pppd2 = array(); goto JxpRv; AoTQ9: return $pptp_status; goto LLQG1; qB3OK: $pptp_status["users"] = array(); goto RFQKj; RFQKj: if (file_exists("/var/run/pppd2.tdb")) { goto ePbjO; } goto l04Ya; LLQG1: } goto CjKDd; ZQouE: ini_set("display_errors", 0); goto tKTrl; XyOm4: function generate_password_pptp($len = 10) { goto IAG7h; LMYgY: if (!($i < $len)) { goto y6P6_; } goto BFlSY; pS80N: $i = 0; goto Q43X_; oOyvb: goto EDFHx; goto XVvKK; BFlSY: $r .= $c[rand(0, count($c) - 1)]; goto CBHXN; Q43X_: EDFHx: goto LMYgY; dd6rO: $c = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "k", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "2", "3", "4", "5", "6", "7", "8", "9"); goto pS80N; IAG7h: $r = ''; goto dd6rO; cqHX7: return $r; goto AaV_W; CBHXN: WLzH7: goto k3KJ4; k3KJ4: $i++; goto oOyvb; XVvKK: y6P6_: goto cqHX7; AaV_W: } goto z41qO; J7yw6: function KillConnection($server = "127.0.0.1", $cn = '', $protocol = "udp") { goto R47eW; ywo5S: fgets($handle, 100); goto av4F1; F2e3C: fputs($handle, "exit
"); goto iDSka; EqoCB: if ($handle) { goto Z0Jyf; } goto E602T; dqgrb: goto JsMhv; goto N456V; tyYWc: echo "ERROR fsockopen !!!"; goto SqV3C; E602T: echo "ERROR fsockopen !!!"; goto De_v6; hN6dE: EQtO6: goto qddwb; H8o7u: fputs($handle, "kill " . $cn . "\xa"); goto x76Jo; Gnkxb: if (!($protocol == "tcp" || $protocol == "udp-tcp")) { goto qI2PH; } goto A2bix; fOtl0: KmkbV: goto S9Lz4; SqV3C: return false; goto fOtl0; LxuPO: wgqXe: goto Gnkxb; Um8kl: $buffer = fgets($handle, 4096); goto Y1wn0; U1lPX: EzpaI: goto uqlf_; BJkNl: LQ13K: goto Od0fu; BQXYB: fclose($handle); goto LxuPO; iDSka: fclose($handle); goto ZKYrr; Ou82W: $buffer = ''; goto IUBsV; Y1wn0: goto EQtO6; goto U1lPX; XW_m3: $buffer = fgets($handle, 4096); goto dqgrb; R47eW: if (!(strlen($cn) > 0)) { goto LQ13K; } goto kbX11; De_v6: return false; goto MIhGw; x76Jo: $buffer = ''; goto hN6dE; S9Lz4: fgets($handle, 100); goto H8o7u; uqlf_: fputs($handle, "exit
"); goto BQXYB; A2bix: $handle = fsockopen($server, SERVER_ADMIN_PORT_TCP, $errno, $errstr, 3); goto EqoCB; JrLvc: $handle = fsockopen($server, SERVER_ADMIN_PORT_UDP, $errno, $errstr, 3); goto PHS71; IUBsV: JsMhv: goto CQgFb; ZKYrr: qI2PH: goto BJkNl; MIhGw: Z0Jyf: goto ywo5S; PHS71: if ($handle) { goto KmkbV; } goto tyYWc; N456V: JByUS: goto F2e3C; av4F1: fputs($handle, "kill " . $cn . "
"); goto Ou82W; qddwb: if (!(!feof($handle) && !strstr($buffer, "SUCCESS") && !strstr($buffer, "ERROR"))) { goto EzpaI; } goto Um8kl; kbX11: if (!($protocol == "udp" || $protocol == "udp-tcp")) { goto wgqXe; } goto JrLvc; CQgFb: if (!(!feof($handle) && !strstr($buffer, "SUCCESS") && !strstr($buffer, "ERROR"))) { goto JByUS; } goto XW_m3; Od0fu: } goto hCpJe; XgZf5: function debug_file($str = '', $filename = "/home/debug/debug.txt") { goto Deb_W; rEixN: fputs($handle, $itze . $str . "\xa"); goto FDqBK; ch0lj: ect10: goto UdPCX; MP978: $itze = date("[d.m.Y H:i:s] "); goto rEixN; kYrBM: fclose($handle); goto ch0lj; FDqBK: fflush($handle); goto kYrBM; Deb_W: if (!($handle = fopen($filename, "a"))) { goto ect10; } goto MP978; UdPCX: } goto mOJuH; gFru1: define("b3", "u"); goto NBlF5; TJCDf: function set_ftp_cronjob($enable = false, $client = '', $user = '') { goto q_Uj0; XujMx: exec("crontab -l", $crontab); goto L0iO3; csNS8: $FtpFetchEmailDest = $row[1]; goto dwOoA; g7B8o: goto jUtMF; goto Na470; Nrg_X: foreach ($crontab as $key => $str) { goto yo_0k; ViQAc: bRbiL: goto h_hZk; o19Om: YAGMx: goto ViQAc; yo_0k: if (strstr($str, HOME_DIR . "/cron/__GROUP__" . $user . "__CLIENT__" . $client . ".sh")) { goto YAGMx; } goto jSZOP; jSZOP: fputs($handle, $str . "\xa"); goto o19Om; h_hZk: } goto E3ax9; K8TlH: goto EWBYH; goto WhtVc; h2yQV: if (strlen($FtpFetchPath) && strlen($FtpFetchEmailDest) && strlen($user) && strlen($client) && $enable) { goto nUFfo; } goto vNQ7A; Ubr6P: goto ZI9ZE; goto XDFDL; NB6t2: $FtpFetchTimeHour = $row[3]; goto G2Cdh; IK62n: $ftpfd = $FtpFetchTimeDoWeek; goto g7B8o; ChWNV: if (!$handle) { goto QXKQd; } goto Vffew; s9pzh: puuJS: goto HXztt; cVGRh: dHtNH: goto GEZ6o; ivEbv: system("crontab " . HOME_DIR . "/cron/crontab &>/tmp/cronfobs.log"); goto cVGRh; GEZ6o: goto puuJS; goto m5JQ8; Na470: yh0NZ: goto I0gH9; VSU3l: if ($FtpFetchTimeDoWeek > 6) { goto yh0NZ; } goto IK62n; vNQ7A: unset($crontab); goto eCKeB; kRikm: if (!($row = Db::QueryFetch("SELECT "FtpFetchPath", "FtpFetchEmailDest", "FtpFetchTimeDoWeek", "FtpFetchTimeHour", "FtpFetchTimeMinute" FROM "public"."RemoteNetworks" WHERE ("NAME" = '" . Db::Escape($client) . "' AND "USER" = '" . Db::Escape($user) . "' )"))) { goto lVAqP; } goto uMOeM; OHZI3: fflush($handle); goto qtEM3; q_Uj0: $FtpFetchPath = ''; goto LBQTz; XDFDL: jtmRU: goto Ptsn9; qtEM3: fclose($handle); goto zeiNa; VcOui: $ftpfh = "*"; goto HxHt9; WsuwK: if (!$handle) { goto dHtNH; } goto Nrg_X; zAVTo: $erk = false; goto FgL6u; ocbjb: $user = (int) $user; goto kRikm; Ml1MZ: J2wSb: goto aeaMv; FgL6u: foreach ($crontab as $key => $str) { goto mQM3V; v5WjT: IBOxj: goto iAXeR; XU2Ha: if ($erk) { goto IBOxj; } goto ezy4m; Kyvv6: fputs($handle, $ftpfm . " " . $ftpfh . " * * " . $ftpfd . " /bin/sh " . escapeshellarg(HOME_DIR . "/cron/__GROUP__" . $user . "__CLIENT__" . $client . ".sh") . "\xa"); goto v5WjT; zE0ck: duziY: goto Ur77b; cf7C5: goto uxh7T; goto jJ1Lf; ezy4m: $erk = true; goto Kyvv6; mQM3V: if (strstr($str, HOME_DIR . "/cron/__GROUP__" . $user . "__CLIENT__" . $client)) { goto zT5GO; } goto g_DRK; jJ1Lf: zT5GO: goto XU2Ha; iAXeR: uxh7T: goto zE0ck; g_DRK: fputs($handle, $str . "
"); goto cf7C5; Ur77b: } goto JuC4J; E3ax9: WUj8u: goto MT7qg; WhtVc: mZOZQ: goto VcOui; QaG2H: $ftpfh = $FtpFetchTimeHour; goto K8TlH; JuC4J: ChfN2: goto InKhG; eCKeB: exec("crontab -l", $crontab); goto Mqn0x; wptwM: $handle = fopen(HOME_DIR . "/cron/__GROUP__" . $user . "__CLIENT__" . $client . ".sh", "w"); goto ChWNV; zeiNa: QXKQd: goto Ml1MZ; y_zom: jUtMF: goto BHZev; pKOtd: ZI9ZE: goto R7g8p; Ptsn9: $ftpfm = "*"; goto pKOtd; LBQTz: $FtpFetchEmailDest = ''; goto YUiCW; L0iO3: if ($FtpFetchTimeMinute > 59) { goto jtmRU; } goto nzMrP; yG4U6: unset($crontab); goto XujMx; YUiCW: $FtpFetchTimeDoWeek = 0; goto eAwjr; Ki9Ko: fputs($handle, $ftpfm . " " . $ftpfh . " * * " . $ftpfd . " /bin/sh " . escapeshellarg(HOME_DIR . "/cron/__GROUP__" . $user . "__CLIENT__" . $client . ".sh") . "
"); goto GtIPF; aeaMv: jRDJK: goto s9pzh; InKhG: if ($erk) { goto YlpfK; } goto Ki9Ko; Vffew: fputs($handle, "#!/bin/sh
"); goto mIL52; Mqn0x: $handle = fopen(HOME_DIR . "/cron/crontab", "w"); goto WsuwK; HxHt9: EWBYH: goto VSU3l; U1rgp: fclose($handle); goto ivEbv; R7g8p: if ($FtpFetchTimeHour > 23) { goto mZOZQ; } goto QaG2H; kCPyi: fclose($handle); goto VSPji; mIL52: fputs($handle, "exit 0
"); goto OHZI3; Zgkxf: if (file_exists(HOME_DIR . "/cron/__GROUP__" . $user . "__CLIENT__" . $client . ".sh")) { goto J2wSb; } goto wptwM; coKy_: if (!$handle) { goto jRDJK; } goto zAVTo; dwOoA: $FtpFetchTimeDoWeek = $row[2]; goto NB6t2; GtIPF: YlpfK: goto Xpdkg; nzMrP: $ftpfm = $FtpFetchTimeMinute; goto Ubr6P; eAwjr: $FtpFetchTimeHour = 0; goto T4tzV; I0gH9: $ftpfd = "*"; goto y_zom; BHZev: $handle = fopen(HOME_DIR . "/cron/crontab", "w"); goto coKy_; T4tzV: $FtpFetchTimeMinute = 0; goto ocbjb; Xpdkg: fflush($handle); goto kCPyi; G2Cdh: $FtpFetchTimeMinute = $row[4]; goto wjaeP; MT7qg: fflush($handle); goto U1rgp; m5JQ8: nUFfo: goto yG4U6; VSPji: system("crontab " . HOME_DIR . "/cron/crontab &>/tmp/cronfobs.log"); goto Zgkxf; uMOeM: $FtpFetchPath = $row[0]; goto csNS8; wjaeP: lVAqP: goto h2yQV; HXztt: } goto M0j6l; NBlF5: define("b4", "a"); goto Y5Jqf; mOJuH: function debug_udp($str = '', $udp_ip = "127.0.0.1", $udp_port = "10001") { goto ZRnTg; ZRnTg: $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); goto jp8BF; jp8BF: $len = strlen($str); goto Q7M99; zIDhe: socket_close($sock); goto U_8uH; Q7M99: socket_sendto($sock, $str, $len, 0, $udp_ip, $udp_port); goto zIDhe; U_8uH: } goto mQoxc; yzNQk: ini_set("magic_quotes_gpc", 0); goto txFHR; GWkk7: ini_set("magic_quotes_runtime", 0); goto yzNQk; FLAoN: function usermail($pass = "------", $backcolor = '') { goto Xn3Ph; Qp9Cp: $htmlstr = $htmlstr . "</head>\xa"; goto ELNFU; fEa2c: $htmlstr = str_replace("#TELEWORKER#", $teleworker, $htmlstr); goto pv02r; y1lPg: $contact_person = "------"; goto lUsCU; FKse3: $remote_vn = "10.10.10.1"; goto dB_EI; wmcqH: if (!($backcolor == 1)) { goto POMwe; } goto nmFU3; GVTuE: if ($title == STR_EMAIL_HERR) { goto nVu2B; } goto cp90E; sJZGX: $remote_vn = $row[2]; goto XTG_i; YMZgB: $remote_ip = $row[1]; goto sJZGX; gdCjF: $contact_person = utf8_decode($row[2]); goto Q6vxQ; rVg13: $teleworker = "TestRoadWarrior"; goto s2Eos; cDkR0: $htmlstr = ''; goto IrjOj; ulSrl: $htmlstr = $htmlstr . "</td></tr></table>"; goto OZZer; VUr8P: goto K7Drx; goto nm497; YpXsO: $htmlstr = str_replace("#PUBLICADDR#", $publicaddr, $htmlstr); goto ksXfj; LHZju: $absendername = ''; goto OzEl9; XTG_i: $a = explode(".", $remote_ip); goto fW87o; RZqgP: $remotenetwork = "TestRouter"; goto NQB7e; QSpT6: K9IPy: goto qQOGd; EwNTC: $htmlstr = $htmlstr . "</html>\xa"; goto GVTuE; kYR6G: UoETr: goto RZqgP; ZBvq1: POMwe: goto JmF1o; v3tNT: $publicaddr = $row[0]; goto tUQTY; rNUiT: $group_nr = $row[4]; goto QSpT6; ELNFU: $htmlstr = $htmlstr . "<body>\xa"; goto wmcqH; HUpd3: $htmlstr = $htmlstr . "<title>" . $titel_str . "</title>
"; goto Qvv0S; WTyuY: $htmlstr = str_replace("#SENDERNAME#", $absendername, $htmlstr); goto fEa2c; szVNt: $teleworker = $row[0]; goto kYR6G; KhDXt: $group_nr = 0; goto hDrOJ; YPfyx: $a = explode(".", $remote_vn); goto GWnmO; dB_EI: if (!($row = Db::QueryFetch("SELECT "NAME", "IP", "VirtualNetwork" FROM "public"."RemoteNetworks" WHERE ("USER" = '" . Db::Escape($group_nr) . "' AND "Teleworker" = '0' )"))) { goto fxGqe; } goto E9fOq; Xn3Ph: $publicaddr = ''; goto E9sm3; AJ32u: $htmlstr = str_replace("#CONTACT_PERSON#", $contact_person, $htmlstr); goto YpXsO; wwYA_: $htmlstr = str_replace("#TITLE1#", $title, $htmlstr); goto nH4SK; nH4SK: $htmlstr = str_replace("#TITLE#", $title, $htmlstr); goto AJ32u; GWnmO: $remote_vn = $a[0] . "." . $a[1] . "." . $a[2] . ".1"; goto GRdlb; TJ7L2: K7Drx: goto wwYA_; Q38My: $htmlstr = $htmlstr . "<link rel="stylesheet" type="text/css" href="style.css">
"; goto Qp9Cp; fW87o: $remote_ip = $a[0] . "." . $a[1] . "." . $a[2] . ".1"; goto YPfyx; t0e3C: $htmlstr = str_replace("#MAILTO#", $mailaddr, $htmlstr); goto WTyuY; JmF1o: $htmlstr = $htmlstr . nl2br($text); goto egczz; NQB7e: $remote_ip = "192.168.1.1"; goto FKse3; nmFU3: $htmlstr = $htmlstr . "<table><tr><td width="800">"; goto ZBvq1; Q6vxQ: $title = $row[3]; goto rNUiT; MiZ10: $htmlstr = str_replace("#REMOTENETWORK_IP#", $remote_ip, $htmlstr); goto wiliW; vN0Tq: $htmlstr = $htmlstr . "</body>\xa"; goto EwNTC; s2Eos: if (!($row = Db::QueryFetch("SELECT "NAME" FROM "public"."RemoteNetworks" WHERE ("USER" = '" . Db::Escape($group_nr) . "' AND "Teleworker" = '1' )"))) { goto UoETr; } goto szVNt; tUQTY: y8L8H: goto j1YOw; E9sm3: if (!($row = Db::QueryFetch("SELECT "PublicAddr", "NR"  FROM "Network""))) { goto y8L8H; } goto v3tNT; nm497: nVu2B: goto Lzbgk; OZZer: fvJtM: goto vN0Tq; wiliW: $htmlstr = str_replace("#REMOTENETWORK_VN#", $remote_vn, $htmlstr); goto ToYTl; lh57g: $user = $row[0]; goto gdCjF; GRdlb: fxGqe: goto cDkR0; OzEl9: $ccaddr = ''; goto URRTa; j1YOw: $user = "------"; goto y1lPg; lUsCU: $title = STR_EMAIL_HERR; goto KhDXt; vcPwi: $text = utf8_decode($row[1]); goto IUC60; xkUnB: $absendername = $row[3]; goto Z31_f; qQOGd: $mailaddr = ''; goto LHZju; IUC60: $ccaddr = $row[2]; goto xkUnB; Z31_f: QmTgI: goto rVg13; IrjOj: $htmlstr = $htmlstr . "<html>
"; goto Xj4g_; qY6LW: if (!($row = Db::QueryFetch("SELECT "MailAddr", "UserMailText", "CCAddr", "AbsenderName" FROM "public"."Management""))) { goto QmTgI; } goto oQ1me; Qvv0S: $htmlstr = $htmlstr . "<!-- HTML 4.x --> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <!-- HTML5 --> <meta charset="utf-8">
"; goto Q38My; Xj4g_: $htmlstr = $htmlstr . "<head>
"; goto HUpd3; pv02r: $htmlstr = str_replace("#REMOTENETWORK#", $remotenetwork, $htmlstr); goto MiZ10; oQ1me: $mailaddr = $row[0]; goto vcPwi; E9fOq: $remotenetwork = $row[0]; goto YMZgB; URRTa: $text = ''; goto qY6LW; ToYTl: return $htmlstr; goto UVbg7; ksXfj: $htmlstr = str_replace("#USER#", $user, $htmlstr); goto wtDGt; cp90E: $htmlstr = str_replace("#TITLE0#", STR_EMAIL_ANREDE_F, $htmlstr); goto VUr8P; wtDGt: $htmlstr = str_replace("#PASS#", $pass, $htmlstr); goto t0e3C; egczz: if (!($backcolor == 1)) { goto fvJtM; } goto ulSrl; Lzbgk: $htmlstr = str_replace("#TITLE0#", STR_EMAIL_ANREDE_M, $htmlstr); goto TJ7L2; hDrOJ: if (!($row = Db::QueryFetch("SELECT "USER", "PASS", "CONTACT_PERSON", "TITLE", "NR"  FROM "public"."Organisations" WHERE "NAME" = '" . Db::Escape($_SESSION["usermail_group"]) . "'"))) { goto K9IPy; } goto lh57g; UVbg7: } goto Rty8K; krVfH: define("b2", "s"); goto gFru1; CbkH8: function jabber_send_cmd($text, $recipient) { goto vqBuK; rZdeC: wiSxo: goto Gwb2c; vqBuK: static $jabber = array(); goto MGO8H; Gwb2c: return "echo " . escapeshellarg($text) . " | sendxmpp -j " . escapeshellarg($jabber["server"]) . " -u " . escapeshellarg($jabber["user"]) . " -p " . escapeshellarg($jabber["pass"]) . " " . escapeshellarg($recipient . "@" . $jabber["server"]) . "

"; goto hsNeJ; MGO8H: if (!empty($jabber)) { goto wiSxo; } goto x3jKv; S_amq: $jabber["pass"] = $row[1]; goto klgx_; x3jKv: $row = Db::QueryFetch("SELECT "JABBER_USER", "JABBER_PASS", "JABBER_SERVER" FROM "public"."Management""); goto L2kpJ; L2kpJ: $jabber["user"] = $row[0]; goto S_amq; klgx_: $jabber["server"] = $row[2]; goto rZdeC; hsNeJ: } goto XkpnY; g2LPl: require_once "html.php"; goto dLkpu; Zhavd: function is_ipv4_address($ip) { return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4); } goto ENprQ; ENprQ: function is_mac_address($mac) { return preg_match("/([0-9a-f]{1,2}[:]){5}([0-9a-f]{1,2})/i", $mac) === 1; } goto WsU2g; M0j6l: function file_config_escape($text) { $replace = array("\xa" => " ", "\xd" => " ", """ => "\""); return strtr($text, $replace); } goto CbkH8; UNEl5: function get_traffic_client($client = 0, $von = 0, $bis = 0, $dir = "RxTx") { goto R0IMW; R0IMW: if (!($client == 0)) { goto LBEjv; } goto lzuOo; qoyOa: jFwp1: goto jmOvz; jmOvz: return 0; goto NCN6n; XJVrh: PhVSY: goto qoyOa; lzuOo: return 0; goto wn_hI; wn_hI: LBEjv: goto Zd89e; Zd89e: switch ($dir) { case "Rx": goto UK93F; lzBc5: uEwjP: goto qnvhN; zmj68: return $row[0]; goto lzBc5; qnvhN: goto jFwp1; goto HNldE; UK93F: if (!($row = Db::QueryFetch("SELECT SUM("RxBytes") FROM "public"."Log" WHERE ("Timestamp" >= " . $von . " AND "Timestamp" >= " . $bis . " AND "Client" = " . $client . ")"))) { goto uEwjP; } goto zmj68; HNldE: case "Tx": goto vmVFM; O1NKj: goto jFwp1; goto atdSA; vmVFM: if (!($row = Db::QueryFetch("SELECT SUM("TxBytes") FROM "public"."Log" WHERE ("Timestamp" >= " . $von . " AND "Timestamp" >= " . $bis . " AND "Client" = " . $client . ")"))) { goto AOdIM; } goto KT11i; KT11i: return $row[0]; goto vvT70; vvT70: AOdIM: goto O1NKj; atdSA: case "RxTx": goto rF3EW; cyMxi: goto jFwp1; goto W5TXQ; D89Cu: mSA6M: goto cyMxi; YCw88: return $row[0] + $row[1]; goto D89Cu; rF3EW: if (!($row = Db::QueryFetch("SELECT SUM("RxBytes"), SUM("TxBytes") FROM "public"."Log" WHERE ("Timestamp" >= " . $von . " AND "Timestamp" >= " . $bis . " AND "Client" = " . $client . ")"))) { goto mSA6M; } goto YCw88; W5TXQ: } goto XJVrh; NCN6n: } goto XgZf5; nICSz: function format_domain_name($str) { goto gAxBz; ZIDrg: $wert .= "_"; goto nuaJy; Q7wDM: goto D9FaA; goto zuyGS; HL5au: pBkrT: goto Q63ND; Tk0L0: $i = 0; goto hdWkr; zuyGS: V25bz: goto Hu2bm; nuaJy: goto pBkrT; goto F01s6; HdHXM: if (preg_match($char, $str[$i])) { goto fFyHG; } goto ZIDrg; Hu2bm: $wert = preg_replace($patt_b, '', $wert); goto KuFj3; Uc8bX: $patt_p = "/^\_*/"; goto wPpBV; L7BdH: $wert .= $str[$i]; goto HL5au; hA0_S: $char = "/[a-z]|[0-9]/"; goto XXhbi; KuFj3: $wert = preg_replace($patt_p, '', $wert); goto Y0pL6; F01s6: fFyHG: goto L7BdH; XXhbi: D9FaA: goto IrLEu; IrLEu: if (!($i < $anz)) { goto V25bz; } goto HdHXM; Y0pL6: return $wert; goto ecbr7; U8z7d: $anz = strlen($str); goto Tk0L0; gAxBz: $patt_b = "/\_*$/"; goto Uc8bX; hdWkr: $wert = ''; goto hA0_S; Q63ND: $i++; goto Q7wDM; wPpBV: $str = strtolower($str); goto U8z7d; ecbr7: } goto pcRlv; tKTrl: define("b1", "b"); goto krVfH; Tk1_s: function access_denied($text = '') { header("HTTP/1.0 403 Forbidden"); die("Access denied!\xa<br>" . $text); } goto UNEl5; ZEsNr: function get_online_status($group = 0, $name = '', $server_protocol = "udp") { goto JYS7r; iILXK: if (!$pptp_status) { goto bmyad; } goto NQo2X; XNBPP: bmyad: goto Xx_b0; MJJ0e: if (!isset($status["users"])) { goto Gocda; } goto Bt9gZ; JYS7r: if (!(strlen($name) > 0)) { goto KA57b; } goto iUE6Z; iUE6Z: $status = parseOpenVpnConnection("127.0.0.1", $server_protocol); goto G1Aey; Xx_b0: BcoXr: goto oXZau; NQo2X: if (!isset($pptp_status["users"])) { goto Nt_SH; } goto iCfZ0; ZIEsN: Gocda: goto W2h5K; G1Aey: $pptp_status = parsePPtPConnection($conn); goto liksE; KDACX: Nt_SH: goto XNBPP; liksE: if (!$status) { goto NNQe8; } goto MJJ0e; zYcNo: UQyvi: goto ZIEsN; iCfZ0: foreach ($pptp_status["users"] as $key => $value) { goto GBB6h; YTzdY: DBIa5: goto bBluV; GBB6h: if (!($value["CommonName"] == "__GROUP__" . $group . "__CLIENT__" . $name)) { goto Mm8Te; } goto dtj_S; dtj_S: return $value; goto R6j9Z; R6j9Z: Mm8Te: goto YTzdY; bBluV: } goto svGUi; lMmUc: if (!PPTP_SUPPORT) { goto BcoXr; } goto iILXK; oXZau: KA57b: goto ZJbyz; Bt9gZ: foreach ($status["users"] as $key => $value) { goto ZLIj4; R3wLS: return $value; goto fQv0V; fQv0V: qcQwJ: goto OkCre; ZLIj4: if (!($value["CommonName"] == "__GROUP__" . $group . "__CLIENT__" . $name)) { goto qcQwJ; } goto R3wLS; OkCre: cW5JX: goto OMvpz; OMvpz: } goto zYcNo; ZJbyz: return false; goto mc6y4; svGUi: ERbit: goto KDACX; W2h5K: NNQe8: goto lMmUc; mc6y4: } goto TJCDf; HfZbR: ?>

Did this file decode correctly?

Original Code

<?php

 goto FPBoE; Eal49: function convert_netmask($netmaskstring) { goto TsylC; fDc1y: z0ANm: goto iPbL9; VHF3E: $x = explode("\56", $netmaskstring); goto zAcPG; hGHJL: return $g; goto lGRrg; weC6k: if (!($g < 32 && $mask & $s)) { goto j1YYI; } goto YHC1A; huQl2: $s = 2147483648.0; goto ABJ3a; iPbL9: $g = 0; goto huQl2; yGK0M: goto sO0gJ; goto AfgNI; A3jBK: foreach ($x as $y) { goto Z3SyF; uMl_g: $s -= 8; goto s00U7; s00U7: H5yC_: goto XdvVw; Z3SyF: $mask |= (int) ($y * 1) << $s; goto uMl_g; XdvVw: } goto fDc1y; tPN_u: $s &= 2147483647; goto XxGUr; TsylC: $mask = (int) 0; goto VHF3E; AfgNI: j1YYI: goto hGHJL; ABJ3a: sO0gJ: goto weC6k; XxGUr: rZs5Q: goto llX0B; zAcPG: $s = 24; goto A3jBK; llX0B: $g++; goto yGK0M; YHC1A: $s >>= 1; goto tPN_u; lGRrg: } goto nICSz; TwpCc: require_once "\x70\145\162\155\x69\x73\163\151\157\156\x73\56\160\x68\160"; goto GWkk7; YWjQd: function addr2int($addr) { goto ABXQW; BeU2A: $a = $x[0] * 16777216 + $x[1] * 65536 + $x[2] * 256 + $x[3]; goto jTu_N; ABXQW: $x = explode("\x2e", $addr); goto BeU2A; jTu_N: return $a; goto MbRw2; MbRw2: } goto AyrCI; e2acb: define("\x62\x38", "\145"); goto JdPxQ; FPBoE: require_once "\x76\x65\x72\x73\x69\x6f\x6e\56\160\150\x70"; goto mBrO0; Rty8K: function is_admin_area() { return $_SERVER["\122\105\x4d\x4f\x54\105\137\x55\123\x45\x52"] && substr($_SERVER["\122\105\121\125\105\x53\124\x5f\125\122\x49"], 0, 9) == "\x2f\166\x70\x6e\141\x64\x6d\151\x6e"; } goto weAye; weAye: function need_admin_rights() { goto yFYjk; XWzuM: FLY5C: goto YIkCd; YIkCd: return true; goto qh5Se; yFYjk: if (is_admin_area()) { goto FLY5C; } goto rjLqn; rjLqn: access_denied("\101\144\155\151\156\40\x72\151\x67\x68\164\x73\40\156\x65\145\144\x65\144\x2e"); goto XWzuM; qh5Se: } goto SVD6b; mBrO0: require_once "\143\157\x6e\x66\151\147\x2e\x69\156\143\56\160\150\x70"; goto nKs_n; txFHR: error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); goto ZQouE; ion6w: define("\142\x37", "\172"); goto e2acb; R5Hpc: function kbytes_to_string($kb) { goto o5FIL; eR9HC: return sprintf("\45\x30\x2e\x32\x66\x20\x25\163", $kb / $scale, $units[$ui]); goto mmor8; lY9rI: $scale = 1024 * 1024 * 1024; goto I0mFI; C7PQw: Nq8C6: goto eR9HC; odBDZ: $scale = $scale / 1024; goto XUEym; o5FIL: $units = array("\x54\102", "\x47\x42", "\x4d\x42", "\113\102"); goto lY9rI; I0mFI: $ui = 0; goto l3vgH; XUEym: goto LKy0M; goto C7PQw; A8lBB: if (!($kb < $scale && $scale > 1)) { goto Nq8C6; } goto kDdqX; kDdqX: $ui++; goto odBDZ; l3vgH: LKy0M: goto A8lBB; mmor8: } goto FLAoN; AyrCI: function net_maskerade($netaddr, $netmask) { goto jnxyy; wKUNA: FXOiE: goto ex3Wa; ex3Wa: if (!($i < $netmask)) { goto hSYfJ; } goto ZnXiX; pvVuJ: hSYfJ: goto yY1IB; ZnXiX: $m >>= 1; goto Uq3ya; wC0q4: goto FXOiE; goto pvVuJ; aHTX1: $m = 0; goto wKUNA; oNQ_R: vjXO5: goto Gp6id; Gp6id: $i++; goto wC0q4; yY1IB: return int2addr($naddr & $m); goto zYRtQ; jnxyy: $naddr = addr2int($netaddr); goto ayKmO; ayKmO: $i = 0; goto aHTX1; Uq3ya: $m |= 2147483648.0; goto oNQ_R; zYRtQ: } goto dPflV; gQKUd: function int2addr($a) { return long2ip((double) $a); } goto YWjQd; XkpnY: function sizeformat($bytesize) { goto OdUxW; XTG3l: $units = array("\x42\171\x74\145\x73", "\x4b\x42", "\x4d\102", "\107\102", "\x54\x42"); goto s7aA1; W0OOT: Hp4CF: goto XTG3l; z2ESe: sJPYF: goto abzxE; s7aA1: $newsize = round($bytesize, 2); goto Hs6Se; Hs6Se: return "{$newsize}\x20{$units[$i]}"; goto ronTn; IkAJf: $i++; goto AbHt6; AbHt6: if (!($i == 4)) { goto sJPYF; } goto hQtnD; ZHA61: $bytesize = $bytesize / 1024; goto IkAJf; hQtnD: goto Hp4CF; goto z2ESe; OdUxW: $i = 0; goto to3KR; abzxE: goto WycZY; goto W0OOT; Zxe_3: if (!(abs($bytesize) >= 1024)) { goto Hp4CF; } goto ZHA61; to3KR: WycZY: goto Zxe_3; ronTn: } goto R5Hpc; eBFHA: function get_vnarray($user_adressbits, $client_adressbits, $vnbase, $vnet = '', $teleworker = 0) { goto gUMxW; x72Hh: $res = Db::Query("\x53\105\114\105\103\x54\x20\42\126\151\x72\164\x75\x61\x6c\x4e\145\164\167\157\162\x6b\42\40\x46\x52\117\115\40\42\160\165\142\154\151\143\x22\x2e\42\122\x65\x6d\157\x74\x65\116\145\x74\x77\x6f\162\153\x73\42"); goto NMy5r; Z8JiH: return $vnarray; goto xKI3X; fx08C: $i = 0; goto OdZms; paWOJ: $key = array_search($row[0], $vnarray); goto ZADNQ; TO3V8: j0tRm: goto fQ4Oc; JKLp1: if (!$res) { goto JTvkI; } goto TO3V8; ZADNQ: if (!($key === false)) { goto w5JLJ; } goto biSHA; X2qEW: B3jGU: goto x72Hh; R5S5F: $vnarray[$i] = int2addr(addr2int($vnbase) + $i * pow(2, 32 - $client_adressbits)); goto SaBEA; Ms0lE: if (!($i < pow(2, 32 - $user_adressbits - (32 - $client_adressbits)))) { goto hjjad; } goto R5S5F; lnERP: goto U2HNh; goto CgD2n; v3Akj: goto j0tRm; goto HJw9i; Qx4lE: $vnarray = array_values($vnarray); goto Z8JiH; IAZLL: iJpSh: goto T3jGv; gUMxW: $vnarray = array(); goto fx08C; uNPEt: goto j0tRm; goto IAZLL; NMy5r: Erqc8: goto JKLp1; qM7AU: goto Erqc8; goto X2qEW; i4J6L: if (!($vnarray[$key] == $vnet)) { goto huHWA; } goto v3Akj; CgD2n: hjjad: goto g1ATH; HJw9i: huHWA: goto vucUp; JKLWy: $i++; goto lnERP; SaBEA: Pf_qG: goto JKLWy; vucUp: unset($vnarray[$key]); goto uNPEt; O2DkI: $res = Db::Query("\123\x45\114\x45\x43\x54\40\42\x56\151\x72\x74\x75\141\x6c\x4e\x65\164\167\x6f\x72\153\42\40\x46\122\x4f\x4d\40\42\160\x75\142\x6c\151\x63\x22\x2e\42\122\145\155\x6f\164\145\116\145\x74\x77\157\162\153\163\42\x20\40\x57\110\105\122\x45\40\x28\x22\124\x65\154\x65\x77\157\162\153\145\162\x22\40\75\40\x30\x29"); goto qM7AU; OdZms: U2HNh: goto Ms0lE; fQ4Oc: if (!($row = Db::Fetch($res))) { goto iJpSh; } goto paWOJ; T3jGv: JTvkI: goto Qx4lE; CMkpX: w5JLJ: goto i4J6L; g1ATH: if ($teleworker == 0) { goto B3jGU; } goto O2DkI; biSHA: goto j0tRm; goto CMkpX; xKI3X: } goto jpPH9; dLkpu: require_once "\144\141\x74\141\142\141\163\145\56\x70\150\160"; goto TwpCc; pcRlv: function cert_make($action = '', $user = 0, $name = '', $country = '', $province = '', $city = '', $org = '', $org_unit = '', $email = '', $passwd = '') { goto WiEZ9; meUfm: if ($action === "\x62\x75\151\x6c\144") { goto WRC3O; } goto ohCgN; yZXzf: fputs($handle, "\x65\170\x70\x6f\x72\164\x20\117\120\105\116\123\x53\114\x3d\42\x6f\160\x65\156\163\x73\x6c\42\12"); goto LJY4c; RTIta: goto JT70t; goto kG0md; tG36k: JT70t: goto yZnH4; LJY4c: fputs($handle, "\145\170\x70\157\162\164\40\120\x4b\x43\x53\61\x31\x54\117\117\114\75\42\x70\153\x63\163\61\61\55\x74\157\x6f\x6c\x22\xa"); goto WXa5z; zRN16: fputs($handle, "\145\x78\160\x6f\x72\164\x20\103\x41\x5f\105\x58\120\111\122\x45\75\67\63\60\x30\12"); goto YSNNU; ZPWGn: fputs($handle, "\x65\170\x70\x6f\162\x74\40\x4b\105\131\x5f\103\x49\124\131\x3d" . escapeshellarg(file_config_escape($city)) . "\xa"); goto T3bcq; Ssdut: fputs($handle, "\145\x78\160\x6f\162\164\40\113\x45\131\x5f\x45\115\101\x49\x4c\75" . escapeshellarg(file_config_escape($email)) . "\12"); goto Cfnb2; m8sG1: fputs($handle, "\x65\x78\x70\x6f\162\164\x20\113\x45\x59\x5f\x4f\x52\x47\x5f\x55\116\x49\x54\75" . escapeshellarg(file_config_escape($org_unit)) . "\xa"); goto Ssdut; NX_UD: exec("\162\x6d\40\x2d\146\x20" . RSA_DIR . "\57\x6b\145\x79\x73\x2f" . escapeshellarg("\x5f\137\x47\122\x4f\x55\120\137\x5f" . $user . "\x5f\137\x43\114\x49\105\x4e\x54\137\x5f" . $name) . "\x2e\x6b\x65\171"); goto ULAzL; T3bcq: fputs($handle, "\x65\170\x70\x6f\x72\164\40\113\105\x59\137\117\x52\x47\x3d" . escapeshellarg(file_config_escape($org)) . "\xa"); goto m8sG1; YSNNU: fputs($handle, "\145\x78\160\157\x72\164\x20\113\x45\131\137\x45\130\120\x49\122\x45\75\67\63\60\x30\xa\xa"); goto mAmQO; K3eRL: fclose($handle); goto UHTKa; jUj0h: fputs($handle, "\x65\x78\160\157\162\164\40\113\x45\131\x5f\104\111\122\x3d\x22\x24\105\x41\x53\131\137\122\123\101\57\x6b\x65\171\x73\42\xa"); goto et8mw; WXa5z: fputs($handle, "\145\170\160\157\x72\x74\40\x47\122\105\120\75\42\147\x72\x65\160\42\xa"); goto veeJR; Y9_B6: fputs($handle, "\145\170\x70\157\162\164\x20\x45\x41\x53\x59\x5f\x52\x53\x41\x3d\x22\140\x70\x77\144\140\x22\12"); goto yZXzf; yZnH4: CQI0c: goto KmqEN; x2Qku: fputs($handle, "\x65\x78\160\157\162\164\40\113\105\x59\137\103\x4f\125\116\x54\122\x59\75" . escapeshellarg(file_config_escape($country)) . "\12"); goto Jc2sF; gs6yH: goto CQI0c; goto mNWnr; ULAzL: g3Juk: goto gs6yH; TbqSp: if (strlen($passwd) > 0) { goto QXp4_; } goto PE0aM; ohCgN: if (!($action === "\x72\145\x76\157\x6b\145")) { goto g3Juk; } goto PG0mz; Cfnb2: fflush($handle); goto K3eRL; mAmQO: fputs($handle, "\145\170\160\x6f\x72\x74\x20\x4b\105\131\137\x43\116\75" . escapeshellarg(file_config_escape("\x5f\x5f\107\x52\117\125\120\137\137" . $user . "\137\137\x43\114\111\x45\x4e\124\137\137" . $name)) . "\xa"); goto x2Qku; PE0aM: exec(RSA_DIR . "\57\x62\165\x69\154\144\x2d\153\x65\171\40" . escapeshellarg("\x5f\x5f\x47\122\117\125\x50\x5f\x5f" . $user . "\x5f\137\103\114\111\105\116\124\137\137" . $name)); goto RTIta; mNWnr: WRC3O: goto TbqSp; UHTKa: r8hfG: goto meUfm; veeJR: fputs($handle, "\x65\170\160\x6f\162\x74\x20\x4b\x45\x59\137\x43\117\116\106\x49\107\75\x60\44\105\101\123\131\137\x52\123\101\57\x77\x68\x69\143\150\x6f\160\145\x6e\163\163\154\143\156\146\40\x24\x45\101\123\x59\x5f\122\123\101\x60\12"); goto jUj0h; Oinr_: exec(RSA_DIR . "\x2f\142\165\151\154\144\55\153\x65\x79\x2d\160\141\x73\163\55\142\x61\x74\x63\150\x20" . escapeshellarg("\x5f\x5f\107\x52\x4f\125\120\x5f\137" . $user . "\137\137\x43\x4c\111\105\x4e\124\x5f\x5f" . $name) . "\40" . escapeshellarg($passwd)); goto tG36k; kG0md: QXp4_: goto Oinr_; LYYxU: fputs($handle, "\x65\x78\x70\157\x72\x74\x20\x4b\105\131\x5f\123\111\132\x45\75" . CERT_KEY_SIZE . "\12"); goto zRN16; RO9tz: exec("\162\155\x20\55\146\x20" . RSA_DIR . "\x2f\153\145\x79\163\x2f" . escapeshellarg("\137\137\x47\x52\x4f\125\x50\x5f\137" . $user . "\137\x5f\103\x4c\111\x45\116\124\137\x5f" . $name) . "\56\143\x73\x72"); goto NX_UD; Jc2sF: fputs($handle, "\x65\x78\160\157\x72\164\x20\113\105\131\137\x50\x52\117\126\111\x4e\103\x45\75" . escapeshellarg(file_config_escape($province)) . "\12"); goto ZPWGn; et8mw: fputs($handle, "\145\x78\160\x6f\162\164\x20\120\113\103\123\61\x31\x5f\x4d\117\x44\125\114\x45\137\120\x41\x54\110\75\42\x64\x75\155\x6d\171\42\xa"); goto LcYWM; WiEZ9: if (!($handle = fopen(RSA_DIR . "\57\166\x61\162\x73", "\x77"))) { goto r8hfG; } goto Y9_B6; PG0mz: exec(RSA_DIR . "\x2f\x72\145\x76\157\153\x65\55\x66\x75\x6c\x6c\40" . escapeshellarg("\x5f\x5f\107\122\117\125\x50\x5f\137" . $user . "\137\137\103\114\111\x45\x4e\x54\x5f\x5f" . $name)); goto GKEqD; LcYWM: fputs($handle, "\145\x78\160\x6f\162\x74\x20\x50\113\x43\x53\x31\x31\x5f\x50\111\116\75\42\144\165\x6d\x6d\171\42\12\12"); goto LYYxU; GKEqD: exec("\x72\155\40\55\x66\x20" . RSA_DIR . "\57\x6b\145\171\163\x2f" . escapeshellarg("\x5f\137\107\122\117\x55\x50\x5f\x5f" . $user . "\x5f\x5f\103\114\111\105\x4e\x54\x5f\137" . $name) . "\56\x63\x72\164"); goto RO9tz; KmqEN: } goto Zhavd; mv2ZI: function generate_password($len = 10) { goto kI8In; kI8In: $r = ''; goto L7PuE; yi3oz: u4tpP: goto vQ6EA; yCS_H: $i = 0; goto hwxa0; Mc_B3: goto DtlMV; goto yi3oz; KA3QA: TXSvi: goto t6s1s; t6s1s: $i++; goto Mc_B3; vQ6EA: return $r; goto l1pSS; HVa4O: if (!($i < $len)) { goto u4tpP; } goto LJyqR; LJyqR: $r .= $c[rand(0, count($c) - 1)]; goto KA3QA; L7PuE: $c = array("\x61", "\142", "\x63", "\x64", "\145", "\146", "\x67", "\x68", "\151", "\153", "\155", "\156", "\157", "\160", "\x71", "\162", "\163", "\164", "\165", "\x76", "\167", "\170", "\171", "\172", "\x41", "\102", "\103", "\x44", "\x45", "\x46", "\107", "\110", "\x4a", "\x4b", "\114", "\115", "\x4e", "\117", "\120", "\121", "\122", "\123", "\x54", "\125", "\x56", "\x57", "\130", "\131", "\x5a", "\x30", "\x32", "\63", "\64", "\65", "\66", "\x37", "\70", "\x39", "\43", "\41"); goto yCS_H; hwxa0: DtlMV: goto HVa4O; l1pSS: } goto XyOm4; SVD6b: function need_user_rights() { goto pWTOg; FO18_: Fr0K2: goto NtDQ2; NtDQ2: return true; goto mdCoY; pWTOg: if (!(!$_SESSION["\x73\145\154\145\x63\x74\145\144\x5f\165\x73\145\162"] && !is_admin_area())) { goto Fr0K2; } goto ReoYa; ReoYa: access_denied("\x50\x6c\x65\x61\163\145\x20\154\157\x67\40\x69\156"); goto FO18_; mdCoY: } goto r1iaB; nKs_n: require_once "\x6c\141\x6e\147\x75\141\x67\145\x2e\160\x68\160"; goto g2LPl; mQoxc: function write_router_config($name, $user, $ConfigFileName, $profile) { goto MDf8X; GO8cB: if (!(strlen($httpproxyuser) > 0 && strlen($httpproxypass) > 0)) { goto t8DRn; } goto JXH_8; mhGiZ: $cfg = explode("\xa", $addon_config); goto l9D2p; K0cpU: fputs($handle, "\x53\x54\101\x52\124\125\120\x3d\xa"); goto mhGiZ; xSbyx: fputs($handle, "\123\x54\x41\122\124\125\x50\x3d\151\160\x74\x61\x62\154\145\163\40\x2d\164\x20\x6e\141\x74\40\55\x49\x20\x50\x4f\x53\124\x52\117\125\x54\x49\x4e\x47\x20\41\x20\55\160\40\x69\143\155\160\x20\x2d\163\x20" . SERVER_NET_BASE . "\x2e\60\x2e\60\57\x31\66\x20\55\x6f\40\x74\x75\156\x30\x20\55\152\x20\x53\x4e\x41\x54\x20\x2d\x2d\164\x6f\x2d\x73\x6f\x75\x72\x63\145\40" . real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits) . "\12"); goto fMnuu; OCSTu: Km5fg: goto xnexZ; M7KyV: fputs($handle, "\x53\124\101\x52\x54\x55\120\x3d\x63\x61\164\x20\76\x20\x2f\166\141\162\x2f\157\160\145\x6e\166\160\156\57\163\143\162\151\x70\x74\x73\57\157\x70\x65\x6e\166\x70\156\56\x75\160\x20\x3c\x3c\x45\117\106\xa"); goto Vsmu8; wNWO4: fputs($handle, $OPENVPN . "\137\105\x58\x54\122\x41\x5f\117\120\x54\123\75\x22\x2d\55\x66\x6c\157\141\164\x20\55\55\x6e\157\142\x69\156\144\40\x2d\55\x73\x63\x72\x69\160\x74\55\x73\145\x63\165\162\x69\x74\171\x20\62"); goto RtEpx; Rv4OI: fputs($handle, "\x53\x54\101\x52\124\125\120\75\151\160\x74\x61\142\x6c\145\x73\40\55\164\x20\x6e\141\x74\x20\x2d\104\40\x50\x4f\x53\124\122\117\125\124\111\x4e\x47\40\x2d\157\x20\145\164\150\x30\40\x2d\152\40\x4d\101\x53\x51\125\105\122\x41\x44\x45\xa"); goto zNAk0; I9W0v: $vpnch = $row[3]; goto m5bKf; iNaZE: fputs($handle, $OPENVPN . "\x5f\104\x45\x53\x43\122\111\120\124\111\x4f\x4e\x3d" . $alias_name . "\12"); goto X80r6; DS8it: $filename = HOME_DIR . "\57\x63\x66\x67\57" . $ConfigFileName; goto FswKh; NzI3s: fputs($handle, $OPENVPN . "\x5f\120\111\x4e\x47\137\111\x4e\124\x56\114\75\65\60\60\12"); goto g0JxS; khE5F: fputs($handle, "\123\x54\x41\122\124\x55\120\75" . escapeshellarg($httpproxypass) . "\xa"); goto X9p8K; eXf3q: q7M7o: goto Tq13I; ZcBr7: QRC9z: goto krSpj; RYYlC: pBXTm: goto ZW7CM; QymQs: fputs($handle, "\x53\124\x41\122\x54\x55\120\75\x69\160\x74\141\x62\154\145\x73\40\x2d\164\x20\x6e\141\164\x20\55\x44\x20\x50\x52\x45\x52\x4f\125\124\x49\116\107\x20\55\x64\x20" . escapeshellarg($vnet . "\57" . $client_adressbits) . $itunx . "\x20\55\x6a\40\x4e\105\x54\x4d\x41\120\x20\x2d\55\x74\x6f\40" . escapeshellarg($ip . "\x2f" . $client_adressbits) . "\12"); goto pdAss; yM9nJ: if (!ROUTERS_LAN_ADDR_IN_CONFIG) { goto WknjN; } goto Ig7EX; OSWhg: nGTui: goto KSp96; M4xT0: $httpproxy = $row[6]; goto NS27E; r0xSq: $nr = $row[2]; goto I9W0v; UFbVZ: if (!($profile != 0 && $profile != 99)) { goto Atgqc; } goto OR6kd; aNu3j: fputs($handle, "\x53\x54\101\x52\124\125\x50\x3d\151\160\x74\141\x62\154\145\x73\40\55\164\x20\x6e\141\x74\40\55\111\40\120\x4f\x53\124\x52\x4f\125\124\111\x4e\107\40\55\163\x20" . escapeshellarg($ip . "\x2f" . $client_adressbits) . $otunx . "\x20\x2d\152\40\x4e\105\124\115\x41\120\40\55\55\x74\x6f\40" . escapeshellarg($vnet . "\57" . $client_adressbits) . "\12"); goto rk9Ef; mJ0t5: goto NLr4u; goto lM3SA; krSpj: if (strlen($httpproxy) > 0 && strlen($httpproxyport) > 0) { goto pBXTm; } goto wNWO4; S5pa9: $handle = fopen($filename, "\167"); goto WQcOV; qe1aB: if (!USE_TLS_AUTH) { goto kqXt6; } goto iXBUj; k2xZJ: goto t0bs_; goto xGYNa; fOFEQ: jjmtU: goto WopbY; SV77S: jQhEi: goto x9r57; oj490: $itunx = "\40\55\151\x20\164\165\156" . $vpnch; goto TfXnf; VV3bL: fputs($handle, "\105\x54\x48\x5f\111\x50\101\x44\104\x52\x3d" . $router_addr . "\12"); goto sanUd; VD78V: ybHn1: goto NzI3s; pBBso: fputs($handle, "\123\x4d\x53\137\x52\x45\103\126\137\103\x4f\x4d\x4d\101\x4e\104\123\75\x31\xa"); goto JlkVR; mTh7T: GPAsC: goto wQ3PL; HIMnI: fputs($handle, "\123\x54\101\122\124\x55\x50\75\143\151\x70\x68\145\162\40" . OPENVPN_CIPHER . "\12"); goto BpUHv; eOjFz: oEaHo: goto nt2kH; VbkfE: fputs($handle, "\123\124\101\x52\x54\125\120\x3d\x68\x74\164\160\55\160\x72\157\170\x79\40" . escapeshellarg($httpproxy) . "\x20" . escapeshellarg($httpproxyport) . "\40\57\166\x61\162\57\157\x70\145\x6e\166\x70\x6e\57\x6f\x70\145\156\166\160\x6e\x2e\141\165\164\150\40\x6e\164\154\x6d\12"); goto hHjhC; ULPKe: if (!(strlen($httpproxy) > 0 && strlen($httpproxyport) > 0)) { goto TLD8u; } goto eKNMN; QZfCO: E0hLZ: goto OHNZl; htBbN: if (!OPENVPN_CFG_ROUTEUP_SCRIPT) { goto VUAG7; } goto AD8Ye; PO9Or: t8DRn: goto iRkl_; Asv3b: fputs($handle, "\123\124\x41\122\x54\125\120\75\163\x65\x72\x76\x69\x63\x65\40\157\160\145\x6e\166\x70\x6e\40\163\164\x61\x72\164\xa"); goto KhNbN; wQFP0: fputs($handle, "\123\124\101\122\124\x55\120\75\151\160\164\141\x62\x6c\145\163\x20\55\164\40\x6e\141\x74\40\x2d\104\x20\x50\117\x53\124\x52\117\x55\124\x49\x4e\107\x20\41\x20\55\x70\40\x69\x63\155\x70\40\x2d\x73\40" . SERVER_NET_BASE . "\56\60\56\60\57\x31\66\40\x2d\x6f\40\x74\x75\156\x30\40\x2d\x6a\x20\x53\x4e\101\x54\40\55\55\x74\x6f\55\x73\157\x75\162\143\x65\x20" . real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits) . "\xa"); goto xSbyx; PN9EU: if (!OPENVPN_ENABLED) { goto XzNPf; } goto A3w1x; pRIww: $option_SNMP_SUPPORT = $row[14]; goto SV77S; zaaTe: PcZoH: goto Imxxj; abmL6: if (!($option_masquerade != 0)) { goto oEaHo; } goto Rv4OI; ODY4z: fputs($handle, $OPENVPN . "\x5f\122\105\x4d\x4f\x54\105\137\x49\120\x41\x44\104\122\75" . $paddr . "\xa"); goto JMLxW; clJ_U: kVVdu: goto ywsKa; nt2kH: if (!(SNMP_WORKAROUND && $option_SNMP_SUPPORT != 0)) { goto E0hLZ; } goto CKstL; Psd0z: fputs($handle, "\x53\124\x41\122\x54\x55\120\x3d\xa"); goto htBbN; Ig7EX: fputs($handle, "\x45\x54\110\x5f\102\117\x4f\124\x50\x52\117\x54\x4f\75\163\164\x61\x74\x69\143\12"); goto VV3bL; TsQTZ: QjC8Y: goto zduMS; MTBtZ: fputs($handle, $OPENVPN . "\137\x50\x4f\122\124\x3d" . (int) $pport_tcp . "\12"); goto dKs24; TApI7: $router_addr = $row[12]; goto wBhCz; mfYBY: if (!($option_vpnstrict == 0)) { goto Apm15; } goto oj490; OHNZl: if (!OPENVPN_CFG_ROUTEUP_SCRIPT) { goto r1b86; } goto SzNHG; FswKh: if (!($profile != 0 && MULTIPLE_CONFIGS)) { goto PcZoH; } goto DlKZV; c_dBF: if (!(strlen(OPENVPN_CIPHER) > 0)) { goto f9vuP; } goto HIMnI; C_PzM: pwtq4: goto PN9EU; KSp96: $itunx = ''; goto d8t0_; wuwzh: HcRrI: goto jmcxn; syO5F: fputs($handle, "\x53\x54\x41\122\x54\125\120\x3d" . escapeshellarg($httpproxyuser) . "\xa"); goto khE5F; JlkVR: fputs($handle, "\x53\x4d\x53\x5f\x52\x45\x43\126\x5f\x50\x48\x4f\116\x45\137\116\117\61\x3d\x2a\xa"); goto OSWhg; QDshx: $vnet = $row[1]; goto r0xSq; GGlS9: goto k10PN; goto RYYlC; rldz_: fputs($handle, $OPENVPN . "\137\x50\111\116\x47\137\x49\x4e\x54\126\x4c\75\66\60\xa"); goto JwqgC; nG6_o: fputs($handle, "\x45\124\x48\x5f\116\105\x54\x57\117\x52\113\75" . $ip . "\12"); goto Rlmoa; CwhdR: fputs($handle, "\x54\x45\x53\x54\x56\x41\122\x3d\42\x48\x75\110\165\110\x61\150\x61\42\xa"); goto Gb7zI; Tq13I: kqXt6: goto bgoPA; gKOcR: r1b86: goto ULPKe; tBop5: $client_adressbits = $row[2]; goto QggnZ; R11ou: $alias_name = utf8_decode($row[11]); goto TApI7; Q56nd: $paddr = $row[0]; goto FbcJq; LmE5T: fputs($handle, "\40\x2d\55\162\x6f\x75\164\145\55\x75\x70\x20\57\x76\141\162\57\x6f\160\145\x6e\x76\160\x6e\x2f\x73\x63\162\151\x70\x74\x73\57\157\160\x65\156\166\160\156\x2e\x75\x70"); goto clJ_U; zduMS: if (!($row = Db::QueryFetch("\x53\105\x4c\105\x43\x54\40\x9\42\111\120\42\54\x20\xa\11\x9\11\11\x9\x22\126\151\x72\x74\165\141\154\x4e\x65\x74\x77\x6f\x72\153\x22\54\x20\12\x9\x9\x9\x9\x9\42\116\122\42\x2c\40\12\11\x9\11\x9\11\42\x4f\160\x65\x6e\126\120\x4e\103\x68\42\54\40\xa\11\11\11\x9\11\x22\117\x50\124\x49\x4f\x4e\137\126\x50\116\123\124\x52\x49\103\124\42\x2c\x20\12\11\11\11\x9\11\x22\117\x50\124\111\x4f\116\x5f\x4d\101\123\x51\x55\x45\x52\101\x44\105\x22\x2c\x20\12\11\x9\x9\11\x9\42\x48\x54\x54\x50\120\162\157\170\171\42\x2c\xa\x9\11\x9\x9\x9\42\x48\124\x54\120\120\x72\x6f\170\x79\x50\x6f\x72\164\42\54\12\11\11\11\x9\11\42\x48\124\x54\x50\120\x72\x6f\170\x79\x55\x73\x65\162\42\x2c\12\11\x9\11\x9\11\42\x48\124\x54\120\x50\162\157\x78\171\x50\x61\x73\163\x22\x2c\x20\xa\11\11\11\11\11\42\101\104\x44\117\x4e\137\x43\117\x4e\106\x49\x47\42\54\xa\11\x9\x9\11\11\42\x41\x4c\111\x41\123\137\116\x41\x4d\x45\x22\x2c\xa\11\11\11\11\11\42\122\x6f\x75\164\145\x72\x41\144\144\162\42\54\xa\11\11\x9\x9\x9\x22\x50\162\157\x74\x6f\x63\157\x6c\x22\54\xa\11\x9\x9\x9\x9\x22\117\x50\x54\x49\x4f\x4e\x5f\x53\116\115\120\x5f\x53\x55\x50\120\x4f\x52\x54\x22\40\x46\122\x4f\x4d\x20\42\x70\165\142\x6c\x69\x63\x22\x2e\x22\122\x65\x6d\157\164\x65\116\145\x74\167\x6f\x72\x6b\163\42\x20\127\110\105\122\x45\x20\50\42\116\101\x4d\x45\x22\40\x3d\x20\47" . Db::Escape($name) . "\x27\40\101\116\104\40\42\125\123\105\122\x22\x20\x3d\40\47" . Db::Escape($user) . "\x27\x20\x29"))) { goto jQhEi; } goto s2tOv; hHjhC: o9MpG: goto t0VY4; R6cet: $httpproxyuser = $row[8]; goto eN55d; MDf8X: if (!($row = Db::QueryFetch("\x53\105\x4c\105\x43\x54\40\x22\120\x75\142\154\151\143\x41\144\144\162\x22\x2c\40\x22\120\x75\142\x6c\x69\x63\x50\157\x72\164\x22\54\x20\x22\103\114\x49\x45\116\124\137\x41\x44\122\x45\x53\123\102\x49\124\x53\42\x2c\x20\x22\x50\165\x62\x6c\x69\143\120\x6f\x72\x74\137\164\x63\x70\x22\x20\x46\122\x4f\115\40\42\160\165\x62\154\x69\143\42\56\x22\116\145\164\x77\157\x72\153\x22"))) { goto QjC8Y; } goto Q56nd; uZ1xX: if (!($row = Db::QueryFetch($query_str))) { goto Mz13P; } goto krpQM; X80r6: if ($protocol == "\x74\143\x70") { goto zd1E7; } goto k9puW; jmcxn: fputs($handle, "\x53\124\x41\122\124\x55\120\75\43\x21\57\x62\151\x6e\57\163\150\xa"); goto Psd0z; WQcOV: if (!$handle) { goto GPAsC; } goto UFbVZ; KsMAr: if (OPENVPN_COMP_LZO) { goto iBmbL; } goto htq1e; eKNMN: fputs($handle, "\x53\x54\x41\x52\124\125\120\75\143\x61\164\x20\76\40\57\x76\141\x72\x2f\x6f\x70\145\156\x76\x70\x6e\x2f\x6f\x70\x65\156\166\160\x6e\x2e\x63\146\147\x20\x3c\x3c\105\x4f\x46\12"); goto iYFHK; yatvS: fputs($handle, "\x4f\x50\x45\116\126\x50\x4e\137\x4c\x4f\x43\x41\114\137\x43\105\x52\124\x3d" . base64_encode("\x2d\x2d\x2d\x2d\x2d\102\105\x47\111\x4e\x20\x43\x45\x52\x54\x49\x46\x49\x43\x41\124\x45\x2d\x2d\x2d\x2d\55" . $zertarray1[1]) . "\xa"); goto LWrp1; gTbzi: Mz13P: goto GLqjl; QdrDG: fputs($handle, "\x53\x54\101\122\x54\125\x50\75\x69\160\x74\141\x62\x6c\145\163\x20\x2d\x74\40\156\141\164\40\55\x44\40\120\x4f\123\124\122\117\125\x54\111\x4e\107\x20\55\163\x20" . escapeshellarg($ip . "\x2f" . $client_adressbits) . $otunx . "\x20\55\x6a\x20\x4e\105\x54\115\x41\120\x20\55\55\164\x6f\x20" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . "\12"); goto aNu3j; JXH_8: fputs($handle, "\123\x54\x41\x52\124\125\120\x3d\x63\141\164\x20\76\x20\57\166\141\x72\x2f\x6f\160\145\156\x76\160\x6e\57\x6f\x70\x65\156\x76\x70\156\x2e\141\165\x74\x68\x20\x3c\74\x45\117\106\12"); goto syO5F; iXBUj: if (!file_exists(RSA_DIR . "\x2f\x6b\x65\171\x73\57\x74\x61\x2e\153\145\171")) { goto q7M7o; } goto uA5eM; i5ZDu: aLazT: goto hzBtf; Imxxj: $filename = $filename . "\x2e\x63\146\x67"; goto S5pa9; iw2xo: $handle = fopen($temp_filename, "\x77"); goto YVF3v; QggnZ: $pport_tcp = $row[3]; goto TsQTZ; SI5o0: otz26: goto KsMAr; hCeog: VUAG7: goto uodR9; wqQEO: $pz = $profile < 4 ? $profile : $profile - 3; goto zaaTe; ywsKa: if (!(strlen(OPENVPN_CIPHER) > 0)) { goto ynLHw; } goto U9noj; GhZvv: cVytz: goto VbkfE; PX9NJ: $zertarray1 = explode("\55\55\x2d\x2d\55\x42\105\107\x49\116\x20\x43\x45\122\x54\111\x46\111\103\x41\x54\x45\55\55\55\55\x2d", file_get_contents(RSA_DIR . "\57\153\145\x79\x73\57\x5f\x5f\x47\122\117\125\120\x5f\x5f" . $user . "\137\137\103\114\111\x45\x4e\x54\137\x5f" . $name . STR_CERT_SUFFIX . "\x2e\x63\162\164")); goto yatvS; J1o5Z: fputs($handle, "\x4f\x50\105\116\126\120\x4e\x5f\x53\105\x43\122\x45\124\75" . base64_encode("\x2d\55\x2d\55\x2d\102\x45\x47\111\x4e\40\117\160\x65\x6e\x56\120\116\40\123\x74\x61\x74\151\143\x20\x6b\145\x79\x20\x56\x31\x2d\55\x2d\55\x2d" . $zertarray1[1]) . "\12"); goto eXf3q; Vsmu8: fputs($handle, "\123\x54\101\x52\124\125\120\x3d\43\x21\57\x62\151\x6e\x2f\x73\150\12"); goto hCeog; zMC62: if (strlen($httpproxyuser) > 0 && strlen($httpproxypass) > 0) { goto cVytz; } goto br8y_; eN55d: $httpproxypass = $row[9]; goto AvxaZ; Ktyfo: QvciF: goto Ssndw; BDqlg: if (!SMS_MESSAGES_IN_CONFIG) { goto nGTui; } goto pBBso; iRkl_: fputs($handle, "\123\124\101\x52\124\125\x50\75\x73\x65\x72\166\x69\143\x65\40\x6f\x70\x65\x6e\166\x70\x6e\40\x73\164\157\x70\xa"); goto Asv3b; zNAk0: fputs($handle, "\123\x54\x41\x52\124\x55\x50\75\x69\160\164\x61\x62\154\145\163\40\x2d\164\40\156\141\x74\x20\x2d\101\40\120\x4f\123\x54\122\117\x55\124\111\x4e\x47\x20\x2d\x6f\x20\145\164\150\60\x20\x2d\152\40\115\x41\123\x51\125\x45\122\x41\104\x45\xa"); goto eOjFz; d8t0_: $otunx = ''; goto mfYBY; UvCZr: NLr4u: goto MhJRa; uKPQu: fputs($handle, "\42\12"); goto GGlS9; WR92U: fputs($handle, "\117\120\x45\116\126\120\x4e\x5f\x4c\x4f\x43\101\114\x5f\113\x45\131\75" . base64_encode(file_get_contents(RSA_DIR . "\x2f\153\145\x79\163\x2f\137\137\107\122\117\125\120\x5f\137" . $user . "\137\x5f\x43\114\111\105\116\124\137\137" . $name . STR_CERT_SUFFIX . "\56\153\145\x79")) . "\xa"); goto ZcBr7; uodR9: if (!OPENVPN_CFG_NETMAP) { goto MBVzB; } goto QymQs; lEUug: fputs($handle, $OPENVPN . "\137\120\x4f\x52\124\x3d" . (int) $pport . "\xa"); goto k2xZJ; pdAss: fputs($handle, "\x53\124\x41\x52\x54\125\x50\75\151\160\164\x61\142\154\x65\x73\x20\55\164\x20\156\141\x74\40\x2d\x49\x20\x50\122\x45\122\117\125\124\111\116\107\x20\55\x64\x20" . escapeshellarg($vnet . "\57" . $client_adressbits) . $itunx . "\x20\55\x6a\40\116\x45\124\x4d\101\x50\40\x2d\55\x74\x6f\40" . escapeshellarg($ip . "\x2f" . $client_adressbits) . "\12"); goto QdrDG; wRkhg: $OPENVPN = "\117\120\x45\x4e\x56\120\x4e"; goto SuV5L; JMLxW: if (OPENVPN_TCP_MIN_TRAFIC === true && $protocol == "\164\x63\x70") { goto ybHn1; } goto rldz_; oeprd: XzNPf: goto iNaZE; ZW7CM: fputs($handle, $OPENVPN . "\137\105\x58\124\122\101\137\x4f\x50\x54\123\75\x22\55\55\143\x6f\x6e\146\151\147\40\57\x76\141\x72\x2f\x6f\160\145\x6e\x76\x70\156\x2f\x6f\x70\145\156\166\x70\156\x2e\x63\x66\147\42\xa"); goto MHXqH; TSB4N: exec("\162\x6d\40\55\146\40" . $temp_filename); goto Ktyfo; t0VY4: fputs($handle, "\x53\x54\x41\122\124\125\x50\75\165\160\x20\57\166\x61\x72\57\157\x70\x65\x6e\166\x70\x6e\x2f\x73\x63\x72\151\x70\164\x73\57\x6f\x70\145\x6e\166\x70\156\56\165\160\12"); goto c_dBF; xGYNa: zd1E7: goto n_kU2; U6EmL: fflush($handle); goto NcRJw; hzBtf: $OPENVPN = "\x4f\120\105\x4e\x56\x50\116" . ($vpnch + 1); goto C_PzM; LWrp1: v3ydy: goto HqsHG; NcRJw: fclose($handle); goto mTh7T; AD8Ye: fputs($handle, "\123\124\x41\122\x54\x55\x50\75\155\x6b\x64\151\x72\40\57\x76\141\162\57\157\160\145\156\166\x70\156\x2f\163\x63\x72\151\x70\x74\x73\xa"); goto M7KyV; k9puW: fputs($handle, $OPENVPN . "\x5f\120\x52\117\x54\x4f\x3d\165\x64\160\xa"); goto lEUug; QkX2i: fputs($handle, "\123\124\101\x52\124\125\x50\x3d\x63\x68\155\157\x64\40\x37\x35\x35\40\x2f\166\141\x72\x2f\x6f\160\145\x6e\166\x70\x6e\x2f\163\x63\162\x69\160\164\x73\57\157\160\x65\x6e\x76\x70\156\x2e\165\x70\12"); goto gKOcR; fMnuu: fputs($handle, "\123\124\x41\x52\x54\125\x50\x3d\43\x2d\55\55\55\x2d\x2d\x2d\x2d\55\x2d\x2d\55\55\x2d\55\55\55\55\55\x2d\55\55\x20\146\157\x72\40\x53\x4e\x4d\x50\40\145\x6e\x64\x20\x2d\55\x2d\55\55\x2d\x2d\55\x2d\55\55\55\55\55\x2d\55\x2d\x2d\55\x2d\x2d\55\x2d\55\55\x2d\55\x2d\x2d\55\55\x2d\x2d\x2d\55\12"); goto QZfCO; OR6kd: fputs($handle, "\120\122\117\106\111\x4c\105\75\141\154\x74" . $pz . "\12"); goto UwHcW; nTWhM: exec(HOME_DIR . "\57\x73\x63\162\151\160\164\163\57\x77\162\151\x74\x65\137\143\146\147\x2e\x73\x68\40" . $temp_filename); goto TSB4N; bgoPA: if (!file_exists(RSA_DIR . "\x2f\153\145\171\x73\x2f\143\141\x2e\x63\x72\x74")) { goto Km5fg; } goto qb3Bd; SuV5L: goto pwtq4; goto i5ZDu; DaCh3: $option_masquerade = $row[5]; goto M4xT0; DlKZV: $query_str = "\123\105\114\105\103\124\40\42\101\114\x54" . $profile . "\137\x41\104\x44\117\x4e\137\x43\x4f\116\x46\x49\107\42\x20\x46\x52\x4f\x4d\40\42\x70\x75\x62\x6c\x69\x63\42\x2e\x22\101\x64\144\151\164\151\157\x6e\x61\154\x4f\x70\x74\151\x6f\156\163\42\40\x57\x48\x45\x52\x45\40\50\40\42\107\x52\117\x55\x50\x22\40\75\40\x27" . $user . "\47\40\x41\116\x44\40\x22\x43\x4c\111\105\116\124\x22\40\75\x20\x27" . $nr . "\x27\x20\x41\x4e\104\x20\42\x4c\117\x43\125\123\x22\40\x3d\40\47\x32\47\40\x29"; goto uZ1xX; U9noj: fputs($handle, "\40\55\55\143\151\x70\150\x65\x72\40" . OPENVPN_CIPHER); goto FP_bi; A3w1x: fputs($handle, $OPENVPN . "\x5f\105\116\101\x42\x4c\x45\x44\x3d\61\12"); goto oeprd; Rlmoa: WknjN: goto xuTZF; RtEpx: if (!OPENVPN_CFG_ROUTEUP_SCRIPT) { goto kVVdu; } goto LmE5T; Gb7zI: fclose($handle); goto nTWhM; iYFHK: fputs($handle, "\123\124\x41\x52\124\x55\x50\x3d\163\x63\162\x69\160\x74\55\163\x65\x63\x75\x72\x69\164\171\x20\62\xa"); goto zMC62; sanUd: fputs($handle, "\x45\x54\x48\137\116\105\x54\x4d\x41\x53\x4b\x3d" . netmask_convert($client_adressbits) . "\xa"); goto nG6_o; NS27E: $httpproxyport = $row[7]; goto R6cet; CKstL: fputs($handle, "\x53\124\x41\x52\x54\125\x50\75\x23\x2d\x2d\55\55\55\55\55\x2d\55\x2d\55\x2d\55\x2d\55\55\x2d\55\x2d\x2d\x2d\55\40\146\157\x72\40\123\x4e\x4d\x50\x20\x2d\55\55\55\x2d\55\55\x2d\55\x2d\55\55\55\x2d\55\55\x2d\x2d\55\55\x2d\x2d\x2d\55\55\55\x2d\x2d\55\55\55\x2d\55\x2d\x2d\x2d\55\55\55\12"); goto wQFP0; m5bKf: $option_vpnstrict = $row[4]; goto DaCh3; DDORf: fputs($handle, $OPENVPN . "\x5f\103\117\115\x50\x3d\x6c\172\157\xa"); goto UvCZr; MhJRa: fputs($handle, $OPENVPN . "\137\x41\x55\124\110\x3d\164\154\163\x2d\155\143\x6c\x69\145\x6e\x74\xa"); goto qe1aB; BpUHv: f9vuP: goto udpXL; n_kU2: fputs($handle, $OPENVPN . "\x5f\120\122\117\x54\117\75\x74\143\160\55\x63\154\x69\145\156\164\12"); goto MTBtZ; dKs24: t0bs_: goto ODY4z; xnexZ: if (!file_exists(RSA_DIR . "\x2f\x6b\x65\x79\163\57\x5f\137\107\122\117\125\x50\137\137" . $user . "\x5f\137\x43\114\x49\x45\x4e\x54\x5f\x5f" . $name . STR_CERT_SUFFIX . "\x2e\143\x72\164")) { goto v3ydy; } goto PX9NJ; YVF3v: if (!$handle) { goto QvciF; } goto CwhdR; X9p8K: fputs($handle, "\123\124\x41\122\x54\x55\120\75\x45\117\x46\xa"); goto PO9Or; JwqgC: fputs($handle, $OPENVPN . "\137\120\111\x4e\x47\x5f\x54\x4f\125\x54\x3d\x31\x35\60\xa"); goto REBlT; xuTZF: if ($vpnch != 0) { goto aLazT; } goto wRkhg; Q9j0n: foreach ($cfg as $cfgline) { goto wfBR3; oU0yH: fputs($handle, $cfgline . "\12"); goto TB3Xc; TB3Xc: IfTFn: goto ny3bV; wfBR3: if (strstr($cfgline, "\x53\x54\x41\122\124\x55\x50")) { goto IfTFn; } goto oU0yH; ny3bV: xxEV2: goto Hxabf; Hxabf: } goto wuwzh; l9D2p: foreach ($cfg as $cfgline) { goto LJH8y; h_vjl: $zeile = str_replace("\43\x52\117\x55\x54\105\x52\x56\x50\116\101\x44\104\122\x23", real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits), $zeile); goto UVY5Z; UVY5Z: $zeile = str_replace("\43\116\x45\x54\x4d\101\123\113\102\x23", netmask_convert($client_adressbits), $zeile); goto IkKjk; W8XxY: fputs($handle, $zeile . "\12"); goto KsMNe; KsMNe: sgag3: goto QLELv; QLELv: duTNq: goto Qk4RA; vX1bj: $zeile = $cfgline; goto YOIOp; IkKjk: $zeile = str_replace("\43\x4e\105\x54\115\101\123\113\x43\43", escapeshellarg($client_adressbits), $zeile); goto W8XxY; LJH8y: if (!strstr($cfgline, "\123\124\101\x52\x54\125\120")) { goto sgag3; } goto vX1bj; POiJ5: $zeile = str_replace("\43\x4c\x41\116\101\104\104\x52\43", escapeshellarg($ip), $zeile); goto I2oTU; I2oTU: $zeile = str_replace("\43\x52\x4f\x55\124\105\122\x41\104\x44\x52\43", escapeshellarg($router_addr), $zeile); goto h_vjl; YOIOp: $zeile = str_replace("\43\126\120\x4e\101\104\x44\x52\43", escapeshellarg($vnet), $zeile); goto POiJ5; Qk4RA: } goto fOFEQ; x9r57: $ConfigFileName = basename($ConfigFileName); goto DS8it; g0JxS: fputs($handle, $OPENVPN . "\137\120\111\116\x47\x5f\x54\117\x55\124\x3d\x31\62\x30\60\12"); goto SI5o0; rk9Ef: MBVzB: goto abmL6; br8y_: fputs($handle, "\x53\124\x41\122\x54\125\120\75\150\164\164\x70\55\x70\x72\x6f\170\171\40" . escapeshellarg($httpproxy) . "\x20" . escapeshellarg($httpproxyport) . "\12"); goto rj31c; HqsHG: if (!file_exists(RSA_DIR . "\x2f\x6b\x65\x79\163\57\137\137\x47\x52\117\125\x50\137\137" . $user . "\137\137\103\114\111\x45\116\x54\x5f\137" . $name . STR_CERT_SUFFIX . "\56\x6b\145\171")) { goto QRC9z; } goto WR92U; htq1e: fputs($handle, $OPENVPN . "\x5f\103\x4f\115\x50\75\156\x6f\156\x65\xa"); goto mJ0t5; WopbY: fputs($handle, "\123\x54\x41\x52\124\x55\120\75\xa"); goto U6EmL; SCYHW: $cfg = explode("\12", $addon_config); goto Q9j0n; SzNHG: fputs($handle, "\123\x54\101\122\124\125\120\x3d\105\x4f\x46\12"); goto QkX2i; s2tOv: $ip = $row[0]; goto QDshx; GLqjl: $filename = $filename . "\x2d\141\x6c\164" . $profile; goto wqQEO; rj31c: goto o9MpG; goto GhZvv; REBlT: goto otz26; goto VD78V; AvxaZ: $addon_config = $row[10]; goto R11ou; uA5eM: $zertarray1 = explode("\55\x2d\55\55\x2d\102\x45\x47\111\x4e\x20\117\x70\x65\x6e\x56\x50\116\40\123\x74\x61\164\151\143\x20\153\x65\171\x20\126\61\x2d\x2d\x2d\x2d\55", file_get_contents(RSA_DIR . "\x2f\153\145\x79\x73\57\164\x61\56\x6b\145\x79")); goto J1o5Z; UwHcW: Atgqc: goto yM9nJ; FP_bi: ynLHw: goto uKPQu; lM3SA: iBmbL: goto DDORf; MHXqH: k10PN: goto BDqlg; wQ3PL: $temp_filename = tempnam(HOME_DIR . "\57\x74\x6d\160", "\x63\x66\x67\137"); goto iw2xo; wBhCz: $protocol = $row[13]; goto pRIww; udpXL: fputs($handle, "\123\x54\101\x52\124\x55\120\75\x45\117\x46\xa"); goto GO8cB; TfXnf: $otunx = "\x20\55\x6f\40\164\165\x6e" . $vpnch; goto zr9o5; zr9o5: Apm15: goto SCYHW; krpQM: $addon_config = $row[0]; goto gTbzi; qb3Bd: fputs($handle, "\117\120\x45\116\126\x50\x4e\x5f\x43\x41\x5f\103\105\x52\124\75" . base64_encode(file_get_contents(RSA_DIR . "\57\x6b\145\x79\x73\57\143\x61\x2e\x63\x72\x74")) . "\xa"); goto OCSTu; FbcJq: $pport = $row[1]; goto tBop5; KhNbN: TLD8u: goto K0cpU; Ssndw: } goto M7wlN; M7wlN: function create_new_client($user, $name = '', $teleworker, $vnet_addr = '', $router_addr = DEF_ROUTER_ADDR, $ip_addr, $protocol = '', $options, $alias_name = '') { goto XcwfC; WyzhK: $alt4_addon_config = ''; goto GyMGO; zdkMe: Db::Query("\x49\x4e\x53\x45\x52\x54\x20\x49\x4e\x54\x4f\40\x22\160\165\x62\x6c\151\x63\42\x2e\42\122\167\x5f\111\x6e\x66\157\x73\x22\40\50\x22\x52\127\137\116\x52\x22\x2c\42\x49\x6e\146\x6f\110\x74\x6d\x6c\42\54\42\x46\x6c\141\147\x73\42\51\40\x56\101\114\125\x45\123\x20\50\40\x27" . Db::Escape($row[0]) . "\x27\54\x20\47" . Db::Escape($infohtml) . "\x27\54\40\62\51"); goto H7UER; rme5m: if (!(strlen($protocol) <= 0)) { goto gcGIw; } goto dSdGv; OH8hr: $country = DEF_COUNTRY; goto iLoea; Ld1yS: $replace = array("\x61\145", "\x6f\145", "\x75\x65", "\101\145", "\117\x65", "\125\x65", "\163\163", "\x5f"); goto TsvCP; ifqEj: $org_unit = DEF_ORG_UNIT; goto EFmr7; TA7iV: $accoutstatus = $options["\x41\x63\143\157\165\156\164\x53\164\141\164\x75\163"]; goto Bgjy1; Ytam7: $vnet = $vnet_addr; goto Hoa3i; hTJj6: H94JK: goto J2cTO; wBcUq: PW267: goto le89r; XL6jg: $weblnk = ''; goto Jppd5; q6Jyq: $key = array_search($row[0], $vnarray); goto L4UGA; ABo8g: $addon_config = $row_add_set[3]; goto whMyX; TvecS: $email = $row[5]; goto gbn9J; oE42C: $alt1_addon_config = ''; goto E1qyQ; VR7KO: G2yMX: goto kuKoj; Ik04U: kYEyQ: goto z2akX; NDN9D: if ($teleworker == 0) { goto PW267; } goto kogEU; knlqQ: $country = $row[0]; goto p2mn6; BmIx6: FS1gv: goto dMhRk; JUtyy: $city = $row[2]; goto lEzw1; KKdPD: v2fTx: goto Wg3o_; pP4kr: $weblnk = ''; goto bb7Sc; u8qFu: $addon_connect = $row_add_set[1]; goto Adjrz; kwrIO: $addon_config_rw = ''; goto OH8hr; qgU3n: $servername = "\x4f\126\120\x4e"; goto RsuDE; cy1Kp: return true; goto LecoE; ZPV_V: $notes = $options["\x4e\x4f\124\105\x53"]; goto vJgAH; g_iv3: $alt99_addon_config = ''; goto BXPR9; D9D4S: klOFM: goto fWS0F; vn2m4: if (!isset($options["\127\145\x62\104\x69\162\145\143\164\110\141\x73\x68"])) { goto nZc3G; } goto xxsnU; EwBrj: write_router_config($name, $user, "\137\x5f\107\122\x4f\125\x50\137\137" . $user . "\137\x5f\103\x4c\111\105\x4e\124\x5f\x5f" . $name, 2); goto pbTSJ; l_q5Z: goto QDzo4; goto YkKzM; DS8vh: $vnet = ''; goto FzsMe; vaACi: t9nfo: goto MCDjc; X6An5: FMnNd: goto DPYuM; kogEU: if (!(strlen($ip_addr) > 0 && strlen($vnet_addr) > 0)) { goto VGwMu; } goto yXlFB; le89r: $ip = net_maskerade($router_addr, $client_adressbits); goto xpjc6; Rckc7: $alt5_addon_config = $row_add_set[4]; goto L_DjR; yYJ4k: if (!($row = Db::Fetch($res))) { goto p4F43; } goto q6Jyq; Wg3o_: if (!($row_rw_infos = Db::QueryFetch("\123\x45\x4c\x45\x43\x54\x20\42\111\x6e\146\157\x48\x74\155\x6c\42\x20\x46\x52\x4f\115\40\x22\160\x75\142\154\151\x63\x22\x2e\x22\122\x77\x5f\111\x6e\x66\x6f\x73\x22\40\x57\x48\105\122\105\x20\50\42\122\127\x5f\116\x52\x22\40\x3d\40" . Db::Escape($user) . "\40\x41\x4e\x44\40\42\x46\x6c\x61\147\x73\42\40\x3d\40\61\40\51"))) { goto aBs0b; } goto hpNFY; vhL8j: $alt4_addon_config = $row_add_set[3]; goto Rckc7; QlN7k: $accoutstatus = $options["\x41\x63\143\157\165\156\164\123\x74\x61\164\165\x73"]; goto D9D4S; i8fL7: Db::Query("\x49\116\x53\105\x52\x54\x20\111\116\x54\x4f\x20\x22\160\x75\x62\x6c\151\143\x22\x2e\x22\x41\x64\144\x69\164\x69\157\156\x61\x6c\117\160\164\151\157\x6e\x73\x22\40\50\x20\40\40\40\x20\40\12\x9\11\x9\x9\x9\11\x9\40\40\x20\40\40\x20\x22\107\x52\x4f\x55\x50\x22\54\xa\11\11\x9\x9\x9\x9\x9\x20\40\x20\x20\40\x20\x22\103\x4c\111\105\x4e\x54\42\x2c\12\11\11\11\11\11\11\11\40\40\x20\40\x20\40\x22\114\117\x43\125\123\42\x2c\12\11\x9\x9\11\x9\11\x9\x20\x20\x20\x20\x20\40\x22\x41\114\x54\x31\137\101\104\x44\117\x4e\137\x43\117\x4e\x46\111\107\42\54\40\12\11\x9\11\11\x9\x9\11\40\40\x20\40\40\x20\x22\101\x4c\x54\62\x5f\101\104\104\x4f\116\x5f\x43\x4f\116\x46\x49\107\42\54\40\xa\x9\x9\x9\11\11\x9\x9\40\x20\40\x20\x20\40\42\101\114\124\x33\137\x41\104\104\117\116\x5f\103\x4f\116\x46\111\107\x22\x2c\xa\x9\11\11\x9\x9\11\11\x20\x20\x20\x20\40\x20\42\x41\x4c\x54\x34\x5f\x41\x44\104\117\x4e\137\103\117\x4e\x46\x49\x47\x22\54\40\xa\x9\11\x9\x9\x9\x9\x9\40\x20\40\x20\40\40\42\x41\114\124\65\x5f\x41\x44\104\x4f\116\x5f\x43\x4f\x4e\x46\x49\x47\x22\x2c\x20\12\11\11\11\11\x9\11\11\x20\x20\x20\40\x20\x20\42\101\x4c\124\66\x5f\x41\104\x44\x4f\116\x5f\x43\117\116\x46\111\107\42\54\12\x9\x9\x9\11\x9\11\x9\x20\40\40\x20\x20\40\42\101\x4c\x54\71\71\x5f\101\x44\x44\117\116\137\x43\117\x4e\x46\x49\107\x22\12\11\x9\11\11\x9\11\11\x20\x20\40\40\51\x20\12\12\x9\11\x9\11\11\x9\x9\40\x20\x20\40\x56\101\114\x55\x45\x53\40\x28\47" . Db::Escape($user) . "\x27\x2c\12\11\x9\x9\11\x9\x9\11\x9\x20\x20\40\40\x27" . Db::Escape($nr) . "\x27\54\12\x9\11\x9\11\11\x9\11\11\40\x20\40\40\x27\x32\x27\54\12\x9\11\11\11\x9\11\11\11\40\x20\40\40\x27" . Db::Escape($alt1_addon_config) . "\47\54\xa\x9\x9\x9\x9\x9\x9\11\x9\40\x20\40\x20\x27" . Db::Escape($alt2_addon_config) . "\47\x2c\xa\11\x9\x9\11\11\x9\11\11\x20\x20\40\40\47" . Db::Escape($alt3_addon_config) . "\47\x2c\xa\x9\x9\x9\x9\11\11\x9\x9\40\x20\40\40\47" . Db::Escape($alt4_addon_config) . "\x27\54\xa\x9\11\11\x9\x9\11\11\11\x20\40\40\x20\x27" . Db::Escape($alt5_addon_config) . "\47\54\xa\11\11\x9\11\11\x9\x9\x9\x20\x20\x20\x20\x27" . Db::Escape($alt6_addon_config) . "\x27\54\12\x9\11\11\x9\11\x9\11\x9\x20\x20\x20\x20\x27" . Db::Escape($alt99_addon_config) . "\47\12\11\11\x9\11\11\x9\x9\11\x9\11\11\11\x20\40\x20\x20\51"); goto fSBlB; RsuDE: $server_adressbits = 8; goto Ic_Ge; kuSdR: $pport_tcp = 1194; goto qgU3n; QClFa: if (!($row = Db::QueryFetch("\123\105\114\105\103\124\40\42\x4e\122\42\x20\106\122\117\115\40\42\x70\x75\142\x6c\151\143\x22\56\42\122\145\155\x6f\x74\145\x4e\145\164\x77\x6f\162\x6b\163\x22\x20\x57\110\105\x52\x45\40\x28\x22\116\101\x4d\x45\42\40\75\x20\47" . Db::Escape($name) . "\x27\x20\x41\x4e\104\40\x22\125\x53\x45\x52\42\40\75\x20\47" . Db::Escape($user) . "\x27\40\51"))) { goto tsTiC; } goto sDFMM; Gyk9U: $vnet_addr = current($vnarray); goto D_6Vz; JuBJQ: $servername = $row[2]; goto KfmqT; fWS0F: if (!isset($options["\x4e\x4f\124\x45\123"])) { goto z_pkd; } goto ZPV_V; XCrpr: $alt6_addon_config = ''; goto g_iv3; ufHrx: $infohtml = $row_rw_infos[0]; goto kI7p9; GFlBn: IUbm3: goto zdkMe; tpveY: if (!($res = Db::Query("\x53\105\114\105\x43\124\x20\42\126\151\162\164\165\x61\x6c\x4e\145\164\167\x6f\162\x6b\42\x20\x46\x52\x4f\115\x20\x22\x70\x75\142\154\151\x63\42\56\42\122\x65\155\157\x74\145\x4e\145\x74\x77\x6f\x72\x6b\163\42"))) { goto XNTZj; } goto knYfA; BwuY3: $client_adressbits = $row[4]; goto oYAjH; wZ9qM: $protocol = "\x74\x63\160"; goto YpSVo; eAJw6: yA6tt: goto SPWSi; NflSo: write_router_config($name, $user, "\x5f\137\107\x52\117\125\120\137\137" . $user . "\137\137\x43\x4c\111\105\x4e\124\137\137" . $name, 0); goto IaapR; Pf0G9: Db::Query("\x49\x4e\x53\105\122\x54\x20\111\116\x54\117\x20\42\x70\x75\x62\x6c\x69\143\42\56\x22\x52\145\x6d\157\x74\x65\x4e\x65\x74\167\157\x72\x6b\163\x22\x20\x28\40\xa\11\x9\x9\x9\11\x9\11\x20\40\42\116\x41\115\x45\x22\x2c\40\xa\11\x9\x9\11\x9\x9\11\x20\40\42\x41\x4c\x49\x41\x53\x5f\x4e\101\x4d\105\42\x2c\xa\11\11\11\x9\x9\x9\11\40\40\x22\111\120\42\54\xa\x9\11\x9\x9\11\x9\x9\x20\x20\42\x52\x6f\165\x74\145\x72\x41\x64\x64\162\42\54\12\x9\x9\x9\x9\x9\11\x9\x20\x20\x22\x56\x69\x72\x74\x75\141\154\116\145\164\167\x6f\162\153\42\54\12\x9\x9\11\x9\x9\x9\11\40\40\x22\x54\145\x6c\x65\x77\157\162\x6b\145\x72\x22\x2c\x20\xa\11\x9\x9\11\11\11\11\x20\40\42\125\x53\105\x52\x22\54\x20\xa\11\11\11\11\x9\x9\x9\x20\40\x22\x50\x72\157\164\157\x63\x6f\154\42\54\12\x9\x9\11\x9\11\11\11\40\40\x22\103\162\145\141\164\x65\144\117\156\42\54\xa\11\11\11\x9\x9\11\x9\x20\40\x22\x43\117\x55\116\124\122\131\42\x2c\xa\x9\x9\11\x9\11\x9\x9\40\x20\42\120\122\117\126\x49\x4e\103\x45\42\x2c\12\11\11\11\x9\11\11\x9\40\40\42\x43\x49\124\x59\42\54\12\x9\x9\x9\11\11\11\x9\x20\40\42\117\x52\x47\42\54\12\11\11\11\11\11\11\11\x20\x20\x22\117\x52\107\x5f\125\116\x49\x54\x22\54\xa\11\x9\x9\x9\11\x9\x9\x20\40\x22\105\x4d\101\111\x4c\x22\x2c\12\x9\x9\11\x9\x9\x9\11\x20\x20\x22\101\104\x44\x4f\x4e\137\103\103\104\42\54\x20\xa\11\11\x9\11\11\x9\x9\40\x20\x22\101\x44\x44\117\x4e\x5f\x43\117\x4e\x4e\x45\103\x54\x22\54\40\12\11\x9\11\x9\x9\x9\x9\40\40\42\101\104\104\x4f\x4e\x5f\x44\111\123\103\x4f\116\x4e\105\103\x54\x22\54\x20\xa\11\11\11\x9\11\x9\x9\x20\x20\x22\101\x44\x44\x4f\116\x5f\x43\x4f\x4e\x46\x49\107\42\54\12\x9\x9\x9\11\11\11\x9\x20\x20\42\101\104\104\x4f\116\x5f\103\103\x44\x5f\x52\127\42\x2c\x20\xa\11\x9\11\11\x9\x9\11\x20\x20\42\x41\104\104\117\x4e\x5f\x43\117\x4e\116\x45\x43\124\x5f\122\127\x22\54\40\xa\11\x9\x9\11\11\x9\x9\x20\x20\x22\101\104\x44\x4f\x4e\x5f\x44\x49\123\103\x4f\116\116\x45\103\124\x5f\122\x57\x22\54\x20\12\x9\x9\11\x9\x9\x9\x9\40\40\42\x41\x44\104\117\116\137\x43\117\116\106\111\107\x5f\x52\x57\x22\54\12\x9\11\11\11\x9\x9\11\x20\x20\x22\103\154\151\145\x6e\164\115\157\144\145\x22\54\12\11\x9\x9\x9\x9\x9\11\x20\40\42\x57\x65\x62\x44\151\162\145\143\164\110\x61\163\x68\x22\x2c\12\11\x9\11\x9\11\11\x9\x20\40\x22\101\143\143\x6f\165\156\164\x53\164\141\164\165\x73\x22\x2c\xa\x9\11\x9\11\x9\x9\11\x20\40\42\116\x6f\164\145\163\42\x2c\xa\11\11\11\11\x9\11\x9\40\40\x22\117\x50\x54\x49\x4f\116\137\115\101\x53\x51\125\x45\x52\101\104\x45\x22\54\12\x9\11\11\x9\x9\x9\11\40\40\x22\x41\x75\164\x6f\103\146\147\x50\x61\163\x73\167\144\x22\54\xa\11\11\x9\x9\x9\11\x9\40\40\x22\103\105\122\x54\x5f\105\x58\x43\110\x41\x4e\107\x45\104\42\12\11\11\11\11\11\11\x20\x20\40\51\x20\xa\x9\11\11\11\11\11\x9\x56\x41\x4c\125\105\123\40\x28\12\x9\11\11\11\x9\11\11\x27" . Db::Escape($name) . "\47\x2c\x20\xa\11\x9\x9\x9\11\11\x9\x27" . Db::Escape($alias_name) . "\47\54\40\12\11\x9\x9\11\x9\x9\11\x27" . Db::Escape($ip) . "\x27\x2c\x20\12\x9\x9\x9\11\x9\x9\11\x27" . Db::Escape($router_addr) . "\x27\x2c\40\xa\x9\x9\x9\x9\11\x9\11\x27" . Db::Escape($vnet) . "\x27\x2c\40\xa\x9\11\x9\x9\11\11\x9\40\x20" . (int) $teleworker . "\54\40\12\x9\x9\x9\x9\11\11\11\x20\40" . (int) $user . "\54\xa\11\x9\x9\11\x9\11\11\x27" . Db::Escape($protocol) . "\x27\54\xa\x9\x9\x9\11\11\11\11\47" . time() . "\47\x2c\xa\x9\x9\11\11\11\x9\11\47" . Db::Escape($country) . "\47\x2c\xa\11\11\11\x9\11\x9\x9\47" . Db::Escape($province) . "\x27\54\xa\11\11\x9\11\11\x9\x9\47" . Db::Escape($city) . "\x27\x2c\xa\11\11\11\x9\11\x9\11\47" . Db::Escape($org) . "\x27\x2c\xa\11\x9\x9\11\11\x9\11\x27" . Db::Escape($org_unit) . "\x27\54\xa\11\x9\x9\x9\11\11\x9\47" . Db::Escape($email) . "\47\x2c\xa\11\11\x9\x9\x9\11\11\47" . Db::Escape($addon_ccd) . "\x27\54\12\x9\11\x9\x9\11\11\x9\47" . Db::Escape($addon_connect) . "\x27\x2c\12\11\11\11\11\x9\x9\x9\47" . Db::Escape($addon_disconnect) . "\x27\54\12\x9\11\11\11\x9\x9\11\x27" . Db::Escape($addon_config) . "\47\54\12\11\11\11\x9\11\x9\11\47" . Db::Escape($addon_ccd_rw) . "\47\x2c\12\x9\11\x9\11\x9\x9\x9\x27" . Db::Escape($addon_connect_rw) . "\x27\x2c\12\11\11\x9\x9\x9\11\x9\47" . Db::Escape($addon_disconnect_rw) . "\x27\x2c\xa\x9\x9\11\x9\x9\x9\11\x27" . Db::Escape($addon_config_rw) . "\x27\x2c\xa\11\x9\x9\x9\11\11\11\47" . Db::Escape($clientmode) . "\x27\54\12\11\11\x9\11\11\x9\11\x27" . Db::Escape($weblnk) . "\47\54\12\11\11\x9\11\11\x9\11\x27" . Db::Escape($accoutstatus) . "\47\54\xa\x9\11\11\x9\x9\x9\11\47" . Db::Escape(utf8_encode($notes)) . "\47\54\xa\x9\x9\11\11\11\x9\11\x27" . Db::Escape($option_masquerade) . "\x27\x2c\12\11\11\x9\11\11\11\x9\47" . Db::Escape(crypt_apr1_md5($name)) . "\x27\54\x20\xa\11\x9\11\11\11\x9\11\61\12\11\x9\11\11\x9\11\x20\40\40\40\51"); goto QYWc_; oe0YN: OwVgc: goto VoUAn; EFmr7: $email = DEF_EMAIL; goto WZe20; CQnGq: nZc3G: goto gH0dd; PDeha: if (!($i < pow(2, 32 - $user_adressbits - (32 - $client_adressbits)))) { goto fUEuU; } goto b1M_b; sXyvV: $weblnk = generate_webdirect_hash(); goto Lk0ir; Wyh1y: if (!($row_user = Db::QueryFetch("\x53\105\x4c\105\x43\124\40\x22\126\x69\x72\x74\x75\x61\154\x4e\x65\x74\167\157\162\x6b\42\x20\x46\122\x4f\x4d\40\42\160\x75\x62\x6c\151\143\x22\x2e\x22\117\x72\x67\x61\156\x69\163\x61\x74\x69\157\x6e\x73\42\40\x57\x48\x45\x52\x45\40\42\116\122\42\x20\x3d\x20\47" . Db::Escape($user) . "\47"))) { goto guHVw; } goto mIzxf; xm3wd: goto OwVgc; goto wBcUq; oHeYZ: $org_unit = $row[4]; goto TvecS; eKS_t: goto IUbm3; goto KKdPD; lEzw1: $org = $row[3]; goto oHeYZ; L4UGA: if (!($key === false)) { goto ZhS40; } goto ojN_2; diXRU: goto FS1gv; goto vaACi; NKc2x: cCnuA: goto NflSo; gbn9J: H30lo: goto NDN9D; TsvCP: $name = preg_replace($umlaute, $replace, $name); goto XemLc; Jppd5: $accoutstatus = "\101\x43\124\111\126\105"; goto YNSu1; xqOt7: $client_adressbits = 24; goto qx0Eq; B6_yC: goto v2YvL; goto NKc2x; ojN_2: goto QDzo4; goto ZH0b9; rBYkR: $addon_disconnect_rw = $row_add_set[2]; goto g3G9k; ypWPe: $alias_name = $name; goto VR7KO; kuKoj: $ip = ''; goto DS8vh; Tfgas: $paddr = $row[0]; goto c3IfC; p2mn6: $province = $row[1]; goto JUtyy; Lk0ir: DCknt: goto CQnGq; KfmqT: $user_adressbits = $row[3]; goto BwuY3; L_DjR: $alt6_addon_config = $row_add_set[5]; goto RPOln; Nm7md: pM5Wt: goto Ytam7; MCDjc: $protocol = "\x75\144\160"; goto BmIx6; IXv6X: if (!($row = Db::QueryFetch("\123\x45\114\x45\103\124\x20\42\x4e\122\42\x20\x46\122\117\115\40\42\160\x75\x62\154\x69\x63\42\56\42\122\x65\155\x6f\164\145\x4e\145\x74\167\x6f\162\x6b\x73\42\40\127\x48\x45\x52\105\40\50\42\x4e\x41\x4d\105\42\x20\75\40\x27" . Db::Escape($name) . "\47\40\101\x4e\104\x20\x22\125\x53\x45\122\42\40\75\x20\47" . Db::Escape($user) . "\x27\40\51"))) { goto GnYV2; } goto KGK7H; KZ5B8: if ($server_protocol == "\x74\143\x70") { goto uwfGm; } goto IwwH3; a_etN: $addon_disconnect_rw = ''; goto kwrIO; g3G9k: $addon_config_rw = $row_add_set[3]; goto PduNN; uNT_2: $addon_ccd = $row_add_set[0]; goto u8qFu; kI7p9: G3qfQ: goto eKS_t; AbFuF: fUEuU: goto tpveY; a1A14: $pport_tcp = $row[8]; goto rme5m; QZA8Z: if (!RW_INFO_SITE) { goto H94JK; } goto IXv6X; KGK7H: if (Db::QueryFetch("\123\x45\114\105\x43\124\x20\42\116\x52\x22\40\106\x52\117\x4d\x20\x22\x70\x75\x62\154\151\x63\42\x2e\42\x52\x77\137\111\156\x66\x6f\x73\42\x20\x57\x48\x45\122\105\x20\50\x22\122\127\x5f\x4e\122\x22\x20\75\40" . Db::Escape($row[0]) . "\x20\x41\116\104\x20\x22\106\x6c\x61\x67\x73\42\x20\75\x20\x32\40\x29")) { goto XiDyz; } goto y4xzM; VEd0D: write_teleworker_config($name, $user, "\137\137\107\x52\x4f\x55\120\137\x5f" . $user . "\137\x5f\103\114\111\x45\x4e\x54\137\137" . $name, false, $clientmode = "\162\x77"); goto bb2Eq; jDS0p: XNTZj: goto LL3ts; ZH0b9: ZhS40: goto ijd5s; xpjc6: if (!(strlen($vnet_addr) <= 0)) { goto pM5Wt; } goto D8P4n; bb2Eq: write_teleworker_config($name, $user, "\137\137\107\x52\x4f\x55\120\137\137" . $user . "\x5f\137\x43\114\111\x45\116\x54\137\x5f" . $name, true, $clientmode = "\x72\167"); goto B6_yC; YpSVo: H159h: goto diXRU; mIzxf: $vnbase = $row_user[0]; goto L13Eu; bb7Sc: if (!($_REQUEST["\x57\x45\x42\x44\x49\122\105\103\124"] == 0)) { goto FMnNd; } goto HwiZe; whMyX: v5wgi: goto oe0YN; b1M_b: $vnarray[$i] = int2addr(addr2int($vnbase) + $i * pow(2, 32 - $client_adressbits)); goto G_c32; Smli5: qk1UY: goto PDeha; ZsHDs: $addon_config = ''; goto rfZhn; FzsMe: $addon_ccd = ''; goto Bbx6w; knYfA: QDzo4: goto yYJ4k; t6nrL: goto qk1UY; goto AbFuF; uSpke: goto QDzo4; goto eAJw6; omQ39: uwfGm: goto wZ9qM; H7UER: XiDyz: goto yFcuX; M7kJR: $server_vnbase = "\x31\x30\56\60\x2e\x30\x2e\x30"; goto XL6jg; C0RKm: $addon_connect_rw = ''; goto a_etN; JvoCL: if (!($row = Db::QueryFetch("\123\x45\114\105\103\124\x20\x22\103\117\125\x4e\x54\x52\x59\42\x2c\40\x22\120\122\117\126\111\116\103\105\42\54\x20\x22\x43\x49\124\131\x22\x2c\40\x22\x4f\x52\107\x22\54\40\42\x4f\122\x47\x5f\x55\116\x49\124\42\54\x20\42\x45\115\x41\x49\114\42\40\x46\x52\117\115\x20\42\160\x75\x62\x6c\151\x63\42\x2e\42\x43\101\42\x20\x57\x48\x45\122\x45\40\x22\116\x52\42\40\x3d\x20\61"))) { goto H30lo; } goto knlqQ; sDFMM: $nr = $row[0]; goto lC5bd; W0k27: $org = DEF_ORG; goto ifqEj; NI1K0: $alt3_addon_config = ''; goto WyzhK; QYWc_: if (!MULTIPLE_CONFIGS) { goto ImJCm; } goto QClFa; s36Fm: $i++; goto t6nrL; z2akX: if (!($row = Db::QueryFetch("\x53\105\114\x45\x43\x54\x20\42\120\x75\142\154\151\x63\x41\x64\144\162\x22\54\40\42\120\x75\142\154\x69\143\120\157\x72\x74\x22\54\40\x22\x53\x65\162\166\x65\x72\116\x61\155\145\x22\x2c\40\x22\x55\123\x45\122\137\x41\x44\122\x45\x53\x53\x42\x49\124\x53\42\x2c\x20\x22\103\114\111\x45\116\x54\137\x41\104\x52\105\x53\x53\102\111\x54\x53\42\x2c\40\42\x50\x72\x6f\x74\x6f\x63\x6f\x6c\42\x2c\40\x22\x53\x45\x52\x56\105\x52\137\x41\x44\x52\105\123\123\102\x49\x54\123\42\54\40\42\x56\x69\x72\x74\165\x61\x6c\116\x65\x74\167\x6f\x72\x6b\x22\54\x20\42\120\165\x62\154\151\143\x50\157\x72\x74\x5f\164\x63\160\42\x20\106\122\117\x4d\x20\x22\x70\x75\x62\154\x69\x63\x22\x2e\42\116\145\164\167\157\162\x6b\42"))) { goto Gy_re; } goto Tfgas; Bbx6w: $addon_connect = ''; goto R1GP2; YNSu1: $notes = ''; goto HeinX; J2cTO: if ($teleworker == 0) { goto cCnuA; } goto VEd0D; dSdGv: if ($server_protocol == "\165\x64\160\55\x74\x63\160") { goto t9nfo; } goto KZ5B8; Mwy67: write_router_config($name, $user, "\137\x5f\107\x52\x4f\125\x50\137\x5f" . $user . "\137\x5f\103\x4c\x49\x45\x4e\124\137\x5f" . $name, 1); goto EwBrj; BOvgV: $router_addr = $tmp[0] . "\56" . $tmp[1] . "\x2e" . $tmp[2] . "\56" . $ip; goto X6An5; HCbji: tsTiC: goto hH3qV; Hoa3i: if (!($row_add_set = Db::QueryFetch("\x53\x45\114\x45\103\x54\40\42\x41\104\104\117\x4e\x5f\x43\103\x44\x22\54\40\x22\101\x44\104\x4f\x4e\x5f\103\117\x4e\x4e\105\103\x54\x22\x2c\x20\42\101\x44\x44\x4f\116\x5f\104\111\123\x43\x4f\116\x4e\x45\x43\124\42\54\x20\42\x41\x44\104\117\x4e\x5f\103\117\116\106\x49\107\42\x20\x46\x52\x4f\115\x20\42\160\x75\x62\154\x69\143\x22\56\x22\x4f\162\147\x61\156\x69\x73\141\164\151\157\156\163\x22\x20\127\110\105\x52\x45\x20\x28\x22\116\x52\42\40\x3d\x20\x27" . Db::Escape($user) . "\47\x20\x29"))) { goto v5wgi; } goto uNT_2; nxSXh: $alt3_addon_config = $row_add_set[2]; goto vhL8j; qOZTG: if (!($row_rw_infos = Db::QueryFetch("\123\105\114\x45\x43\124\x20\42\x49\156\146\157\110\x74\155\154\x22\40\x46\122\x4f\115\x20\x22\x70\165\x62\x6c\x69\143\42\x2e\42\x52\167\x5f\x49\x6e\146\x6f\163\x22\40\x57\x48\x45\122\105\40\50\42\x52\127\x5f\x4e\x52\42\x20\x3d\40\x30\40\x41\116\104\40\42\x46\154\x61\x67\x73\42\x20\x3d\x20\x30\40\51"))) { goto G3qfQ; } goto ufHrx; QcVZL: return false; goto RJQrZ; FIsv1: $option_masquerade = 1; goto Ik04U; cAEVX: write_router_config($name, $user, "\137\137\107\x52\x4f\x55\x50\x5f\x5f" . $user . "\137\x5f\103\x4c\111\105\x4e\x54\137\137" . $name, 4); goto ujEQ8; SPWSi: unset($vnarray[$key]); goto l_q5Z; gdZZW: if ($user != 0) { goto v2fTx; } goto qOZTG; RPOln: $alt99_addon_config = $row_add_set[6]; goto adHy9; xxsnU: if (!($options["\127\145\142\104\151\x72\x65\x63\164\x48\x61\x73\150"] == true)) { goto DCknt; } goto sXyvV; RJQrZ: hGv67: goto Y87gK; iQx2V: $city = DEF_CITY; goto W0k27; dMhRk: gcGIw: goto RMxBF; IwwH3: $protocol = "\x75\x64\x70"; goto STjkr; KbpRg: $pport = 1194; goto kuSdR; WZe20: $paddr = ''; goto KbpRg; E1qyQ: $alt2_addon_config = ''; goto NI1K0; Adjrz: $addon_disconnect = $row_add_set[2]; goto ABo8g; BXPR9: if (!($row_add_set = Db::QueryFetch("\123\x45\x4c\105\x43\x54\x20\42\x41\x4c\124\x31\x5f\x41\104\x44\x4f\116\x5f\103\117\x4e\x46\x49\x47\x22\54\x20\42\x41\114\x54\x32\x5f\101\x44\104\117\x4e\x5f\x43\117\x4e\106\x49\107\42\x2c\40\x22\x41\114\x54\63\x5f\101\x44\x44\x4f\116\x5f\103\x4f\116\x46\x49\x47\x22\54\40\x22\101\x4c\x54\x34\137\x41\104\104\117\x4e\x5f\103\117\116\106\x49\x47\42\54\40\x22\x41\114\124\x35\137\x41\104\104\x4f\116\137\103\x4f\x4e\x46\111\107\x22\x2c\x20\42\101\114\124\66\137\x41\x44\104\117\x4e\137\103\117\x4e\106\x49\x47\42\x2c\40\x22\101\114\124\x39\x39\137\101\x44\104\x4f\x4e\x5f\103\x4f\x4e\x46\111\x47\x22\x20\x46\x52\x4f\115\x20\x22\x70\x75\x62\x6c\151\143\42\56\42\x41\x64\x64\151\164\x69\157\x6e\141\154\117\x70\x74\151\x6f\x6e\x73\42\40\127\110\105\122\x45\x20\x28\x22\114\x4f\103\125\x53\42\40\x3d\40\47\x31\47\40\x41\x4e\104\40\42\x47\x52\x4f\x55\120\42\x20\x3d\x20\x27" . Db::Escape($user) . "\47\x20\x41\x4e\104\x20\x22\x43\x4c\111\x45\116\124\x22\40\75\x20\x27\60\47\x20\x29"))) { goto xXevm; } goto jglgC; gH0dd: if (!isset($options["\101\143\x63\157\165\156\164\123\x74\141\x74\165\x73"])) { goto klOFM; } goto QlN7k; vJgAH: z_pkd: goto FwLJI; My7I_: W8e42: goto sEwf_; QTSJO: $addon_ccd_rw = $row_add_set[0]; goto hjOeb; pbTSJ: write_router_config($name, $user, "\x5f\x5f\x47\122\x4f\125\120\x5f\137" . $user . "\137\137\103\114\111\x45\x4e\124\x5f\137" . $name, 3); goto cAEVX; yd5OT: $vnet = $vnet_addr; goto eG5zd; hVAft: $tmp = explode("\x2e", $vnet); goto BOvgV; Y87gK: $umlaute = array("\x2f" . "\xc3\xa4" . "\57", "\x2f" . "\303\xb6" . "\57", "\57" . "\303\274" . "\57", "\x2f" . "\303\204" . "\57", "\x2f" . "\xc3\226" . "\57", "\57" . "\xc3\234" . "\57", "\x2f" . "\xc3\237" . "\x2f", "\x2f\40\x2f"); goto Ld1yS; R1GP2: $addon_disconnect = ''; goto ZsHDs; r0KE7: $server_adressbits = $row[6]; goto HbQHH; qx0Eq: $server_protocol = "\165\144\x70"; goto M7kJR; amjDe: if (!isset($options["\x4f\x50\x54\111\117\x4e\x5f\x4d\101\123\x51\125\x45\122\x41\104\x45"])) { goto kYEyQ; } goto FIsv1; iDIXY: $alt2_addon_config = $row_add_set[1]; goto nxSXh; XcwfC: if (!Db::QueryFetch("\123\105\114\105\103\x54\40\x22\116\x52\42\x20\x46\122\117\115\40\x22\160\165\x62\x6c\x69\143\x22\x2e\x22\122\145\155\x6f\164\145\116\145\x74\x77\x6f\x72\153\163\x22\40\x57\110\105\122\x45\40\x28\x22\116\x41\x4d\105\42\40\75\x20\x27" . Db::Escape($name) . "\47\40\101\x4e\104\x20\42\x55\123\x45\122\x22\x20\x3d\x20\47" . Db::Escape($user) . "\x27\x20\x29")) { goto hGv67; } goto QcVZL; G_c32: FX3kf: goto s36Fm; iLoea: $province = DEF_PROVINCE; goto iQx2V; ujEQ8: write_router_config($name, $user, "\137\137\107\x52\x4f\125\120\x5f\x5f" . $user . "\x5f\x5f\103\x4c\111\105\116\124\x5f\137" . $name, 5); goto p1gum; Bgjy1: qdwXS: goto amjDe; IaapR: if (!MULTIPLE_CONFIGS) { goto W8e42; } goto Mwy67; sEwf_: v2YvL: goto cy1Kp; hH3qV: ImJCm: goto s_M_5; rGlNX: aBs0b: goto GFlBn; hjOeb: $addon_connect_rw = $row_add_set[1]; goto rBYkR; fSBlB: tmNUk: goto HCbji; hpNFY: $infohtml = $row_rw_infos[0]; goto rGlNX; eG5zd: VGwMu: goto S0nGM; FwLJI: if (!isset($options["\x41\143\143\157\x75\x6e\164\x53\164\141\164\165\163"])) { goto qdwXS; } goto TA7iV; rfZhn: $addon_ccd_rw = ''; goto C0RKm; ijd5s: if (!($vnarray[$key] == $vnet)) { goto yA6tt; } goto uSpke; L13Eu: $i = 0; goto Smli5; Ic_Ge: $user_adressbits = 16; goto xqOt7; YkKzM: p4F43: goto jDS0p; yXlFB: $ip = $ip_addr; goto yd5OT; HbQHH: $server_vnbase = $row[7]; goto a1A14; D_6Vz: guHVw: goto Nm7md; lC5bd: if (Db::QueryFetch("\123\105\114\105\x43\124\x20\x22\116\x52\x22\x20\106\x52\117\x4d\x20\x22\160\165\142\154\x69\x63\x22\56\42\101\144\x64\151\x74\151\157\156\141\x6c\x4f\x70\x74\x69\x6f\x6e\163\x22\x20\127\110\105\122\x45\x20\x28\42\x4c\x4f\x43\x55\123\42\40\x3d\40\47\62\x27\x20\x41\x4e\x44\x20\42\107\122\x4f\x55\x50\x22\x20\x3d\x20\47" . Db::Escape($user) . "\x27\40\101\x4e\x44\x20\42\103\114\111\x45\x4e\x54\42\x20\75\40\47" . Db::Escape($nr) . "\47\40\x29")) { goto tmNUk; } goto oE42C; S0nGM: if (!($row_add_set = Db::QueryFetch("\x53\105\114\x45\x43\124\x20\42\x41\x44\x44\117\x4e\x5f\103\x43\104\x5f\122\127\x22\54\40\x22\101\x44\x44\117\116\137\103\x4f\x4e\x4e\105\x43\x54\137\122\127\42\x2c\x20\42\101\x44\x44\x4f\116\x5f\x44\111\123\x43\x4f\116\x4e\x45\103\124\x5f\x52\127\x22\54\40\42\101\x44\104\x4f\x4e\x5f\x43\x4f\x4e\x46\111\107\x5f\x52\x57\x22\40\106\122\117\x4d\x20\42\x70\165\x62\x6c\151\143\42\56\x22\117\x72\147\141\x6e\x69\163\x61\164\x69\x6f\x6e\163\x22\x20\127\x48\105\122\105\x20\x28\42\116\122\x22\x20\75\x20\47" . Db::Escape($user) . "\47\40\51"))) { goto zFgTt; } goto QTSJO; PduNN: zFgTt: goto xm3wd; GyMGO: $alt5_addon_config = ''; goto XCrpr; DPYuM: QviCd: goto Pf0G9; p1gum: write_router_config($name, $user, "\x5f\x5f\107\122\117\x55\120\x5f\137" . $user . "\x5f\x5f\x43\x4c\x49\105\116\124\x5f\137" . $name, 6); goto BE76M; HeinX: $option_masquerade = 0; goto vn2m4; LL3ts: reset($vnarray); goto Gyk9U; adHy9: xXevm: goto i8fL7; yFcuX: GnYV2: goto hTJj6; STjkr: goto H159h; goto omQ39; D8P4n: $vnbase = ''; goto Wyh1y; VoUAn: if (!($teleworker == 1)) { goto QviCd; } goto pP4kr; oYAjH: $server_protocol = $row[5]; goto r0KE7; s_M_5: cert_make("\x62\x75\151\154\144", $user, $name . STR_CERT_SUFFIX, $country, $province, $city, $org, $org_unit, $email); goto QZA8Z; jglgC: $alt1_addon_config = $row_add_set[0]; goto iDIXY; BE76M: write_router_config($name, $user, "\137\137\x47\122\x4f\x55\x50\x5f\137" . $user . "\x5f\137\103\x4c\x49\x45\x4e\x54\x5f\x5f" . $name, 99); goto My7I_; RMxBF: Gy_re: goto JvoCL; XemLc: if (!(strlen($name) > 0 && strlen($alias_name) == 0)) { goto G2yMX; } goto ypWPe; HwiZe: $weblnk = generate_webdirect_hash(); goto hVAft; c3IfC: $pport = $row[1]; goto JuBJQ; y4xzM: $infohtml = ''; goto gdZZW; LecoE: } goto v3Efr; CjKDd: function parseOpenVPNConnection($server = "\61\x32\x37\56\x30\56\60\56\61", $protocol = "\x75\x64\160") { goto o2eQU; FoenU: goto Oh6uW; goto bdlIJ; Lw83R: $status["\165\x73\x65\162\163"][$uid]["\x53\151\156\x63\x65"] = $match[5]; goto WRKzQ; Cmirs: m3n06: goto QQT7a; QJ8OX: $status["\165\163\x65\x72\x73"][$uid]["\114\x61\x73\x74\122\x65\x66"] = $match[4]; goto Cmirs; YAbUT: $status["\165\163\x65\162\x73"][$uid]["\x52\145\141\154\x41\144\144\162\x65\163\163"] = $match[2]; goto snyle; jsX3m: return false; goto IZrzG; bMnLD: if (!($protocol == "\165\144\160" || $protocol == "\x75\144\x70\x2d\x74\143\x70")) { goto Tv_q6; } goto TR2hM; ucM9R: SD3S3: goto u2oL4; Sc38e: ATJLq: goto U6Vr4; o2eQU: $uid = 0; goto bMnLD; bdlIJ: aBJuN: goto CTMaH; odyf0: $status["\165\x73\x65\162\x73"][$uid]["\126\x69\162\x74\165\141\x6c\x41\144\x64\x72\145\x73\x73"] = $match[1]; goto QJ8OX; Sp6Wm: UXrTM: goto z0EEQ; XEnQ5: LAflH: goto PwHnl; sTP_c: $status["\x75\163\x65\x72\163"][$uid]["\120\x72\157\164\x6f\143\x6f\154"] = "\x74\x63\x70"; goto i1MqY; vH883: fclose($handle); goto JiWP9; ArQFd: hF8we: goto FoenU; AYDNd: $buffer = ''; goto L2uKF; g2fzp: if (!preg_match("\57\136\50\x5c\x64\x2b\x5c\56\x5c\x64\53\134\56\134\144\53\x5c\x2e\134\144\53\51\54\50\56\53\51\54\x28\x5c\144\53\x5c\56\134\x64\x2b\134\56\134\144\x2b\x5c\56\x5c\144\x2b\134\x3a\134\144\53\x29\54\x28\56\53\51\44\x2f", $buffer, $match)) { goto LXOAb; } goto ISLfN; Km3HH: $cn = $match[1]; goto CfI8U; tyoQY: $status["\165\x73\145\162\x73"][$uid]["\102\x79\x74\x65\x73\x52\145\143\145\x69\x76\x65\144"] = sizeformat($match[3]); goto FSAW2; h_Zlr: $address = $match[3]; goto IVYfB; VkwE_: fputs($handle, "\x65\x78\x69\164\12"); goto vH883; AkviI: $uid = count($status["\165\x73\145\162\x73"]); goto lmMoE; IVYfB: $uid = $userlookup[$address]; goto rPiQM; tdV1O: echo "\x45\122\x52\x4f\122\x20\x66\x73\157\x63\x6b\x6f\160\145\156\40\x21\41\41"; goto jsX3m; F2Chf: $status["\165\x73\145\x72\163"][$uid]["\x52\145\141\x6c\101\x64\x64\162\145\x73\163"] = $match[2]; goto tyoQY; JiWP9: hHbnD: goto Y9YSP; f0aFC: $status["\x75\x73\x65\162\x73"][$uid]["\120\162\157\164\x6f\143\x6f\154"] = "\x75\144\160"; goto iCwVN; QuoZo: Tv_q6: goto K834A; FSAW2: $status["\x75\163\145\162\163"][$uid]["\102\x79\164\145\163\x53\x65\x6e\x74"] = sizeformat($match[4]); goto Lw83R; Cbq3S: $address = $match[3]; goto HLDel; yEaxU: $status["\165\160\x64\141\x74\145\144"] = $match[1]; goto rfF0Q; QQT7a: LXOAb: goto PkWKj; K834A: if (!($protocol == "\164\x63\160" || $protocol == "\x75\144\160\x2d\164\143\x70")) { goto hHbnD; } goto uFUOX; vdpi4: $status["\x75\x73\145\162\x73"][$uid]["\x42\171\x74\x65\163\123\x65\156\x74"] = sizeformat($match[4]); goto XZzVP; IZrzG: pwYs9: goto sI7EL; sI7EL: $output = fgets($handle, 100); goto ctrS4; YxRlC: UVmJ1: goto VkwE_; uFUOX: if (!($protocol == "\x75\x64\x70\x2d\x74\x63\160")) { goto emYPR; } goto AkviI; CfI8U: $userlookup[$match[2]] = $uid; goto f0aFC; Y9YSP: return $status; goto czzbl; iCwVN: $status["\x75\x73\145\162\163"][$uid]["\x43\157\x6d\x6d\x6f\156\116\141\155\145"] = $match[1]; goto F2Chf; fYX1K: return false; goto XEnQ5; aHSnM: $buffer = fgets($handle, 4096); goto as5Xn; P1MEv: if (!($match[1] != "\x56\151\162\164\165\141\154\40\x41\144\144\x72\x65\163\163")) { goto gRt8q; } goto h_Zlr; XONaE: $cn = $match[1]; goto Lq0c0; snyle: $status["\x75\163\x65\x72\163"][$uid]["\102\171\x74\x65\x73\122\x65\143\145\x69\166\x65\x64"] = sizeformat($match[3]); goto vdpi4; ctrS4: fputs($handle, "\163\x74\x61\164\x75\x73\xa"); goto gnXmR; rPiQM: $status["\x75\x73\x65\x72\x73"][$uid]["\x56\x69\162\164\165\x61\x6c\x41\144\x64\x72\x65\x73\163"] = $match[1]; goto MC3XM; bjli6: if (!preg_match("\x2f\136\125\160\144\x61\x74\x65\144\54\x28\x2e\53\x29\x2f", $buffer, $match)) { goto hz0Ig; } goto yEaxU; CTMaH: fputs($handle, "\x65\170\151\x74\xa"); goto uTRn8; ddTnl: unset($match); goto xk_r1; PkWKj: goto ATJLq; goto YxRlC; NXAKD: if (!($match[1] != "\103\157\x6d\155\x6f\156\40\116\141\155\145" && $match[1] != "\x55\116\104\105\x46")) { goto UXrTM; } goto Km3HH; fw4Ko: if (!(!feof($handle) && preg_match("\57\x5e\105\x4e\x44\x24\x2f", trim($buffer)) === 0)) { goto aBJuN; } goto aHSnM; aomyw: $uid++; goto ucM9R; wCZ89: fputs($handle, "\163\x74\x61\164\165\x73\xa"); goto AYDNd; lmMoE: emYPR: goto LFqLO; LFqLO: $handle = fsockopen($server, SERVER_ADMIN_PORT_TCP, $errno, $errstr, 3); goto brfnI; i1MqY: $status["\x75\163\x65\x72\163"][$uid]["\103\157\155\155\x6f\156\116\x61\x6d\145"] = $match[1]; goto YAbUT; as5Xn: unset($match); goto bjli6; brfnI: if ($handle) { goto pwYs9; } goto tdV1O; xk_r1: if (!preg_match("\57\136\x55\160\x64\x61\x74\145\x64\x2c\50\56\53\51\x2f", $buffer, $match)) { goto Z4Kgc; } goto jaBhu; u2oL4: JUKH5: goto g2fzp; TuRg7: echo "\x45\122\122\117\122\40\x66\163\157\x63\153\x6f\160\145\156\40\41\41\41"; goto fYX1K; z0EEQ: qAvst: goto uZXGN; p8ba_: if (!preg_match("\x2f\136\50\x2e\x2b\x29\x2c\50\134\144\53\134\x2e\134\x64\x2b\x5c\56\134\144\53\134\x2e\134\x64\53\134\72\x5c\144\x2b\51\x2c\50\134\x64\53\x29\54\x28\x5c\144\53\51\54\x28\56\53\x29\44\57", $buffer, $match)) { goto qAvst; } goto NXAKD; uTRn8: fclose($handle); goto QuoZo; VSDO9: $buffer = fgets($handle, 4096); goto ddTnl; gnXmR: $buffer = ''; goto Sc38e; WRKzQ: $uid++; goto Sp6Wm; HLDel: $uid = $userlookup[$address]; goto odyf0; VZDbs: Z4Kgc: goto ryY_P; x1duN: if ($handle) { goto LAflH; } goto TuRg7; PwHnl: $output = fgets($handle, 100); goto wCZ89; L2uKF: Oh6uW: goto fw4Ko; uZXGN: if (!preg_match("\x2f\136\50\x5c\144\53\134\56\x5c\x64\x2b\x5c\x2e\x5c\144\53\134\56\x5c\x64\53\x29\x2c\x28\56\53\x29\54\x28\x5c\x64\53\x5c\56\x5c\x64\53\134\56\134\x64\x2b\x5c\x2e\x5c\x64\53\x5c\72\x5c\x64\53\51\54\x28\x2e\x2b\x29\x24\x2f", $buffer, $match)) { goto hF8we; } goto P1MEv; XZzVP: $status["\x75\x73\x65\x72\x73"][$uid]["\123\151\156\x63\x65"] = $match[5]; goto aomyw; ryY_P: if (!preg_match("\x2f\x5e\x28\56\x2b\51\54\x28\134\x64\x2b\134\x2e\x5c\x64\53\x5c\56\x5c\x64\53\134\56\x5c\144\x2b\x5c\x3a\134\x64\53\51\x2c\x28\134\144\53\51\x2c\50\134\144\53\51\54\50\56\x2b\51\44\x2f", $buffer, $match)) { goto JUKH5; } goto etDuj; Lq0c0: $userlookup[$match[2]] = $uid; goto sTP_c; etDuj: if (!($match[1] != "\x43\x6f\155\x6d\x6f\156\x20\x4e\141\x6d\145" && $match[1] != "\125\x4e\x44\x45\x46")) { goto SD3S3; } goto XONaE; VUaaN: gRt8q: goto ArQFd; U6Vr4: if (!(!feof($handle) && preg_match("\x2f\x5e\x45\x4e\104\x24\57", trim($buffer)) === 0)) { goto UVmJ1; } goto VSDO9; TR2hM: $handle = fsockopen($server, SERVER_ADMIN_PORT_UDP, $errno, $errstr, 3); goto x1duN; rfF0Q: hz0Ig: goto p8ba_; MC3XM: $status["\165\x73\x65\162\x73"][$uid]["\114\x61\x73\164\x52\x65\146"] = $match[4]; goto VUaaN; jaBhu: $status["\x75\160\144\141\164\145\x64"] = $match[1]; goto VZDbs; ISLfN: if (!($match[1] != "\x56\151\x72\x74\x75\141\x6c\40\101\144\x64\x72\x65\163\163")) { goto m3n06; } goto Cbq3S; czzbl: } goto ZEsNr; r1iaB: function need_commandline() { goto uC1V3; uC1V3: if (!(php_sapi_name() != "\x63\154\151")) { goto or_dD; } goto aBiKv; aBiKv: access_denied("\x4f\156\154\x79\x20\143\154\x69\x21"); goto I6XfI; I6XfI: or_dD: goto vfY7E; vfY7E: } goto Tk1_s; Y5Jqf: define("\x62\65", "\154"); goto ovSgi; DDYLy: function crypt_apr1_md5($plainpasswd) { goto AXfe4; YBf1u: if (!($i % 3)) { goto Tp0ZQ; } goto YMOmX; t8ej8: $bin = pack("\110\63\62", md5($plainpasswd . $salt . $plainpasswd)); goto WhGxU; uoTcD: goto hgdRQ; goto FfvGb; xl3xu: jkS2H: goto lxBeP; XkUBH: $bin = pack("\x48\x33\62", md5($new)); goto vZzjF; AXfe4: $salt = substr(str_shuffle("\141\x62\143\x64\145\x66\x67\150\151\152\x6b\x6c\155\156\x6f\x70\161\162\163\164\x75\x76\167\170\171\172\x30\61\62\x33\64\65\x36\67\70\x39"), 0, 8); goto GDW6h; LS2w9: Tp0ZQ: goto PK7hN; WhGxU: $i = $len; goto CzbhU; Ql7RE: $text .= substr($bin, 0, min(16, $i)); goto MY9cE; oeYpt: if (!($i > 0)) { goto Tr1rt; } goto Ql7RE; lxBeP: if (!($i < 1000)) { goto whuMs; } goto v2lj6; pvrDP: $text = $plainpasswd . "\x24\x61\x70\x72\61\x24" . $salt; goto t8ej8; OGVyr: FD9Xj: goto L7yCu; rSBzi: if (!($i > 0)) { goto iPeUV; } goto b5tga; OTHXr: return "\x24" . "\141\x70\x72\61" . "\x24" . $salt . "\x24" . $tmp; goto s2BuO; cQfQb: $i = $len; goto sCvVe; sCvVe: FXjg1: goto rSBzi; KG7yq: whuMs: goto imU_E; L7yCu: $new .= $i & 1 ? $bin : $plainpasswd; goto XkUBH; oE8ie: $j = 5; goto IkCcI; oTPzd: Oikto: goto WbpP3; MY9cE: OGbfL: goto F6mcS; gbeNX: if (!($i < 5)) { goto Yc3bR; } goto NytB0; ePN5t: nVY4R: goto eyhz1; PK7hN: if (!($i % 7)) { goto FD9Xj; } goto phenj; jP4gp: $i = 0; goto xl3xu; P38py: goto FXjg1; goto QxeTt; F6mcS: $i -= 16; goto uoTcD; GDW6h: $len = strlen($plainpasswd); goto pvrDP; b5tga: $text .= $i & 1 ? chr(0) : $plainpasswd[0]; goto oTPzd; gf3lJ: $i++; goto pgmHm; yiugt: if (!($j == 16)) { goto naXSn; } goto oE8ie; GYfXn: goto t5Uto; goto rRgV8; NytB0: $k = $i + 6; goto lYl2u; WbpP3: $i >>= 1; goto P38py; rRgV8: Yc3bR: goto M_kgn; imU_E: $i = 0; goto v6vUG; v6vUG: t5Uto: goto gbeNX; M_kgn: $tmp = chr(0) . chr(0) . $bin[11] . $tmp; goto gYRmW; eyhz1: $i++; goto GYfXn; phenj: $new .= $plainpasswd; goto OGVyr; EsEy_: $tmp = $bin[$i] . $bin[$k] . $bin[$j] . $tmp; goto ePN5t; vZzjF: ZjF1K: goto gf3lJ; CzbhU: hgdRQ: goto oeYpt; YMOmX: $new .= $salt; goto LS2w9; pgmHm: goto jkS2H; goto KG7yq; IkCcI: naXSn: goto EsEy_; v2lj6: $new = $i & 1 ? $plainpasswd : $bin; goto YBf1u; lYl2u: $j = $i + 12; goto yiugt; GxEoc: $bin = pack("\x48\63\62", md5($text)); goto jP4gp; FfvGb: Tr1rt: goto cQfQb; gYRmW: $tmp = strtr(strrev(substr(base64_encode($tmp), 2)), "\101\x42\x43\104\105\x46\x47\110\x49\112\113\x4c\x4d\116\117\x50\121\122\x53\124\125\126\127\130\x59\x5a\x61\142\143\x64\x65\146\147\x68\151\x6a\x6b\154\x6d\156\x6f\160\161\x72\x73\164\x75\166\x77\x78\x79\172\60\61\x32\63\64\65\66\x37\x38\x39\x2b\57", "\x2e\57\60\61\62\63\64\x35\x36\x37\x38\71\x41\102\103\x44\105\x46\x47\x48\x49\x4a\113\114\x4d\116\117\x50\x51\x52\x53\124\x55\x56\127\x58\131\x5a\x61\x62\x63\x64\145\146\147\150\x69\x6a\x6b\154\x6d\x6e\157\160\161\162\x73\x74\x75\166\167\170\171\x7a"); goto OTHXr; QxeTt: iPeUV: goto GxEoc; s2BuO: } goto eBFHA; WsU2g: function netmask_convert($netmask) { goto NB65q; zCP2e: HGEYe: goto ts0bl; oyiyJ: $m >>= 1; goto TFvg6; z4CFZ: $m = 0; goto emXB1; fNac3: $i++; goto DZN28; DZN28: goto reIsZ; goto zCP2e; Id8Tc: if (!($i < $netmask)) { goto HGEYe; } goto oyiyJ; emXB1: reIsZ: goto Id8Tc; TFvg6: $m |= 2147483648.0; goto Nc_zI; ts0bl: $maskstring = ($m >> 24 & 255) . "\x2e" . ($m >> 16 & 255) . "\x2e" . ($m >> 8 & 255) . "\x2e" . ($m & 255); goto PT9ZD; PT9ZD: return $maskstring; goto pGia5; NB65q: $i = 0; goto z4CFZ; Nc_zI: oSfrr: goto fNac3; pGia5: } goto gQKUd; ujbPE: function remove_client_by_cn($cn = '') { goto yzqW8; irpRw: $province = $row[1]; goto fjW5v; G2QQi: BmIVh: goto gdElO; QYWWb: foreach ($cert_lines as $lines) { goto eaT0t; z3Kdg: $temp = explode("\75", $fields[1]); goto q0jVw; q0jVw: $province = $temp[1]; goto bg0E9; hyTId: pxLbr: goto B07CK; rwTVB: $temp = explode("\75", $fields[3]); goto oFPlX; HdUje: $fields = explode("\54\x20", $lines); goto DQ00i; eaT0t: if (!strstr($lines, "\123\x75\x62\x6a\x65\x63\164\72")) { goto pxLbr; } goto HdUje; MOQs1: $temp = explode("\75", $fields[4]); goto TVWfb; TVWfb: $email = $temp[2]; goto CTXTc; Us5Wu: $city = $temp[1]; goto rwTVB; oFPlX: $org = $temp[1]; goto MOQs1; tOL25: $country = $temp[1]; goto z3Kdg; CTXTc: goto dpHJ9; goto hyTId; bg0E9: $temp = explode("\x3d", $fields[2]); goto Us5Wu; DQ00i: $temp = explode("\75", $fields[0]); goto tOL25; B07CK: iSFkB: goto yxQ1o; yxQ1o: } goto Jczwe; nNmAR: $country = $row[0]; goto irpRw; yI8J5: $email = $row[5]; goto AaVkb; PKH4M: $org = $row[3]; goto i81P6; Pd2FU: if (!($row = Db::QueryFetch("\x53\x45\114\105\x43\124\x20\x22\103\117\x55\x4e\x54\122\x59\42\54\40\x22\120\122\117\x56\x49\116\103\x45\42\x2c\x20\42\x43\111\124\131\42\x2c\x20\x22\x4f\x52\107\42\54\x20\42\117\122\x47\137\125\x4e\111\124\x22\x2c\x20\42\105\115\x41\111\114\x22\x2c\x20\x22\x50\x50\x74\120\165\163\x65\x72\x22\x20\x46\122\x4f\115\40\42\x70\165\x62\x6c\151\143\42\x2e\x22\122\x65\x6d\x6f\x74\x65\x4e\x65\164\x77\x6f\x72\x6b\163\x22\x20\x57\x48\105\122\105\40\x28\x22\116\x41\x4d\105\42\40\x3d\x20\47" . Db::Escape($name) . "\x27\x20\x41\116\x44\40\x22\x55\123\105\122\42\x20\x3d\x20\x27" . Db::Escape($user) . "\x27\40\x29"))) { goto BmIVh; } goto nNmAR; FauqN: $email = ''; goto NgToT; pfRml: $name = ''; goto Z1jdO; QJmPL: $org_unit = ''; goto FauqN; pJeDq: $province = ''; goto GCZe2; AaVkb: $cn = "\137\137\x47\122\x4f\125\x50\137\137" . $user . "\x5f\137\103\x4c\111\105\x4e\124\137\137" . $name; goto G2QQi; Hntmb: mNSic: goto ugyIL; MNDvl: if (file_exists(RSA_DIR . "\x2f\153\x65\x79\163\x2f" . $cn . "\56\143\x72\x74")) { goto y4ne3; } goto Pd2FU; ugyIL: cert_make("\x72\x65\x76\157\153\145", $user, $name, $country, $province, $city, $org, $org_unit, $email); goto f_wn0; Jczwe: dpHJ9: goto Hntmb; Fz_YP: $name = $temp[4]; goto MNDvl; f_wn0: exec("\162\x6d\x20\55\x66\x20" . escapeshellarg(HOME_DIR . "\x2f\x63\x63\x64\57" . $cn)); goto nCXzh; yzqW8: $country = ''; goto pJeDq; Z1jdO: $temp = explode("\137\137", $cn); goto IuvlG; i81P6: $org_unit = $row[4]; goto yI8J5; GCZe2: $city = ''; goto Hz3iw; ZW6HU: y4ne3: goto EHb7Y; EHb7Y: $cert_lines = file(RSA_DIR . "\x2f\x6b\145\x79\x73\x2f" . $cn . "\x2e\x63\x72\x74"); goto QYWWb; NgToT: $user = 0; goto pfRml; IuvlG: $user = $temp[2]; goto Fz_YP; Hz3iw: $org = ''; goto QJmPL; fjW5v: $city = $row[2]; goto PKH4M; gdElO: goto mNSic; goto ZW6HU; nCXzh: } goto DDYLy; z41qO: function generate_webdirect_hash($len = 20) { goto ZrwHG; R4jC5: dvgx0: goto fvKrg; dj1Qj: goto CCCSZ; goto R4jC5; dOf3X: $i++; goto dj1Qj; nRgNM: qqPq0: goto dOf3X; tstYW: $r .= $c[rand(0, count($c) - 1)]; goto nRgNM; A03u_: if (!($i < $len)) { goto dvgx0; } goto tstYW; YHI1Y: $i = 0; goto SujBB; SujBB: CCCSZ: goto A03u_; fvKrg: return $r; goto HC8pg; GYnAe: $c = array("\x61", "\x62", "\x63", "\x64", "\145", "\x66", "\147", "\x68", "\151", "\x6a", "\x6b", "\154", "\155", "\156", "\x6f", "\x70", "\x71", "\162", "\x73", "\x74", "\165", "\166", "\167", "\170", "\x79", "\x7a", "\60", "\x31", "\x32", "\x33", "\x34", "\65", "\66", "\x37", "\70", "\71"); goto YHI1Y; ZrwHG: $r = ''; goto GYnAe; HC8pg: } goto J7yw6; jpPH9: function get_tunnel_addr($user, $nr, $tunnel_addr, $alt_baseaddr, $alt_basenm) { goto c5fDd; c5fDd: $tunnel_addr_array = array(); goto PjgcB; QWywk: if (!($tunnel_addr_array[$key] == $tunnel_addr)) { goto uPif2; } goto wfAY6; TkjX2: LUwmu: goto ccKkM; GG4FZ: unset($tunnel_addr_array[$key]); goto E2vJo; E2vJo: goto Q2Y0t; goto TkjX2; azQH3: nx1Pe: goto iv1qD; WzT1G: Q2Y0t: goto DQXRV; QvzID: $j++; goto hZl1_; Xs2rx: $i += 4; goto QvzID; smMbk: $j = 0; goto azQH3; eek6Q: if (!($res = Db::Query("\123\x45\114\105\x43\x54\40\42\x41\114\x54\x5f\x41\104\104\x52\x5f\117\x56\120\x4e\x22\40\106\122\117\115\40\42\160\165\142\x6c\151\143\42\x2e\x22\122\145\x6d\x6f\x74\145\116\x65\164\167\x6f\162\153\x73\42"))) { goto Qnw35; } goto WzT1G; C49kT: $tunnel_addr_array[$j] = int2addr($i); goto c1rH0; hZl1_: goto nx1Pe; goto B1Odb; Bzd1u: if (!($key === false)) { goto yRbU5; } goto zEXyB; c1rH0: dhjrN: goto Xs2rx; PjgcB: $i = addr2int($alt_baseaddr) + 1; goto smMbk; CLJUs: yRbU5: goto QWywk; wfAY6: return $tunnel_addr; goto DaR2T; DQXRV: if (!($row = Db::Fetch($res))) { goto LUwmu; } goto Wg0Z1; B1Odb: ZJ1fZ: goto eek6Q; REWuY: return $tunnel_addr_array[0]; goto PqGXx; Wg0Z1: $key = array_search($row[0], $tunnel_addr_array); goto Bzd1u; hJ4Dv: $tunnel_addr_array = array_values($tunnel_addr_array); goto REWuY; DaR2T: uPif2: goto GG4FZ; iv1qD: if (!($i < addr2int($alt_baseaddr) + pow(2, 32 - $alt_basenm))) { goto ZJ1fZ; } goto C49kT; ccKkM: Qnw35: goto hJ4Dv; zEXyB: goto Q2Y0t; goto CLJUs; PqGXx: } goto v94CA; v94CA: function ena_net_f($name, $user) { goto QkkWv; QqsQ8: $source_addr = "\44\x32"; goto pAdZB; glPOB: goto qrPPl; goto YScuj; KdmT2: MLlzd: goto NBv8D; doQCK: if (!($option_GROUP_ACCESS != 1)) { goto dESYO; } goto xaueq; q3dMZ: goto dC8IT; goto slGnd; K79OT: goto QySTJ; goto PChrH; BpqVg: fputs($handle, "\x70\x75\x73\x68\40\42\162\157\165\x74\x65\40" . SERVER_NET . "\40" . SERVER_MASK . "\42\12"); goto qJ8aA; lqoSS: fputs($handle_disconnect_script, "\162\157\165\x74\x65\x20\x64\x65\x6c\x20\x2d\x6e\x65\x74\40" . escapeshellarg($vnet) . "\x20\x6e\145\164\155\x61\x73\x6b\40" . netmask_convert($client_adressbits) . "\x20\144\x65\x76\40\x24\x33\xa"); goto OMNxh; TgUuS: fputs($handle_disconnect_script, "\151\160\x74\x61\142\154\145\x73\40\55\104\40\106\117\122\x57\x41\122\x44\40\55\163\40\x22" . $source_addr . "\42\40\55\144\40" . escapeshellarg($tempaddr) . "\40\x2d\152\40\x41\103\x43\x45\120\x54\12"); goto ruy7N; kLs8Z: $nr = $row[2]; goto K8hrH; POYRo: $web_direct_uri = "\150\x74\164\x70\x3a\x2f\x2f" . $router_vpn_addr . "\55\x2d" . $webdirecthash . "\x2e" . $paddr . SERVER_HTTP_PORT; goto wLfZ1; zqSmk: if (!($source_addr != "\x24\62")) { goto Onu5p; } goto zakV_; kgVqH: fputs($handle_connect_script, "\43\40\111\x4e\x41\x43\124\111\x56\x45\xa"); goto do8MD; CWxyh: $alt_basenm_ovpn = 0; goto nzgI6; rWlSP: fputs($handle_connect_script, "\151\160\164\x61\142\154\x65\x73\40\x2d\x41\x20\x46\117\x52\127\101\122\x44\x20\x2d\x73\x20\44\x32\40\x2d\144\x20" . escapeshellarg($row[1] . "\57" . $client_adressbits) . "\40\x2d\152\x20\x41\103\x43\105\x50\124\xa"); goto MjLdx; hdMyS: unset($EnabledS7_array); goto tsvMa; yKWCZ: fputs($handle_connect_script, "\x69\160\x74\x61\142\x6c\x65\x73\x20\55\x41\x20\x46\x4f\x52\x57\x41\x52\x44\40\55\144\40\x24\62\40\x2d\x69\x20" . EXTERNAL_IF . "\x20\x2d\152\x20\101\x43\103\x45\120\124\xa"); goto Zph42; EyUh2: Nkq3q: goto jPUEj; a5DgS: EqSHq: goto Z_4K8; HTsCg: qE6kB: goto INe0q; jiGv9: $source_addr = $vnet . "\x2f" . $client_adressbits; goto RVKVB; MIK50: PFaub: goto Gr9Vw; GCNWW: $addon_ccd_rw = str_replace("\15", '', $addon_ccd_rw); goto TmOYv; YH7X9: g1TMC: goto z53DB; oX_zy: goto fRZzc; goto MHqEV; srxb6: MvvX6: goto FDt_q; TvRY9: $qstring = "\123\105\x4c\x45\103\x54\x20\x22\x56\151\162\164\x75\x61\154\x4e\145\x74\x77\x6f\x72\x6b\42\54\40\x22\116\x41\115\105\42\x20\106\122\117\115\40\42\160\x75\142\154\x69\x63\42\56\x22\117\162\x67\x61\156\x69\x73\x61\164\151\157\156\163\42\40\x57\110\x45\x52\x45\40\x22\116\122\42\40\x3d\x20\47" . Db::Escape($user) . "\x27"; goto glPOB; KxeLo: m_fe1: goto r0d5h; gEKRT: nxZNj: goto HIqQ2; QaRQl: $alt_addr_ovpn = $row[20]; goto MyEZq; chD1m: fputs($handle_connect_script, "\x69\160\x74\141\142\x6c\145\163\40\55\101\x20\x46\x4f\122\x57\x41\122\104\x20\55\x73\40\44\62\40\x2d\157\40" . EXTERNAL_IF . "\x20\x2d\152\40\101\x43\x43\x45\120\124\xa"); goto sK8Zw; eg1EG: $web_direct_uri = "\150\164\164\160\72\x2f\57" . $router_vpn_addr . "\55\x2d" . $webdirecthash . "\x2e" . $paddr . SERVER_HTTP_PORT; goto Uk4yb; cZ_eg: fputs($handle_connect_script, "\x69\160\164\141\x62\154\x65\x73\40\x2d\x74\40\156\141\x74\40\55\x41\x20\x50\122\x45\x52\117\125\124\x49\116\x47\x20\55\144\x20" . escapeshellarg($row[0] . "\x2f" . $client_adressbits) . "\x20\55\163\40\42" . $source_addr . "\x22\x20\55\152\40\116\105\x54\115\101\120\40\x2d\x2d\164\x6f\40" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\xa"); goto RgzSP; EyqMK: Xwc3N: goto JaAAw; QJ48D: fputs($handle_disconnect_script, "\x72\157\165\164\145\40\x64\x65\154\40\55\x6e\145\x74\40" . $alt_addr_ovpn . "\40\x6e\x65\164\x6d\x61\x73\x6b\x20\x32\x35\x35\x2e\x32\x35\65\56\x32\x35\65\56\x32\65\65\x20\x64\x65\x76\40\x24\63\12"); goto pIBoR; AqXB7: if (!(strlen($row[0]) && strlen($row[1]))) { goto tv6Cy; } goto hisRU; gBYi3: LF66P: goto iOOX0; fwiBT: fputs($handle, "\160\x75\163\150\40\x22\162\157\165\x74\x65\x20" . $alt_baseaddr_ovpn . "\40" . netmask_convert($alt_basenm_ovpn) . "\x22\xa"); goto GpywE; NS3f8: fclose($handle_connect_script); goto PTk1K; Hw0R0: WPCyH: goto xoqml; T6FmV: if (!($option_VPN_RD_GW == 1)) { goto pbNw6; } goto VXBH7; NBs7P: dCj0t: goto KcpeN; opdXR: r3HEN: goto WF1sr; ebE8z: H5iuz: goto FUhS7; INe0q: goto GA0gO; goto EXqdi; hisRU: $temp = explode("\x2e", $row[1]); goto SitqQ; WCWzc: goto Ls61N; goto kwEH_; qIl5I: fputs($handle_connect_script, "\x72\157\x75\x74\145\40\141\x64\x64\40\x2d\156\x65\164\x20" . $alt_addr_ovpn . "\40\156\145\164\x6d\141\163\153\x20\x32\65\x35\56\62\65\65\56\62\65\x35\x2e\x32\65\x35\40\144\x65\166\40\44\63\12"); goto QJ48D; IBOKj: s3jOE: goto juUU_; xS59x: if (!($source_addr != "\x24\62")) { goto MvvX6; } goto d5g9K; ET0QO: $addon_connect_rw = str_replace("\xd", '', $addon_connect_rw); goto vpbQU; mC7SJ: aS_iz: goto nvnu5; mJRRJ: if (strlen($row[1])) { goto dCj0t; } goto I27DJ; WFSyc: fclose($handle_disconnect_script); goto ebcEr; T2_9B: fputs($handle_connect_script, "\x69\x70\164\x61\x62\154\x65\x73\x20\x2d\101\x20\117\125\124\120\125\124\x20\55\144\40\x24\62\40\55\163\x20" . escapeshellarg($temp[0] . "\x2e" . $temp[1] . "\56" . $temp[2] . "\x2e\61") . "\40\x2d\160\x20\151\143\155\x70\40\55\x2d\x69\x63\x6d\x70\x2d\164\171\160\145\x20\x30\x20\x2d\x6a\x20\101\x43\x43\x45\x50\124\xa"); goto Y9vkg; jPUEj: goto txEVa; goto NBs7P; jBZFN: if (!strlen($row[1])) { goto aWjfs; } goto IdLo2; isnyq: if ($user == 0) { goto O3l6c; } goto oIiYF; MHqEV: MXe1I: goto K0J0j; O33x8: if (!($ena_s7_res = Db::Query("\x53\x45\x4c\x45\103\x54\40\42\105\156\141\142\154\145\144\x4e\x65\x74\x77\x6f\x72\153\42\40\x46\122\117\115\x20\x22\x70\x75\x62\154\151\x63\x22\56\x22\x45\x6e\x61\x62\x6c\145\x64\123\67\42\x20\x57\x48\105\122\105\x20\x22\x52\x65\x6d\157\164\145\x4e\145\x74\167\157\x72\x6b\42\x20\75\x20\47" . Db::Escape($nr) . "\x27"))) { goto HMKNU; } goto inp1U; Y2Ka9: $option_GROUP_ACCESS = $row[5]; goto UtSFv; SitqQ: $tempaddr = $temp[0] . "\x2e" . $temp[1] . "\x2e" . $temp[2] . "\56" . $row[0]; goto c9wB2; Z7xwV: fputs($handle_disconnect_script, "\151\x70\x74\x61\142\154\145\x73\40\x2d\x44\40\x46\x4f\122\x57\x41\x52\x44\40\x2d\163\x20\x22" . $source_addr . "\x22\x20\x2d\x64\x20" . escapeshellarg($server_vnbase . "\57" . $server_adressbits) . "\40\x2d\x6a\x20\101\x43\103\105\120\124\xa"); goto BSYXe; JaAAw: $temp = explode("\x2e", $row[1]); goto QVW2j; b3V_q: fputs($handle_connect_script, "\47\40\x7c\x20\163\x65\156\x64\170\155\160\160\40\55\152\x20" . $jabber_server . "\x20\55\165\x20" . $jabber_user . "\x20\55\x70\40" . $jabber_pass . "\x20" . $option_jabber_recipient . "\x40" . $jabber_server . "\12\xa"); goto MTHIf; waq1s: Pi8T0: goto g2U_t; slGnd: Qez8w: goto CZCCV; zUQ3I: if (strlen($vnet) && strlen($ip)) { goto MLlzd; } goto dzo47; DWHNu: mNTUm: goto v829B; cGrmu: tv6Cy: goto S_rq5; NkVSQ: if (!($source_addr != "\44\x32")) { goto nxZNj; } goto FCGPG; zKj3T: if (!($row = Db::Fetch($res))) { goto ffojc; } goto LdHBm; FKYns: fputs($handle_connect_script, "\x69\x70\x74\141\x62\x6c\x65\163\x20\x2d\101\x20\x46\x4f\122\127\x41\x52\x44\x20\55\144\40\x22" . $source_addr . "\42\x20\x2d\x69\x20" . EXTERNAL_IF . "\x20\x2d\x6a\x20\101\103\103\x45\120\124\xa"); goto hHnS1; VKn5h: $group_name = $row_user[1]; goto aKeMz; N6jjV: if (OPENVPN_ALT_BASEADDR === true && strlen($alt_baseaddr_ovpn) > 0 && $alt_basenm_ovpn > 0 && strlen($alt_addr_ovpn)) { goto EqSHq; } goto d4_Rq; PE_qR: fputs($handle_connect_script, "\151\x70\x74\141\142\x6c\145\163\40\55\x41\40\106\x4f\122\x57\x41\x52\x44\x20\55\x64\x20\x22" . $source_addr . "\42\40\55\163\x20" . escapeshellarg($row[1] . "\57" . $client_adressbits) . "\x20\x2d\152\40\101\103\x43\105\x50\x54\12"); goto kzXog; AuC8k: o2Drc: goto R_tLM; wLfZ1: $handle_connect_script = fopen(HOME_DIR . "\57\163\143\x72\x69\x70\164\x73\x2f\x5f\x5f\x47\x52\x4f\x55\x50\x5f\137" . $user . "\137\137\x43\114\x49\x45\116\124\137\x5f" . $name . "\x5f\x43\x4f\116\116\105\103\124", "\x77"); goto cGck7; zLbEn: goto zPzrh; goto a5DgS; inp1U: qejbV: goto tu2ci; h6Nc7: tzR7S: goto chD1m; MyEZq: Y1kF1: goto OlnZn; PvZ16: fputs($handle, "\x70\x75\x73\x68\40\42\x72\157\x75\x74\145\40" . file_config_escape($row[1]) . "\40" . netmask_convert($client_adressbits) . "\42\xa"); goto OdrAm; v8ShM: fputs($handle_connect_script, "\xa\x69\x70\x74\141\142\154\x65\163\40\x2d\x49\40\x49\x4e\120\x55\124\40\55\x73\40\x24\x32\40\x2d\160\x20\164\x63\x70\x20\x2d\x69\x20\164\165\156\x30\x20\x2d\x2d\x64\160\157\162\164\40\x32\x32\40\55\55\163\x70\x6f\x72\164\x20\61\x30\x32\64\72\66\65\x35\x33\x35\x20\55\155\x20\163\164\x61\164\x65\x20\x2d\x2d\163\164\141\164\x65\40\116\105\127\x2c\105\x53\x54\101\x42\114\x49\123\x48\x45\104\54\x52\105\114\101\x54\x45\x44\x20\55\x6a\x20\101\103\103\x45\x50\124\12"); goto MEAGx; zyieQ: fputs($handle_connect_script, "\151\160\164\x61\x62\x6c\145\x73\40\55\164\x20\156\141\164\40\55\x41\40\120\x4f\123\124\x52\x4f\x55\x54\x49\x4e\107\x20\55\x73\40\44\x32\40\x2d\157\x20" . EXTERNAL_IF . "\40\55\152\x20\x4d\x41\123\121\125\x45\x52\101\104\x45\xa"); goto mm07t; hHnS1: fputs($handle_disconnect_script, "\x69\160\x74\141\x62\x6c\145\x73\40\55\x44\40\106\117\122\127\101\x52\104\x20\55\144\40\x22" . $source_addr . "\42\x20\55\151\x20" . EXTERNAL_IF . "\x20\55\152\x20\101\x43\x43\105\x50\124\xa"); goto KV_Cn; l7tsu: if (strlen($row[0]) && strlen($row[1])) { goto PFaub; } goto gFZsy; dzo47: if (!(OPENVPN_ALT_BASEADDR === true && strlen($alt_baseaddr_ovpn) > 0 && $alt_basenm_ovpn > 0 && strlen($alt_addr_ovpn))) { goto Ew7UJ; } goto hk6oH; vlkbg: fputs($handle_disconnect_script, "\151\x70\x74\x61\142\154\145\x73\x20\55\104\40\106\x4f\122\127\x41\122\x44\40\x2d\144\x20\x22" . $source_addr . "\42\x20\x2d\163\40" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\x20\x2d\152\x20\101\x43\103\105\120\124\xa"); goto YylXX; Jmic8: goto FxsW_; goto KdmT2; VG7xS: WkrCZ: goto kgVqH; lH70o: if ($row[3] != "\160\143" || $row[3] == "\160\143" && NETWORK_PC_CLIENTS_NETMAP === true) { goto z34ok; } goto Td5yu; CCh8m: fputs($handle_connect_script, "\151\x70\x74\141\142\154\x65\163\x20\x2d\x41\x20\x46\x4f\122\x57\x41\122\104\x20\55\x73\40\x22" . $source_addr . "\42\40\x2d\x64\40" . escapeshellarg($server_vnbase . "\57" . $server_adressbits) . "\x20\55\152\40\101\x43\103\x45\120\x54\12"); goto hauKQ; S_rq5: goto RWnIZ; goto yGV5D; tq1uN: fputs($handle_connect_script, "\x69\160\164\141\x62\154\x65\x73\40\x2d\x41\x20\106\117\122\x57\101\122\x44\40\x2d\x64\x20\x22" . $source_addr . "\x22\x20\55\163\40" . escapeshellarg($vnbase . "\57" . $user_adressbits) . "\x20\x2d\x6a\x20\101\x43\103\x45\x50\124\12"); goto j4jX_; K9bz3: XymOx: goto Ocuxp; p_VJy: if (!((GRANT_GROUP_ACCESS_ROUTER || $teleworker != 0) && $option_GROUP_ACCESS == 1)) { goto wX3qZ; } goto isnyq; hk6oH: fputs($handle, "\x69\x66\143\157\156\x66\x69\147\x2d\x70\165\x73\150\40" . $alt_addr_ovpn . "\x20" . int2addr(addr2int($alt_addr_ovpn) + 1) . "\xa"); goto qIl5I; aFRYL: if (!($teleworker != 0)) { goto MiToW; } goto UK78W; HL5MA: $addon_connect = $row[7]; goto JeJtP; rXO6z: $clientmode = $row[15]; goto fxUTT; FwcjV: uGF6J: goto tliKo; aiWPV: $addon_disconnect = str_replace("\15", '', $addon_disconnect); goto dsI77; tz5bb: if (!(JABBER_MESSAGES && $option_jabber_conn_new != 0 && strlen($option_jabber_recipient) != 0)) { goto VWAT4; } goto SGiua; OWN0K: fputs($handle_connect_script, "\x72\157\165\x74\145\x20\x61\x64\x64\x20\x2d\x6e\x65\164\x20" . escapeshellarg($vnet) . "\40\x6e\145\164\155\x61\x73\x6b\40" . netmask_convert($client_adressbits) . "\40\x64\145\x76\x20\x24\x33\12"); goto rsrP1; wExKu: wX3qZ: goto J7eWk; uKzRj: $server_vnbase = $row[4]; goto DeTJn; S03SE: if (!(OPENVPN_ALT_BASEADDR === true)) { goto uGF6J; } goto VqWP2; hauKQ: fputs($handle_connect_script, "\x69\x70\x74\141\x62\x6c\x65\163\40\x2d\101\40\x46\117\122\127\101\122\x44\x20\x2d\144\x20\42" . $source_addr . "\x22\40\55\x73\40" . escapeshellarg($server_vnbase . "\x2f" . $server_adressbits) . "\x20\55\x6a\x20\101\103\103\x45\x50\x54\xa"); goto Z7xwV; qJ8aA: goto gPqZm; goto WnmOM; Uk4yb: fputs($handle_connect_script, "\x20" . $web_direct_uri); goto InxB8; UlwaT: fputs($handle_disconnect_script, "\x69\x70\x74\141\x62\x6c\145\163\40\x2d\x44\40\117\x55\124\x50\x55\x54\x20\x2d\x64\x20\x24\62\x20\55\160\40\x74\x63\160\x20\x2d\157\40\x74\165\156\x30\40\55\55\163\x70\x6f\x72\x74\x20\x32\62\x20\55\x2d\144\160\x6f\x72\164\40\61\x30\62\x34\72\x36\65\65\63\x35\x20\55\x6d\x20\x73\x74\x61\x74\x65\x20\55\55\163\164\141\x74\x65\40\105\123\124\101\x42\x4c\111\123\x48\105\x44\54\122\105\x4c\x41\x54\x45\x44\x20\55\x6a\x20\x41\x43\103\x45\x50\x54\xa"); goto pZpLV; R_UfB: if (!($ena_net_res = Db::Query("\x53\105\114\105\103\124\40\x22\x45\156\141\x62\x6c\x65\x64\116\x65\x74\x77\157\x72\x6b\42\x20\x46\122\117\115\x20\42\x70\165\142\154\x69\x63\42\56\x22\105\156\x61\x62\x6c\x65\x64\x4e\x65\164\167\157\162\x6b\x73\x22\x20\127\x48\105\122\x45\x20\x22\x52\x65\155\157\x74\x65\x4e\145\164\167\x6f\x72\153\42\40\75\x20\x27" . Db::Escape($nr) . "\47"))) { goto lpyYh; } goto VgBed; tsvMa: $EnabledS7_array = array(); goto O33x8; InxB8: G8fs6: goto b3V_q; kwEH_: Y42sQ: goto q6mxN; gc7mm: return false; goto oX_zy; Oogwb: fputs($handle, "\160\165\x73\x68\40\x22\x72\157\x75\x74\145\40" . file_config_escape($tempaddr) . "\40\62\65\65\x2e\62\x35\x35\56\x32\x35\x35\56\x32\x35\x35\42\12"); goto inUYT; NgKjp: fputs($handle_connect_script, "\12" . $addon_connect_rw . "\xa"); goto s_tJy; z53DB: fputs($handle, "\12"); goto aCRhd; AucR9: fputs($handle_disconnect_script, "\x69\x70\x74\x61\142\x6c\145\x73\40\55\x44\x20\117\x55\x54\x50\125\124\40\x2d\x70\x20\x75\144\x70\x20\x2d\x64\x20\42" . $source_addr . "\42\40\55\55\x73\x70\x6f\162\164\x20\x35\x33\x20\x2d\152\x20\x41\103\103\x45\120\124\12"); goto odTcr; NYFr4: fputs($handle, "\x69\x66\143\157\x6e\x66\151\147\55\160\165\x73\x68\x20" . file_config_escape($temp[0] . "\56" . $temp[1] . "\x2e" . $temp[2] . "\56" . $ip) . "\x20" . file_config_escape($temp[0] . "\56" . $temp[1] . "\56" . $temp[2] . "\56" . strval(intval($ip) + 1)) . "\xa"); goto Vsrvp; OdrAm: fputs($handle_connect_script, "\x69\x70\164\x61\x62\x6c\x65\163\x20\55\101\40\106\x4f\122\x57\101\x52\x44\x20\55\163\40\x22" . $source_addr . "\42\x20\x2d\x64\x20" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\x20\x2d\x6a\40\101\x43\x43\x45\x50\x54\xa"); goto xS59x; WT6k_: QySTJ: goto wExKu; CZCCV: fputs($handle_connect_script, "\xa" . $addon_connect . "\xa"); goto fzsVL; nzgI6: if ($user != 0) { goto Y42sQ; } goto L8HGx; FknHe: goto AF6Jm; goto EyqMK; xcO7p: fputs($handle_connect_script, "\x69\160\x74\x61\142\x6c\145\x73\x20\x2d\x74\x20\156\141\x74\x20\55\x41\40\120\117\x53\124\x52\x4f\x55\124\111\116\107\40\x2d\163\40\x24\x32\40\x2d\157\x20" . EXTERNAL_IF . "\40\55\x6a\x20\x4d\101\x53\121\125\x45\122\x41\x44\x45\12"); goto nqXQ1; mzh2f: fputs($handle_connect_script, "\x69\x70\x74\x61\x62\x6c\145\163\x20\55\164\x20\x6e\141\164\x20\55\x41\x20\120\117\x53\x54\x52\117\x55\124\x49\x4e\107\40\55\163\40" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . "\x20\x2d\157\x20" . EXTERNAL_IF . "\x20\55\x6a\40\x4d\x41\123\x51\125\x45\x52\101\104\105\xa"); goto cGdio; ruy7N: AF6Jm: goto KaRJ7; c9wB2: fputs($handle, "\160\x75\163\x68\40\x22\162\157\x75\164\145\40" . file_config_escape($tempaddr) . "\40\62\x35\x35\x2e\62\65\65\56\x32\65\x35\x2e\x32\65\65\42\xa"); goto tbe0J; ebcEr: fflush($handle); goto NrzyJ; do8MD: fputs($handle_disconnect_script, "\x23\x20\111\116\x41\x43\124\111\x56\105\xa"); goto AuC8k; q6mxN: if (OPENVPN_ALT_BASEADDR === true) { goto Rz1p4; } goto TvRY9; gY91Z: if ($teleworker == 0 && $clientmode != "\160\143" || NETWORK_PC_CLIENTS_NETMAP === true && $clientmode == "\160\x63") { goto E2xq4; } goto zUQ3I; x3QCB: fputs($handle, "\xa" . $addon_ccd_rw . "\12"); goto q3dMZ; Qioyl: IehDg: goto BdjVp; a15ao: FxsW_: goto xXX30; S4yC7: fputs($handle, "\160\165\163\x68\x20\x22\x72\x6f\x75\164\145\40" . file_config_escape($vnbase) . "\40" . netmask_convert($user_adressbits) . "\42\xa"); goto pATrq; HtEx7: if (!VPN_REDIRECT_GATEWAY) { goto aS_iz; } goto T6FmV; DNyzG: fputs($handle_connect_script, "\151\160\164\x61\142\x6c\145\x73\40\55\x41\x20\x46\x4f\x52\x57\x41\x52\104\40\55\x73\x20\x22" . $source_addr . "\42\x20\x2d\144\x20" . escapeshellarg($row[0] . "\x2f" . $client_adressbits) . "\40\x2d\152\40\x41\103\103\x45\120\x54\xa"); goto dxAQD; RgzSP: fputs($handle_disconnect_script, "\151\160\164\141\142\x6c\x65\x73\x20\55\x74\x20\x6e\141\x74\x20\x2d\x44\40\120\122\x45\x52\x4f\125\124\x49\x4e\x47\x20\x2d\x64\x20" . escapeshellarg($row[0] . "\x2f" . $client_adressbits) . "\40\x2d\x73\40\x22" . $source_addr . "\42\40\x2d\152\40\116\x45\124\115\x41\x50\x20\55\x2d\x74\157\x20" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\12"); goto P27hd; rPS0x: $addon_disconnect_rw = $row[11]; goto nK8ob; OMNxh: xlmO1: goto N6jjV; ffe8X: fputs($handle_disconnect_script, "\151\x70\x74\141\x62\x6c\145\x73\x20\x2d\x44\x20\106\x4f\122\127\x41\x52\x44\40\55\163\x20\42" . $source_addr . "\42\x20\55\144\x20" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\40\x2d\x6a\x20\101\103\103\105\x50\x54\12"); goto NkVSQ; VXBH7: fputs($handle_connect_script, "\x69\x70\164\141\x62\x6c\x65\x73\x20\x2d\x41\40\106\117\x52\127\x41\x52\x44\40\55\x73\40\42" . $source_addr . "\42\x20\x2d\157\x20" . EXTERNAL_IF . "\40\55\152\x20\x41\x43\x43\x45\x50\x54\xa"); goto AjUY1; jAJRo: $router_vpn_addr = str_replace("\56", "\x2d", real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits)); goto POYRo; kkXAH: fputs($handle_connect_script, "\145\x78\151\164\x20\60\xa"); goto Mwdxv; RY6tk: $alt_basenm_ovpn = $row_user[3]; goto c2MxY; T4PA7: fputs($handle, "\x70\x75\163\150\x20\x22\144\x68\x63\160\55\157\x70\164\x69\x6f\156\x20\104\116\x53\40" . $temp[0] . "\56" . $temp[1] . "\x2e" . $temp[2] . "\x2e\61" . "\x22\xa"); goto j5ZPA; lYFFj: fputs($handle_disconnect_script, "\x69\x70\164\x61\x62\x6c\x65\x73\40\55\104\40\x46\117\x52\127\101\x52\x44\x20\55\x64\40\42" . $source_addr . "\x22\40\x2d\x73\x20" . escapeshellarg($row[0] . "\x2f" . $client_adressbits) . "\x20\x2d\152\40\101\103\x43\105\x50\x54\12"); goto k14NG; u7gFD: fputs($handle, "\x70\165\x73\150\x20\42\x72\x6f\165\164\x65\x20" . $vnbase . "\40" . netmask_convert($user_adressbits) . "\x22\12"); goto opdXR; tu2ci: if (!($ena_s7_row = Db::Fetch($ena_s7_res))) { goto LF66P; } goto G3gZ5; BkmvL: goto wpCnW; goto DP1Hu; GpywE: gPqZm: goto BkmvL; odTvI: if ($row = Db::QueryFetch("\123\x45\114\105\103\124\x20\42\x50\x75\142\154\x69\143\x41\x64\144\162\42\x2c\40\x22\x55\x53\105\122\137\x41\104\x52\105\123\123\x42\111\x54\123\42\54\x20\x22\x43\114\x49\105\116\124\x5f\101\x44\x52\105\x53\123\x42\111\124\123\x22\x2c\40\x22\x53\105\122\x56\x45\122\x5f\101\x44\x52\105\x53\123\x42\x49\x54\123\42\x2c\x20\42\126\151\162\164\x75\x61\154\116\x65\x74\167\x6f\x72\x6b\x22\x20\x46\122\x4f\115\x20\42\x70\165\142\x6c\x69\x63\42\x2e\42\116\x65\x74\x77\x6f\162\153\x22")) { goto MXe1I; } goto gc7mm; xoqml: lpyYh: goto p_VJy; xIHi1: fputs($handle_disconnect_script, "\xa\x69\160\x74\141\142\x6c\145\x73\x20\55\x44\x20\111\x4e\120\x55\124\x20\x2d\163\40\x24\62\x20\x2d\x70\x20\x74\143\x70\40\55\x69\40\x74\165\156\x30\x20\x2d\x2d\x64\160\x6f\162\164\x20\62\x32\40\x2d\x2d\163\x70\x6f\162\164\40\61\x30\62\64\x3a\66\x35\x35\63\x35\40\x2d\x6d\x20\x73\164\141\x74\x65\40\x2d\55\163\x74\141\x74\145\40\x4e\x45\127\54\105\x53\124\x41\102\114\x49\x53\110\x45\x44\x2c\x52\x45\114\101\x54\x45\x44\x20\55\x6a\40\x41\103\103\x45\120\124\xa"); goto UlwaT; D54Nm: zPzrh: goto G9Y7D; u2bwJ: fputs($handle_disconnect_script, "\x23\41\x2f\142\x69\x6e\x2f\x73\150\xa"); goto w9_Wd; AjUY1: fputs($handle_disconnect_script, "\151\160\x74\141\142\154\145\x73\x20\x2d\104\x20\106\117\x52\x57\101\x52\x44\x20\55\x73\x20\42" . $source_addr . "\42\40\55\157\x20" . EXTERNAL_IF . "\40\x2d\152\x20\101\x43\103\x45\120\124\12"); goto FKYns; IdLo2: fputs($handle, "\x70\x75\163\150\x20\42\162\157\165\x74\145\40" . file_config_escape($row[1]) . "\40" . netmask_convert($client_adressbits) . "\x22\12"); goto kvjMb; kvjMb: fputs($handle_connect_script, "\x69\x70\x74\141\x62\154\145\163\x20\55\x41\40\106\117\122\x57\101\122\x44\x20\x2d\x73\x20\x22" . $source_addr . "\x22\40\55\x64\40" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\x20\x2d\152\40\x41\x43\x43\x45\x50\x54\12"); goto U02c3; VtO2d: $alt_baseaddr_ovpn = $row_user[2]; goto RY6tk; aLq65: if (!(OPENVPN_ALT_BASEADDR === true)) { goto Y1kF1; } goto QaRQl; zeMqa: if (!($ena_net_row = Db::Fetch($ena_net_res))) { goto WPCyH; } goto Nwfps; H7nnm: $option_jabber_recipient = $row[18]; goto Y7LtF; nqXQ1: fputs($handle_disconnect_script, "\151\x70\164\141\x62\154\145\x73\x20\55\164\40\x6e\141\164\x20\55\104\x20\120\x4f\x53\124\x52\117\125\x54\x49\116\x47\x20\55\163\x20\x24\x32\x20\x2d\x6f\x20" . EXTERNAL_IF . "\x20\55\x6a\x20\x4d\101\123\x51\x55\x45\x52\x41\x44\x45\xa"); goto X8HEq; j5ZPA: Bd6KJ: goto ccPxo; CxQ7O: z34ok: goto TDBBZ; Pfstz: fputs($handle_disconnect_script, "\x69\160\164\x61\142\x6c\x65\x73\x20\55\x44\40\106\117\122\x57\101\x52\x44\40\55\144\40\42" . $source_addr . "\42\x20\x2d\163\x20" . escapeshellarg($tempaddr) . "\40\55\152\x20\101\103\103\x45\120\x54\12"); goto HTsCg; EXqdi: WSJv3: goto qW3hj; UK78W: fputs($handle_connect_script, "\151\x70\164\x61\142\154\x65\x73\40\x2d\x41\x20\x46\117\x52\127\x41\122\x44\x20\55\144\40\42" . $source_addr . "\42\40\55\x73\x20" . escapeshellarg($row[0] . "\57" . $client_adressbits) . "\40\55\x6a\x20\x41\x43\103\105\x50\x54\12"); goto lYFFj; VqWP2: $select_list = $select_list . "\x2c\42\101\114\124\x5f\101\104\x44\x52\x5f\x4f\x56\x50\116\x22"; goto FwcjV; w9_Wd: if (ACTIVE_INACTIVE_CLIENTS_AUTOACTIVE == false && $accoutstatus == "\x49\116\101\x43\124\111\126\105") { goto g1TMC; } goto gY91Z; YoKjh: fputs($handle, "\160\165\x73\x68\40\x22\x72\x6f\165\164\x65\40" . file_config_escape($row[0]) . "\x20" . netmask_convert($client_adressbits) . "\42\12"); goto DNyzG; SGiua: fputs($handle_connect_script, "\x65\x63\x68\x6f\x20\x27" . utf8_encode($alias_name) . "\40\50" . $name . "\x20" . STR_EIGENTUEMER . "\x20" . $group_name . "\51\40" . STR_JABBER_CONNECTED); goto N4UL0; pg6bi: $qstring = "\123\105\114\105\103\124\x20\42\x56\x69\x72\x74\x75\x61\x6c\x4e\x65\164\167\157\x72\x6b\x22\x2c\x20\x22\116\x41\x4d\105\x22\x2c\x20\x22\101\114\x54\137\102\101\x53\x45\101\104\x44\x52\137\x4f\126\120\116\x22\54\x20\42\x41\114\124\x5f\x42\101\123\105\x4e\x4d\137\117\126\120\x4e\x22\x20\x46\x52\x4f\115\40\x22\160\x75\x62\x6c\151\x63\x22\x2e\42\x4f\x72\147\x61\156\x69\x73\141\164\x69\x6f\156\163\x22\40\127\110\x45\x52\105\x20\42\x4e\x52\42\x20\x3d\40\x27" . Db::Escape($user) . "\47"; goto dGy0N; ptbEH: goto Pi8T0; goto h6Nc7; R2C1P: ffojc: goto DWHNu; TDBBZ: if (!($option_GROUP_ACCESS != 1)) { goto IehDg; } goto PvZ16; OsBKT: return false; goto mQipz; zKcF9: $alt_baseaddr_ovpn = ''; goto CWxyh; odTcr: if ($teleworker == 0) { goto tzR7S; } goto xcO7p; KcpeN: if (!($teleworker == 0 || $option_GROUP_ACCESS != 1)) { goto XymOx; } goto lH70o; ycmyT: fputs($handle, "\12" . $addon_ccd . "\xa"); goto wNte7; s_tJy: fputs($handle_disconnect_script, "\12" . $addon_disconnect_rw . "\12"); goto MFXtT; n60ZV: fputs($handle_disconnect_script, "\x65\143\150\157\x20\47" . utf8_encode($alias_name) . "\40\x28" . $name . "\x20" . STR_EIGENTUEMER . "\40" . $group_name . "\51\x20" . STR_JABBER_DISCONNECTED . "\47\40\x7c\40\x73\x65\x6e\x64\170\x6d\x70\160\x20\55\x6a\40" . $jabber_server . "\40\x2d\x75\40" . $jabber_user . "\40\x2d\x70\x20" . $jabber_pass . "\40" . $option_jabber_recipient . "\100" . $jabber_server . "\xa\xa"); goto ZEX42; kJ_oS: fputs($handle_connect_script, "\x23\x21\57\x62\151\x6e\57\x73\150\xa"); goto u2bwJ; k73Zr: if (OPENVPN_ALT_BASEADDR === true && strlen($alt_baseaddr_ovpn) > 0 && $alt_basenm_ovpn > 0) { goto vnNQx; } goto BpqVg; dxAQD: fputs($handle_disconnect_script, "\151\x70\x74\141\x62\x6c\x65\x73\x20\x2d\104\40\x46\117\122\x57\101\122\x44\40\x2d\x73\x20\x22" . $source_addr . "\42\40\x2d\144\x20" . escapeshellarg($row[0] . "\57" . $client_adressbits) . "\x20\55\x6a\x20\x41\x43\x43\105\x50\x54\12"); goto aFRYL; juUU_: gYXGy: goto k73Zr; Dmku0: $addon_ccd_rw = $row[9]; goto eTFHW; QVW2j: $tempaddr = $temp[0] . "\56" . $temp[1] . "\x2e" . $temp[2] . "\56" . $row[0]; goto Oogwb; Y9vkg: fputs($handle_disconnect_script, "\x69\160\164\x61\x62\154\x65\163\40\x2d\104\x20\x49\116\x50\x55\124\x20\x2d\163\40\44\x32\40\x2d\x64\40" . escapeshellarg($temp[0] . "\56" . $temp[1] . "\56" . $temp[2] . "\56\x31") . "\40\55\x70\40\151\x63\155\160\x20\x2d\55\151\143\155\x70\x2d\x74\171\160\x65\x20\x38\x20\x2d\x6a\40\101\x43\103\x45\x50\x54\12"); goto GMRjS; I27DJ: if (!strlen($row[0])) { goto Nkq3q; } goto YoKjh; IIs14: fputs($handle, "\160\165\163\150\x20\x22\162\x6f\x75\x74\x65\40" . file_config_escape($row[0]) . "\x20" . netmask_convert($client_adressbits) . "\42\xa"); goto cZ_eg; RVKVB: fputs($handle_connect_script, "\162\x6f\x75\x74\145\40\141\144\x64\40\x2d\x6e\145\x74\40" . escapeshellarg($vnet) . "\x20\x6e\x65\x74\x6d\x61\x73\153\x20" . netmask_convert($client_adressbits) . "\40\144\145\166\x20\x24\63\12"); goto lqoSS; J7eWk: $temp = explode("\x2e", SERVER_NET); goto lsLA7; MFXtT: if (!($user == 0 && $name == "\162\x6f\x6f\x74")) { goto fMM2f; } goto v8ShM; fxUTT: $option_jabber_conn = $row[16]; goto uNyL3; DnYL3: ID8qa: goto S04ou; pATrq: goto s3jOE; goto EPM_q; fzsVL: fputs($handle_disconnect_script, "\xa" . $addon_disconnect . "\12"); goto ycmyT; dsI77: $addon_ccd = str_replace("\15", '', $addon_ccd); goto ET0QO; L8HGx: $group_name = "\x2d\55\55"; goto WCWzc; mm07t: fputs($handle_disconnect_script, "\x69\x70\164\141\142\154\x65\163\x20\x2d\164\40\156\141\x74\40\55\104\40\x50\x4f\x53\x54\122\117\125\x54\111\116\107\x20\x2d\x73\x20\44\62\40\x2d\x6f\40" . EXTERNAL_IF . "\x20\x2d\152\40\115\101\x53\x51\x55\105\x52\x41\104\x45\12"); goto o1Pua; wNte7: dC8IT: goto tz5bb; d5g9K: fputs($handle_connect_script, "\x69\x70\x74\141\x62\154\145\x73\40\x2d\x41\40\106\117\x52\x57\101\x52\x44\40\55\x73\40\44\62\x20\55\x64\40" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\40\55\x6a\40\101\103\x43\105\x50\x54\12"); goto srxb6; KaRJ7: goto Pxbua; goto CxQ7O; s_o5N: $router_vpn_addr = str_replace("\56", "\55", real_addr_2_vpn_addr($vnet, $router_addr, $client_adressbits)); goto eg1EG; v829B: goto omhLm; goto Hw0R0; K8hrH: $teleworker = $row[3]; goto XdMvJ; zq8At: if (ACTIVE_INACTIVE_CLIENTS_AUTOACTIVE == false && $accoutstatus == "\x49\116\x41\103\124\111\x56\x45") { goto WkrCZ; } goto R_UfB; UtSFv: $addon_ccd = $row[6]; goto HL5MA; MEAGx: fputs($handle_connect_script, "\x69\x70\164\141\142\x6c\x65\163\x20\55\111\40\x4f\x55\124\120\125\x54\40\x2d\144\40\x24\x32\x20\x2d\160\40\x74\143\x70\40\x2d\x6f\40\x74\165\x6e\60\40\x2d\55\163\160\x6f\x72\x74\40\62\62\x20\x2d\x2d\x64\160\x6f\x72\164\x20\61\60\x32\64\x3a\x36\x35\x35\63\65\x20\x2d\x6d\40\163\x74\141\x74\145\40\x2d\x2d\163\x74\141\164\145\40\x45\x53\x54\x41\102\x4c\x49\x53\110\105\104\54\122\105\114\101\124\x45\x44\x20\55\x6a\40\101\103\103\x45\x50\x54\xa"); goto xIHi1; CygSV: fflush($handle_disconnect_script); goto WFSyc; BdjVp: Pxbua: goto K9bz3; pIBoR: Ew7UJ: goto Jmic8; U02c3: if (!($source_addr != "\x24\62")) { goto JR7Rc; } goto rWlSP; qW3hj: fputs($handle_connect_script, "\x69\160\x74\x61\x62\x6c\x65\163\40\x2d\101\40\x46\x4f\122\x57\x41\122\x44\x20\55\x64\40\x22" . $source_addr . "\42\40\55\163\40" . escapeshellarg($row[1] . "\57" . $client_adressbits) . "\x20\55\x6a\40\x41\103\103\105\x50\124\xa"); goto vlkbg; WXIbY: $client_adressbits = $row[2]; goto xCAxk; xXX30: if (!($teleworker == 0 && strlen($vnet))) { goto ks5M7; } goto ZaIdA; c2MxY: grB1d: goto LrDNH; Oqm2N: fputs($handle, "\160\165\163\x68\40\42\162\x6f\x75\x74\145\40" . $alt_baseaddr_ovpn . "\40" . netmask_convert($alt_basenm_ovpn) . "\42\12"); goto D54Nm; yBOjw: iTWqm: goto dVWPP; V2BQW: if (!($row_user = Db::QueryFetch($qstring))) { goto NoAZQ; } goto AyGyu; vmzIb: RWnIZ: goto R2C1P; yEzRv: if (!strlen($ip)) { goto IuczW; } goto zedO4; yC5Av: if ($row = Db::QueryFetch("\x53\x45\114\x45\x43\x54\x20" . $select_list . "\40\x46\x52\x4f\115\x20\42\160\165\x62\x6c\x69\143\42\x2e\x22\122\x65\155\x6f\x74\145\116\x65\164\167\157\x72\153\163\42\x20\127\x48\x45\x52\x45\40\x28\x22\116\x41\115\105\x22\x20\x3d\40\47" . Db::Escape($name) . "\47\40\x41\x4e\104\40\x22\x55\x53\105\122\42\40\x3d\x20\47" . Db::Escape($user) . "\x27\40\51")) { goto m_fe1; } goto OsBKT; zedO4: fputs($handle, "\151\162\x6f\165\164\x65\40" . escapeshellarg($ip) . "\40" . netmask_convert($client_adressbits) . "\12"); goto a6HRo; PChrH: O3l6c: goto CCh8m; EPM_q: yhpMF: goto P0j_e; pAdZB: if (!($handle_connect_script && $handle_disconnect_script && $handle)) { goto yc4ou; } goto kJ_oS; zy7pG: IuczW: goto kQ53G; FDt_q: fputs($handle_disconnect_script, "\x69\160\x74\x61\x62\154\x65\x73\40\55\x44\x20\x46\117\x52\127\x41\x52\x44\40\x2d\163\x20\42" . $source_addr . "\42\x20\55\x64\x20" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\x20\55\152\x20\101\x43\103\105\x50\x54\xa"); goto zqSmk; YScuj: Rz1p4: goto pg6bi; QkkWv: $select_list = "\42\111\120\42\x2c\40\xa\11\x9\40\x20\42\126\151\162\x74\x75\141\154\x4e\145\164\167\157\x72\153\x22\54\x20\xa\11\x9\x20\40\42\116\x52\x22\54\x20\12\11\x9\x20\40\42\124\145\x6c\145\167\157\162\153\x65\162\42\x2c\12\x9\11\40\x20\42\117\x50\x54\x49\117\116\x5f\x52\x44\x5f\x47\x57\42\54\40\xa\x9\11\x20\x20\x22\x4f\x50\124\x49\117\x4e\x5f\107\122\x4f\125\120\137\101\103\103\x45\123\123\x22\54\12\11\x9\40\40\x22\101\104\104\x4f\116\137\x43\103\x44\x22\x2c\40\12\11\11\40\x20\x22\x41\x44\x44\117\x4e\x5f\103\x4f\x4e\116\x45\103\x54\x22\54\x20\xa\11\11\x20\40\42\101\x44\x44\x4f\x4e\137\x44\x49\123\x43\117\116\116\x45\x43\x54\x22\54\40\12\11\11\40\40\42\101\104\104\117\x4e\x5f\103\103\x44\137\x52\x57\x22\54\40\12\x9\x9\40\x20\x22\x41\104\x44\117\116\137\x43\x4f\116\116\x45\103\x54\137\x52\127\x22\x2c\40\xa\x9\11\40\40\42\x41\x44\104\x4f\116\137\x44\111\x53\103\117\x4e\116\105\103\124\137\x52\127\42\x2c\40\12\11\11\40\40\x22\x41\114\111\101\123\x5f\x4e\x41\115\x45\x22\54\12\x9\11\40\x20\42\x57\x65\142\104\151\x72\x65\143\164\110\141\x73\150\42\x2c\12\x9\x9\x20\40\42\x52\x6f\165\x74\x65\162\x41\x64\x64\x72\42\x2c\12\x9\11\40\40\x22\x43\154\151\145\156\164\115\157\144\145\42\x2c\xa\x9\x9\40\40\x22\112\101\x42\x42\105\122\x5f\103\x4f\x4e\116\105\x43\x54\42\54\12\11\11\x20\40\42\x4a\101\x42\x42\105\x52\137\104\x49\x53\103\117\x4e\116\x45\103\x54\x22\54\xa\11\x9\x20\40\42\x4a\x41\102\x42\x45\x52\137\x52\x45\103\111\120\111\105\x4e\x54\42\54\12\x9\11\40\40\42\101\x63\x63\157\165\156\164\123\x74\141\164\x75\163\x22"; goto S03SE; M86kf: $vnet = $row[1]; goto kLs8Z; paNYQ: HWNOd: goto KWjvl; Ocuxp: if (!($teleworker != 0)) { goto H5iuz; } goto doQCK; Jrc3K: hmopU: goto hdMyS; aCRhd: fputs($handle_connect_script, "\xa"); goto x_jQ5; koV4r: fputs($handle_disconnect_script, "\162\157\165\164\x65\x20\144\x65\x6c\x20\55\156\145\164\40" . escapeshellarg($temp[0] . "\56" . $temp[1] . "\x2e" . $temp[2] . "\56" . $ip) . "\x20\156\x65\164\x6d\141\163\153\x20\62\x35\x35\x2e\62\x35\x35\56\x32\65\65\56\x32\65\65\40\x64\x65\166\40\44\63\xa"); goto a15ao; KV_Cn: fputs($handle_connect_script, "\151\x70\x74\141\x62\x6c\145\x73\40\55\x41\40\111\x4e\120\x55\x54\x20\55\x70\x20\x75\144\x70\40\55\163\40\42" . $source_addr . "\42\x20\x2d\x2d\x64\160\157\x72\164\x20\x35\63\40\x2d\x6a\x20\x41\103\x43\105\x50\x54\xa"); goto KDqdV; eTFHW: $addon_connect_rw = $row[10]; goto rPS0x; NBv8D: $temp = explode("\x2e", $vnet); goto NYFr4; sK8Zw: fputs($handle_disconnect_script, "\x69\x70\x74\141\142\x6c\x65\163\x20\55\x44\40\106\x4f\122\127\x41\122\104\x20\55\163\x20\44\x32\40\55\x6f\x20" . EXTERNAL_IF . "\x20\x2d\152\40\x41\103\103\x45\x50\124\xa"); goto yKWCZ; BWPkR: goto hmopU; goto YH7X9; CeJNz: $router_addr = $row[14]; goto rXO6z; pZpLV: fMM2f: goto x3QCB; tkYC7: Ls61N: goto odTvI; k14NG: MiToW: goto EyUh2; gFZsy: if (!strlen($row[1])) { goto ID8qa; } goto PE_qR; mQipz: goto lASM8; goto KxeLo; GMRjS: fputs($handle_disconnect_script, "\x69\x70\x74\x61\142\154\x65\163\x20\55\x44\40\x4f\x55\124\120\125\x54\x20\55\144\x20\x24\62\x20\x2d\x73\40" . escapeshellarg($temp[0] . "\56" . $temp[1] . "\56" . $temp[2] . "\56\x31") . "\x20\55\160\x20\x69\143\155\x70\40\x2d\55\x69\143\155\x70\x2d\x74\x79\x70\x65\x20\60\x20\x2d\152\40\101\103\103\105\x50\x54\12"); goto HtEx7; ZEX42: M6gsQ: goto uwFCI; MTHIf: VWAT4: goto kkXAH; Nwfps: if (!($res = Db::Query("\123\x45\x4c\105\x43\124\x20\42\111\120\42\54\40\42\x56\151\162\x74\x75\x61\x6c\116\145\164\167\157\x72\153\42\54\x20\x22\x54\x65\x6c\x65\167\x6f\162\153\x65\162\x22\x2c\40\42\x43\154\x69\145\x6e\x74\x4d\157\144\145\x22\x20\106\x52\117\115\40\x22\160\165\x62\x6c\x69\x63\x22\56\42\x52\x65\155\x6f\x74\x65\116\145\x74\x77\x6f\x72\153\x73\42\40\127\x48\x45\122\105\40\x22\116\x52\x22\x20\x3d\x20\x27" . Db::Escape($ena_net_row[0]) . "\47"))) { goto mNTUm; } goto zKj3T; zakV_: fputs($handle_disconnect_script, "\x69\x70\x74\141\x62\154\x65\163\40\55\x44\40\106\x4f\x52\127\x41\x52\104\x20\55\163\40\44\x32\x20\55\144\40" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\x20\55\x6a\40\x41\x43\x43\x45\x50\124\12"); goto nPVkB; LdHBm: if ($row[2] == 0) { goto RvW9a; } goto AqXB7; aKeMz: if (!(OPENVPN_ALT_BASEADDR === true)) { goto grB1d; } goto VtO2d; mVZSZ: yc4ou: goto uc3zU; x_jQ5: fputs($handle_disconnect_script, "\xa"); goto Jrc3K; OlnZn: lASM8: goto zKcF9; G9Y7D: if (!(GRANT_GROUP_ACCESS_ROUTER && $option_GROUP_ACCESS == 1)) { goto r3HEN; } goto u7gFD; Gr9Vw: fputs($handle_connect_script, "\x69\160\x74\x61\x62\154\x65\163\x20\x2d\x41\40\106\117\x52\x57\101\x52\104\x20\x2d\x64\40\x22" . $source_addr . "\x22\x20\55\163\x20" . escapeshellarg($tempaddr) . "\40\x2d\x6a\40\101\x43\103\105\x50\x54\12"); goto Pfstz; xaueq: if ($row[3] != "\160\143") { goto WSJv3; } goto l7tsu; uNyL3: $option_jabber_disconn = $row[17]; goto H7nnm; d4_Rq: fputs($handle, "\x70\x75\x73\x68\x20\42\x72\157\165\x74\x65\40" . SERVER_NET . "\40" . SERVER_MASK . "\42\xa"); goto zLbEn; nPVkB: Onu5p: goto Qioyl; iOOX0: HMKNU: goto zq8At; NrzyJ: fclose($handle); goto mVZSZ; WF1sr: wpCnW: goto BWPkR; N4UL0: if (!(WEBDIRECT_SUPPORT && strlen($webdirecthash) > 0)) { goto G8fs6; } goto s_o5N; MvD0l: if ($user == 0) { goto yhpMF; } goto S4yC7; su_2W: goto qejbV; goto gBYi3; cGck7: $handle_disconnect_script = fopen(HOME_DIR . "\57\x73\143\162\151\160\164\x73\57\x5f\x5f\x47\x52\117\125\120\x5f\137" . $user . "\x5f\137\103\x4c\111\105\x4e\x54\x5f\x5f" . $name . "\x5f\104\x49\x53\103\x4f\116\x4e\105\103\x54", "\167"); goto UFmui; kzXog: fputs($handle_disconnect_script, "\x69\x70\x74\141\x62\x6c\x65\x73\x20\55\x44\x20\106\x4f\x52\x57\x41\122\104\40\x2d\x64\x20\42" . $source_addr . "\x22\40\x2d\163\40" . escapeshellarg($row[1] . "\57" . $client_adressbits) . "\40\55\x6a\40\x41\x43\x43\105\x50\x54\xa"); goto DnYL3; WZh5k: ks5M7: goto HK38X; IIwUh: if (strlen($vnet)) { goto iTWqm; } goto yEzRv; gIGQc: fputs($handle_disconnect_script, "\x69\160\164\141\x62\x6c\145\163\x20\55\x44\x20\x46\x4f\x52\x57\x41\x52\104\40\55\x73\x20\42" . $source_addr . "\x22\40\x2d\144\40" . escapeshellarg($tempaddr) . "\x20\x2d\x6a\x20\x41\x43\x43\x45\x50\124\12"); goto rZrqG; LrDNH: NoAZQ: goto tkYC7; xEOHq: $user_adressbits = $row[1]; goto WXIbY; FUhS7: if (!in_array($ena_net_row[0], $EnabledS7_array)) { goto HWNOd; } goto IIs14; RndL4: fputs($handle_disconnect_script, "\151\x70\164\x61\142\154\145\163\x20\55\x74\40\x6e\x61\164\40\55\x44\x20\120\x4f\x53\x54\122\x4f\125\x54\x49\x4e\x47\x20\x2d\x73\x20" . escapeshellarg($row[1] . "\x2f" . $client_adressbits) . "\40\x2d\x64\40\42" . $source_addr . "\42\x20\55\152\x20\x4e\105\124\x4d\x41\x50\40\x2d\x2d\164\x6f\x20" . escapeshellarg($row[0] . "\57" . $client_adressbits) . "\xa"); goto paNYQ; YoQHd: fputs($handle_disconnect_script, "\x69\x70\x74\141\142\x6c\x65\x73\x20\55\104\40\106\117\x52\127\x41\x52\x44\40\55\144\40\x22" . $source_addr . "\42\x20\55\163\40" . escapeshellarg($vnbase . "\x2f" . $user_adressbits) . "\40\55\x6a\x20\x41\x43\103\105\120\124\12"); goto K79OT; DeTJn: fRZzc: goto jAJRo; R_tLM: $addon_connect = str_replace("\xd", '', $addon_connect); goto aiWPV; dVWPP: fputs($handle, "\x69\x72\x6f\x75\164\x65\x20" . escapeshellarg($vnet) . "\40" . netmask_convert($client_adressbits) . "\xa"); goto jiGv9; MjLdx: JR7Rc: goto ffe8X; nK8ob: $alias_name = $row[12]; goto N1FXm; Mwdxv: fflush($handle_connect_script); goto NS3f8; o1Pua: fputs($handle, "\160\165\163\x68\x20\42\162\145\x64\x69\162\145\143\164\x2d\x67\x61\164\x65\167\x61\171\40\x64\x65\146\61\42\xa"); goto waq1s; inUYT: fputs($handle_connect_script, "\x69\x70\x74\x61\x62\154\145\x73\40\x2d\101\x20\x46\117\x52\x57\101\x52\x44\40\55\163\40\42" . $source_addr . "\x22\x20\x2d\144\x20" . escapeshellarg($tempaddr) . "\40\55\x6a\x20\x41\x43\103\x45\120\x54\12"); goto TgUuS; ccPxo: goto o2Drc; goto VG7xS; kQ53G: goto xlmO1; goto yBOjw; JQAqZ: fputs($handle_disconnect_script, "\162\x6f\165\x74\x65\x20\x64\x65\x6c\x20\x2d\156\145\164\40" . escapeshellarg($ip) . "\x20\x6e\x65\x74\155\141\x73\153\40" . netmask_convert($client_adressbits) . "\x20\144\x65\166\40\x24\x33\xa"); goto zy7pG; r0d5h: $ip = $row[0]; goto M86kf; rZrqG: fputs($handle_disconnect_script, "\151\x70\164\x61\142\x6c\145\163\x20\55\104\x20\106\x4f\122\x57\101\x52\x44\x20\55\x64\40\x22" . $source_addr . "\42\x20\x2d\x73\40" . escapeshellarg($tempaddr) . "\40\x2d\x6a\x20\101\103\x43\105\120\124\12"); goto cGrmu; G3gZ5: $EnabledS7_array[$ena_s7_row[0]] = $ena_s7_row[0]; goto su_2W; abaqK: $source_addr = $vnet . "\x2f" . $client_adressbits; goto OWN0K; qwvhj: fputs($handle_connect_script, "\x69\160\164\141\x62\x6c\145\x73\40\55\101\40\106\x4f\122\x57\x41\x52\x44\x20\x2d\144\40\x22" . $source_addr . "\x22\40\x2d\163\40" . escapeshellarg($tempaddr) . "\40\x2d\x6a\40\101\x43\x43\x45\120\124\12"); goto gIGQc; FCGPG: fputs($handle_disconnect_script, "\151\x70\164\x61\142\154\145\163\x20\x2d\x44\x20\x46\117\x52\127\x41\x52\104\x20\x2d\x73\x20\44\62\x20\55\x64\x20" . escapeshellarg($row[1] . "\57" . $client_adressbits) . "\x20\55\x6a\40\101\103\103\x45\120\x54\12"); goto gEKRT; cGdio: fputs($handle_disconnect_script, "\151\160\164\x61\x62\x6c\145\x73\40\x2d\164\40\x6e\x61\x74\40\55\x44\x20\x50\x4f\x53\124\122\117\125\x54\x49\x4e\107\40\55\163\x20" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . "\40\x2d\157\x20" . EXTERNAL_IF . "\40\55\152\x20\x4d\101\123\x51\125\105\122\x41\104\105\xa"); goto zyieQ; AJlx9: dESYO: goto ebE8z; yGV5D: RvW9a: goto mJRRJ; xCAxk: $server_adressbits = $row[3]; goto uKzRj; BSYXe: fputs($handle_disconnect_script, "\x69\x70\x74\x61\x62\154\x65\x73\x20\55\x44\x20\106\117\122\127\101\x52\104\40\x2d\x64\x20\x22" . $source_addr . "\42\40\55\x73\x20" . escapeshellarg($server_vnbase . "\57" . $server_adressbits) . "\40\x2d\x6a\x20\x41\x43\103\105\x50\x54\xa"); goto WT6k_; UFmui: $handle = fopen(HOME_DIR . "\x2f\143\143\x64\57\x5f\x5f\x47\x52\x4f\x55\120\x5f\137" . $user . "\x5f\137\103\x4c\111\105\x4e\x54\137\x5f" . $name . STR_CERT_SUFFIX, "\167"); goto QqsQ8; uwFCI: fputs($handle_disconnect_script, "\x65\170\x69\164\x20\x30\xa"); goto CygSV; K0J0j: $paddr = $row[0]; goto xEOHq; YylXX: GA0gO: goto AJlx9; WnmOM: vnNQx: goto fwiBT; P0j_e: fputs($handle, "\x70\x75\x73\x68\40\42\x72\157\165\164\145\x20" . file_config_escape($server_vnbase) . "\40" . netmask_convert($server_adressbits) . "\42\12"); goto IBOKj; HIqQ2: aWjfs: goto FknHe; Vsrvp: fputs($handle_connect_script, "\162\x6f\x75\x74\x65\x20\x61\x64\144\40\55\x6e\145\x74\40" . escapeshellarg($temp[0] . "\56" . $temp[1] . "\56" . $temp[2] . "\x2e" . $ip) . "\40\156\145\164\x6d\x61\x73\x6b\40\x32\x35\65\56\62\65\65\x2e\62\65\65\56\62\65\65\40\x64\x65\166\x20\44\63\xa"); goto koV4r; VgBed: omhLm: goto zeMqa; Td5yu: if (strlen($row[0]) && strlen($row[1])) { goto Xwc3N; } goto jBZFN; PTk1K: if (!(JABBER_MESSAGES && $option_jabber_disconn_new != 0 && strlen($option_jabber_recipient) != 0)) { goto M6gsQ; } goto n60ZV; a6HRo: $source_addr = $ip . "\57" . $client_adressbits; goto x6AnL; TmOYv: if ($teleworker == 0) { goto Qez8w; } goto NgKjp; Z_4K8: fputs($handle, "\151\x66\x63\157\156\146\x69\147\55\160\x75\163\x68\x20" . $alt_addr_ovpn . "\x20" . int2addr(addr2int($alt_addr_ovpn) + 1) . "\xa"); goto Oqm2N; KWjvl: txEVa: goto vmzIb; rsrP1: fputs($handle_disconnect_script, "\x72\x6f\165\164\x65\40\144\x65\x6c\x20\55\x6e\145\x74\x20" . escapeshellarg($vnet) . "\40\156\x65\164\155\x61\x73\153\x20" . netmask_convert($client_adressbits) . "\x20\x64\145\166\40\x24\63\12"); goto WZh5k; HK38X: if (!($option_GROUP_ACCESS == 1)) { goto gYXGy; } goto MvD0l; ZaIdA: fputs($handle, "\151\162\x6f\165\164\x65\x20" . file_config_escape($vnet) . "\40" . netmask_convert($client_adressbits) . "\12"); goto abaqK; KDqdV: fputs($handle_disconnect_script, "\151\x70\x74\141\x62\x6c\145\163\x20\x2d\104\40\x49\116\x50\x55\x54\x20\55\x70\x20\x75\144\160\40\x2d\x73\40\42" . $source_addr . "\x22\40\x2d\x2d\144\160\157\x72\164\40\x35\63\x20\x2d\152\40\101\x43\x43\105\120\x54\xa"); goto oLK8t; g2U_t: pbNw6: goto mC7SJ; P27hd: fputs($handle_connect_script, "\151\x70\x74\x61\142\x6c\x65\x73\x20\x2d\x74\x20\x6e\x61\164\x20\x2d\x41\x20\120\x4f\123\124\122\117\x55\124\111\116\x47\x20\55\163\x20" . escapeshellarg($row[1] . "\57" . $client_adressbits) . "\40\x2d\x64\40\42" . $source_addr . "\42\40\x2d\152\40\x4e\105\124\x4d\x41\120\40\x2d\55\x74\157\x20" . escapeshellarg($row[0] . "\x2f" . $client_adressbits) . "\xa"); goto RndL4; tliKo: $alt_addr_ovpn = ''; goto yC5Av; X8HEq: fputs($handle, "\x70\x75\x73\150\x20\42\162\x65\144\x69\x72\x65\143\164\55\x67\x61\x74\145\167\141\171\40\144\x65\x66\x31\x20\x62\171\160\x61\x73\x73\55\144\x6e\163\42\xa"); goto ptbEH; x6AnL: fputs($handle_connect_script, "\162\157\x75\164\145\x20\x61\144\x64\40\x2d\x6e\x65\164\x20" . escapeshellarg($ip) . "\40\156\145\164\155\141\x73\x6b\40" . netmask_convert($client_adressbits) . "\x20\144\x65\x76\x20\44\x33\12"); goto JQAqZ; j4jX_: fputs($handle_disconnect_script, "\151\160\x74\141\142\154\145\163\x20\55\104\x20\106\x4f\x52\127\101\122\104\40\55\x73\x20\42" . $source_addr . "\x22\40\x2d\x64\x20" . escapeshellarg($vnbase . "\57" . $user_adressbits) . "\40\x2d\152\x20\x41\103\x43\105\x50\x54\xa"); goto YoQHd; Y7LtF: $accoutstatus = $row[19]; goto aLq65; oIiYF: fputs($handle_connect_script, "\151\160\x74\x61\x62\x6c\x65\163\x20\55\101\x20\x46\x4f\x52\x57\101\122\x44\x20\55\163\x20\42" . $source_addr . "\x22\40\55\144\40" . escapeshellarg($vnbase . "\57" . $user_adressbits) . "\40\55\152\40\101\103\103\105\120\124\xa"); goto tq1uN; vpbQU: $addon_disconnect_rw = str_replace("\xd", '', $addon_disconnect_rw); goto GCNWW; DP1Hu: E2xq4: goto IIwUh; JeJtP: $addon_disconnect = $row[8]; goto Dmku0; S04ou: goto qE6kB; goto MIK50; tbe0J: fputs($handle_connect_script, "\x69\x70\x74\x61\x62\x6c\x65\x73\x20\55\x41\x20\x46\117\x52\127\x41\x52\x44\x20\55\163\x20\42" . $source_addr . "\42\x20\55\x64\40" . escapeshellarg($tempaddr) . "\40\x2d\152\40\x41\103\103\105\x50\124\xa"); goto qwvhj; oLK8t: fputs($handle_connect_script, "\x69\160\x74\x61\142\x6c\145\x73\40\55\101\40\117\x55\124\x50\x55\x54\40\x2d\x70\40\165\x64\x70\40\55\x64\40\42" . $source_addr . "\x22\40\55\55\163\160\x6f\162\164\40\x35\63\40\55\152\40\x41\103\103\x45\x50\x54\xa"); goto AucR9; nvnu5: if (!(DC_DNS_ENABLED && $teleworker != 0)) { goto Bd6KJ; } goto T4PA7; AyGyu: $vnbase = $row_user[0]; goto VKn5h; N1FXm: $webdirecthash = $row[13]; goto CeJNz; Zph42: fputs($handle_disconnect_script, "\151\x70\164\x61\142\x6c\145\x73\40\55\104\40\106\117\x52\x57\101\122\104\x20\x2d\x64\40\44\62\x20\55\x69\40" . EXTERNAL_IF . "\40\55\x6a\x20\101\103\x43\105\x50\x54\xa"); goto mzh2f; XdMvJ: $option_VPN_RD_GW = $row[4]; goto Y2Ka9; lsLA7: fputs($handle_connect_script, "\x69\160\164\x61\x62\x6c\145\x73\40\x2d\x41\x20\x49\116\x50\x55\x54\x20\55\163\40\x24\x32\x20\x2d\x64\x20" . escapeshellarg($temp[0] . "\56" . $temp[1] . "\x2e" . $temp[2] . "\56\61") . "\40\x2d\x70\40\151\x63\155\x70\40\x2d\x2d\x69\x63\155\x70\x2d\164\x79\x70\145\x20\x38\x20\55\x6a\x20\x41\x43\x43\105\x50\124\12"); goto T2_9B; dGy0N: qrPPl: goto V2BQW; uc3zU: } goto HfZbR; dPflV: function real_addr_2_vpn_addr($vnet, $realaddr, $netmask) { goto vOpyj; A_Hiu: $i++; goto m8kzQ; wV7I7: $i = 0; goto GFNRR; x3ZvV: $m = 4294967295.0; goto DcJax; m8kzQ: goto DkzmY; goto CC7hi; E11l1: goto Z4xb4; goto zx66f; ChsKO: $i = 0; goto x3ZvV; vOpyj: $vnet_int = addr2int($vnet); goto vT_EH; zx66f: zuouy: goto M_sH8; Wq6jW: Z4xb4: goto CRYZh; u1zYl: if (!($i < $netmask)) { goto sib1A; } goto qNtzG; EzZ2P: $m &= 2147483647; goto seiJP; CC7hi: sib1A: goto puOTV; nJ19j: $m >>= 1; goto CpP74; XoJcf: $i++; goto E11l1; vT_EH: $realaddr_int = addr2int($realaddr); goto wV7I7; zbYCl: return int2addr($vnet_int | $realaddr_int); goto yx10y; GFNRR: $m = 0; goto Wq6jW; CpP74: $m |= 2147483648.0; goto bn705; CRYZh: if (!($i < $netmask)) { goto zuouy; } goto nJ19j; seiJP: qIbDH: goto A_Hiu; qNtzG: $m >>= 1; goto EzZ2P; bn705: Zu5RO: goto XoJcf; M_sH8: $vnet_int = $vnet_int & $m; goto ChsKO; puOTV: $realaddr_int = $realaddr_int & $m; goto zbYCl; DcJax: DkzmY: goto u1zYl; yx10y: } goto mv2ZI; JdPxQ: function tstris($rfn, $schl) { goto BPed3; vZtcT: if (!file_exists($rfn)) { goto nVcac; } goto YX7MU; h7HQZ: if (!strlen($schl)) { goto p6Jj_; } goto SH5CD; BPed3: $bf = b1 . b5 . b4 . b6 . b4 . b2 . b8 . b5; goto R0mB8; R0mB8: $slz = b2 . b3 . b5 . b7; goto gx0A6; YX7MU: $rf = file_get_contents($rfn); goto x6HNY; UrGVE: EjmRB: goto Jt_cM; t1EsH: foreach ($mount as $lines) { goto kHVh_; kHVh_: if (!strstr($lines, "\57\x20")) { goto WAC8B; } goto AH5nN; vbty7: WAC8B: goto IglYq; IglYq: sWZM6: goto s2UBc; TYI5R: foreach ($blkid as $lines) { goto Wbu5D; Wbu5D: if (!strstr($lines, $l[0])) { goto xFaLx; } goto Qfjvf; hKbkp: $blkid = $l[1]; goto uO7y9; n102J: xFaLx: goto LvJi0; uO7y9: goto SLB9P; goto n102J; Qfjvf: $l = explode("\42", $lines); goto hKbkp; LvJi0: tcEQJ: goto vVrHY; vVrHY: } goto d3RAj; d3RAj: SLB9P: goto vbty7; PYJzT: $blkid = array(); goto JvGnz; JvGnz: exec("\x73\x75\x64\x6f\x20\57\x73\x62\x69\x6e\x2f\x62\154\x6b\151\x64\40" . $l[0], $blkid); goto TYI5R; AH5nN: $l = explode("\x20", $lines); goto PYJzT; s2UBc: } goto QM1BG; SAeeG: exec("\x73\165\144\157\40\57\163\x62\151\x6e\x2f\x66\144\x69\x73\153\x20\x2d\x6c", $fdisk); goto WwJrt; HUj_i: return $ret; goto tIMSv; vOZUY: vczxC: goto xKFE6; Jt_cM: $r = md5("\x61\x6a\150\x65\x62\151\145\67\70\x35\x36\150\x67\163\144" . $blkid . "\144\x62\152\71\63\x39\x64\152\144\71\71\x33" . $blkid . "\153\x6c\152\x63\142\151\x65\144\145\x68\x64\153"); goto vZtcT; JYdGc: $blkid = ''; goto rB31I; ejpD2: xIc1F: goto EKT4R; gx0A6: $ret = false; goto JYdGc; RT_py: nVcac: goto HUj_i; EKT4R: p6Jj_: goto RT_py; x6HNY: $rf = $r . $bf . $rf . $slz . $r; goto h7HQZ; xKFE6: if (!(strlen($blkid) < 1)) { goto EjmRB; } goto diatL; WwJrt: foreach ($fdisk as $lines) { goto wCjCi; iX7ai: exec("\x73\x75\144\x6f\40\x2f\x73\x62\x69\x6e\x2f\142\x6c\153\151\144\x20" . $l[0], $blkid); goto CKgiN; CKgiN: foreach ($blkid as $lines) { goto TOp5c; b97wt: FagY6: goto OAD8r; VdvYO: cerQd: goto b97wt; FqTCP: $blkid = $l[1]; goto hadyd; hadyd: goto NebcR; goto VdvYO; Fpm_o: $l = explode("\42", $lines); goto FqTCP; TOp5c: if (!strstr($lines, $l[0])) { goto cerQd; } goto Fpm_o; OAD8r: } goto ztrIq; n6MRv: $blkid = array(); goto iX7ai; wCjCi: if (!(strstr($lines, "\x4c\151\x6e\165\170") && !strstr($lines, "\163\167\x61\160"))) { goto KpbFs; } goto RtTOf; RtTOf: $l = explode("\x20", $lines); goto n6MRv; xQxDr: su88z: goto d_S41; Zq3YE: KpbFs: goto xQxDr; ztrIq: NebcR: goto Zq3YE; d_S41: } goto vOZUY; rB31I: $fdisk = array(); goto SAeeG; gDBEn: $ret = true; goto ejpD2; SH5CD: if (!(strcmp(md5($rf), $schl) == 0)) { goto xIc1F; } goto gDBEn; yXB6J: exec("\x73\165\144\157\x20\x2f\142\x69\x6e\57\155\x6f\x75\156\164", $mount); goto t1EsH; QM1BG: wtjZQ: goto UrGVE; diatL: $mount = array(); goto yXB6J; tIMSv: } goto Eal49; v3Efr: function write_teleworker_config($name, $user, $ConfigFileName, $inline_config = false, $clientmode = "\x72\x77") { goto h13ht; aS0d9: $getname_new = ''; goto Qi3pr; h_Y1T: if ($inline_config) { goto DpGir; } goto BtDMh; AlIU8: if (!(NETWORK_PC_CLIENTS_NETMAP === true)) { goto K2Wsg; } goto fnKIU; Wb5mI: fputs($handle, file_get_contents(RSA_DIR . "\x2f\x6b\145\x79\x73\x2f\164\141\56\153\x65\x79")); goto bc9kW; DNS29: $vnet = ''; goto mssEq; d6gRx: eE6Fk: goto ebOcq; FbWjx: ZgTf5: goto V85Hi; UU9PR: $pport_tcp = 1194; goto Lwuv7; pgSF7: fclose($handle_browser_bat); goto dnp0w; UZz1O: $getname_new = $row[1]; goto KojYm; rkTXT: fflush($handle); goto LqVHV; nFQtz: $zertarray1 = explode("\x2d\x2d\55\55\55\x42\105\x47\111\116\40\103\x45\122\x54\111\x46\x49\x43\x41\x54\x45\x2d\55\55\x2d\x2d", file_get_contents(RSA_DIR . "\x2f\x6b\145\171\163\x2f\x5f\137\107\122\x4f\x55\120\x5f\x5f" . $user . "\x5f\x5f\x43\x4c\x49\x45\116\124\x5f\x5f" . $getname_new . STR_CERT_SUFFIX . "\56\x63\162\164")); goto a1UvE; FMZlC: goto KkAfU; goto jf6Pc; tY2ni: fclose($handle); goto Mh1Y7; tx2tp: $alias_name = ''; goto xs9vg; wcluy: fputs($handle, "\143\x65\162\164\x20\42" . file_config_escape($alias_name . "\56\x63\162\x74") . "\42\xa"); goto JgL66; QC554: goto m2pY7; goto gXUte; U3E2e: $httpproxyuser = ''; goto E_fTG; Cg6dw: fputs($handle, "\x66\154\157\x61\x74\xa"); goto ibThm; o1VGP: fputs($handle, "\x3c\57\x63\x61\x3e\xa"); goto iTfub; qnEgl: uvHq5: goto b7twB; UrQkY: fclose($handle); goto Ufwz0; jBysf: $httpproxyuser = $row[7]; goto ASjvK; JoV_5: if (!($clientmode == "\x70\x63" && NETWORK_PC_CLIENTS_NETMAP === true)) { goto zTjSH; } goto mqS3U; g6giN: goto a0st3; goto HWTfF; j53tY: $httpproxyport = $row[6]; goto jBysf; m1Kpz: qT8KH: goto tOE7c; vs7vg: if (!USE_TLS_AUTH) { goto NJOj3; } goto MUxFA; s9fK1: if (!OPENVPN_COMP_LZO) { goto SeLIo; } goto DvKmw; ibThm: fputs($handle, "\156\157\x62\151\156\144\12"); goto meipL; wj4rg: fputs($handle, "\153\145\x65\160\x61\154\x69\x76\x65\40\x35\x30\60\x20\x31\x32\60\60\xa"); goto gVElC; xs9vg: $protocol = "\165\144\160"; goto aS0d9; hsBwX: fclose($handle); goto IGUor; j2Xkz: fputs($handle, "\43\40\143\x61\40\x5b\151\x6e\154\151\156\x65\x5d\12"); goto U3Yf5; lhVSX: $addon_config_rw = $row[9]; goto XEIET; Mkfdq: if (!($handle_proxy_auth = fopen(HOME_DIR . "\57\x74\x6d\x70\x2f" . $alias_name . "\56\141\165\164\150", "\167"))) { goto uZFi1; } goto mkDrs; CjMz_: if (!($handle = fopen(HOME_DIR . "\x2f\164\x6d\x70\57" . $alias_name . "\56\x6f\166\x70\x6e", "\141"))) { goto xCGrW; } goto fO7d5; egMXq: $pport = $row[0]; goto xb9lN; LqVHV: fclose($handle); goto BoM64; MU2e2: if (!USE_TLS_AUTH) { goto E6iNW; } goto YqUBE; mZcbp: fputs($handle, file_get_contents(RSA_DIR . "\x2f\x6b\145\171\x73\x2f\x74\141\56\153\x65\x79")); goto agby5; jS4ab: fflush($handle); goto cYnT_; GsGpm: if (!file_exists(RSA_DIR . "\x2f\x6b\x65\x79\x73\57\x74\141\x2e\x6b\145\x79")) { goto i84TY; } goto h_Y1T; IQDYe: rxnht: goto yzWcb; QXSkY: fflush($handle); goto tY2ni; U3Yf5: fputs($handle, "\x23\x20\143\145\x72\164\40\x5b\x69\x6e\x6c\151\x6e\x65\135\12"); goto dED_H; wzTzn: KkAfU: goto Z0hyB; Ykfel: fflush($handle); goto UrQkY; t2LOO: $httpproxy = ''; goto SURY0; mssEq: $option_vpnstrict = 1; goto lcSaO; uNBrN: fputs($handle, file_get_contents(RSA_DIR . "\x2f\x6b\x65\x79\163\57\137\137\x47\x52\x4f\x55\x50\137\x5f" . $user . "\x5f\x5f\x43\x4c\x49\105\x4e\x54\137\x5f" . $getname_new . STR_CERT_SUFFIX . "\x2e\x6b\145\171")); goto opQEX; dosfc: irPh6: goto xNEN_; HWTfF: RJJ04: goto srXOu; iWQXL: fputs($handle, "\43\x21\57\x62\x69\x6e\x2f\163\x68\12\12"); goto wsmri; ebOcq: $config_filename = HOME_DIR . "\x2f\164\x6d\160\57" . $alias_name . "\x2e\x63\x6f\156\x66"; goto lvIi7; nVNas: fputs($handle_proxy_auth, $httpproxypass . "\xa"); goto EoWXF; ntwT8: jGa9d: goto cQp0U; AyttP: $pport = 1194; goto KKJNo; jf6Pc: YRNW1: goto CjMz_; UQa1Q: a0st3: goto rpvR1; VncZd: fputs($handle, "\x72\145\163\157\154\x76\x2d\162\x65\x74\x72\x79\x20\x69\x6e\146\151\156\x69\164\x65\12"); goto r8HEv; BoM64: LrB9r: goto Oi7mG; a1UvE: if ($inline_config) { goto YRNW1; } goto EoAh_; h7B9J: if (!($handle = fopen(HOME_DIR . "\x2f\x74\x6d\160\57" . $alias_name . "\x2e\x6b\145\171", "\x77"))) { goto irPh6; } goto uNBrN; KKJNo: if (!($row = Db::QueryFetch("\123\x45\114\105\x43\x54\40\42\120\165\142\154\x69\x63\101\144\x64\x72\42\54\40\x22\120\x75\142\154\x69\143\120\x6f\x72\x74\42\54\x20\42\120\165\x62\154\151\x63\x50\x6f\162\164\137\x74\x63\160\42\x20\x46\x52\x4f\115\x20\42\160\x75\x62\x6c\x69\143\42\56\x22\116\x65\x74\167\157\x72\x6b\x22"))) { goto wyDUK; } goto vpFLZ; ASjvK: $httpproxypass = $row[8]; goto lhVSX; DvKmw: fputs($handle, "\x63\x6f\x6d\160\55\154\172\157\12"); goto mBQIX; wwvsd: if (!($row = Db::QueryFetch("\123\x45\114\x45\x43\124\x20\42\120\x75\x62\x6c\151\143\120\x6f\162\x74\42\54\40\42\120\165\142\154\x69\143\x50\157\162\x74\137\164\143\160\42\x2c\40\x22\120\x75\x62\x6c\151\x63\x41\144\x64\162\42\x2c\x20\42\x43\114\111\105\116\124\x5f\101\x44\122\105\x53\123\x42\x49\x54\123\x22\x20\x46\x52\117\x4d\x20\42\x70\165\x62\x6c\x69\x63\42\56\x22\x4e\x65\164\167\157\162\x6b\42"))) { goto xpDwd; } goto egMXq; mBQIX: SeLIo: goto VncZd; q4GrK: fputs($handle, "\xa" . $addon_config_rw . "\12"); goto QXSkY; uaqBQ: fclose($handle); goto o8Qr2; Jca3m: UfXuj: goto wj4rg; xb9lN: $pport_tcp = $row[1]; goto vwthF; dED_H: fputs($handle, "\43\x20\x6b\x65\171\x20\x5b\x69\x6e\154\151\x6e\145\135\12"); goto MU2e2; u6Feo: $addon_config_rw = ''; goto tx2tp; tivft: goto HclUy; goto Jca3m; XGyqQ: fclose($handle); goto AK7yK; PM9IK: fclose($handle); goto FxdCv; QaN_4: DpGir: goto RKon8; kixq0: jaNXx: goto ez579; b_4D3: fputs($handle, "\43\41\57\x62\151\x6e\57\x73\x68\12\xa"); goto bFWGk; wJmdW: fputs($handle, "\xa\145\170\151\164\x20\x30\12"); goto DCf6X; VkPUS: fputs($handle, "\162\157\165\x74\145\55\165\x70\40\x22\x62\x72\157\167\x73\x65\x72\56\x62\x61\164\42\12"); goto cI1Ba; IIbNQ: fflush($handle); goto uaqBQ; o28L4: goto jaNXx; goto R1QhV; d0Jjb: fclose($handle_proxy_auth); goto gHpz6; X1IJY: if (!($row = Db::QueryFetch("\x53\x45\x4c\105\103\x54\x20\x9\x22\x49\120\x22\54\xa\11\11\x9\11\x9\42\x4e\101\x4d\105\x22\54\12\x9\x9\x9\x9\x9\42\126\x69\162\x74\165\141\154\116\x65\164\167\x6f\x72\153\42\x2c\x20\xa\11\x9\x9\x9\11\x22\117\x50\x54\x49\x4f\116\137\126\x50\116\x53\x54\122\x49\103\124\x22\54\40\12\x9\11\x9\11\11\42\x4f\x50\x54\111\117\116\137\x4d\x41\x53\121\x55\x45\122\101\x44\105\x22\x2c\40\12\11\x9\11\x9\x9\x22\x48\124\124\x50\120\162\x6f\170\x79\x22\x2c\xa\11\11\11\11\x9\42\110\x54\124\120\120\162\x6f\170\171\x50\x6f\162\x74\x22\x2c\12\x9\11\x9\11\x9\x22\x48\124\124\x50\x50\162\x6f\170\171\125\163\x65\x72\42\x2c\xa\x9\x9\x9\x9\11\42\110\124\124\x50\120\162\x6f\x78\x79\x50\141\x73\x73\x22\54\x20\12\x9\11\11\x9\x9\42\x41\x44\x44\x4f\x4e\x5f\103\117\x4e\x46\111\x47\137\x52\x57\42\x2c\xa\x9\x9\x9\x9\11\x22\x41\114\111\x41\123\x5f\116\101\x4d\x45\x22\x2c\12\x9\x9\11\x9\x9\42\120\162\157\164\157\x63\157\x6c\42\40\40\x46\122\x4f\115\40\x22\x70\165\x62\154\151\x63\x22\56\x22\122\x65\155\157\164\145\x4e\145\164\x77\157\x72\x6b\x73\x22\x20\127\110\105\x52\105\40\50\40\x22\124\x65\x6c\x65\x77\x6f\162\x6b\x65\162\42\40\x21\75\40\60\40\101\116\104\x20\x22\116\x41\115\105\x22\40\75\40\47" . Db::Escape($name) . "\47\40\x41\x4e\x44\40\x22\125\123\x45\x52\x22\40\x3d\40\x27" . Db::Escape($user) . "\x27\x20\x29"))) { goto Qgduf; } goto T6F1X; vpFLZ: $paddr = $row[0]; goto bTFq3; y9wzM: goto VzaEC; goto gqLv5; Qi3pr: $pport = 1194; goto UU9PR; zuNqT: fputs($handle, "\150\x74\164\160\x2d\x70\x72\157\x78\x79\40" . file_config_escape($httpproxy . "\x20" . $httpproxyport) . "\12"); goto o28L4; rpvR1: IlirY: goto swbcl; uVoAi: fputs($handle, "\xa\74\164\x6c\x73\55\141\x75\x74\x68\x3e\xa"); goto Wb5mI; o8Qr2: sz0Uf: goto FMZlC; RKon8: if (!($handle = fopen(HOME_DIR . "\x2f\x74\155\160\57" . $alias_name . "\56\x6f\x76\x70\156", "\141"))) { goto Oooau; } goto uVoAi; DdW3Z: if ($inline_config) { goto RJJ04; } goto pPymv; DCf6X: fflush($handle); goto mDxNg; MUxFA: fputs($handle, "\164\x6c\163\55\x61\165\164\150\x20\42" . file_config_escape($alias_name . "\x5f\164\141\x2e\x6b\145\171") . "\42\x20\61\12"); goto HS7bW; JgL66: fputs($handle, "\153\145\171\40\x22" . file_config_escape($alias_name . "\x2e\153\145\x79") . "\42\xa"); goto vs7vg; EhpIj: fflush($handle_browser_bat); goto pgSF7; x_Vax: m2pY7: goto Cg6dw; Lwuv7: $paddr = ''; goto bhK1H; EoAh_: if (!($handle = fopen(HOME_DIR . "\57\x74\155\x70\57" . $alias_name . "\56\x63\162\x74", "\x77"))) { goto sz0Uf; } goto zrjDj; CD0Gb: fputs($handle, "\xa\74\153\145\171\76\xa"); goto F8ELu; mJEAI: fputs($handle, "\x3c\x2f\153\145\x79\x3e\12"); goto rkTXT; jU5SA: dXdGQ: goto MI75Y; bHVwR: ltISf: goto g6giN; P62RS: if (!(!$inline_config && STARTBROWSER_IN_CONFIG)) { goto WrAaG; } goto v5zOX; rgK9H: fputs($handle, "\x69\160\x74\141\142\x6c\145\163\x20\55\x74\x20\x6e\x61\x74\40\55\x44\40\120\x4f\123\124\122\117\125\x54\111\116\107\40\55\163\40" . escapeshellarg($ip . "\57" . $client_adressbits) . $otunx . "\x20\55\x6a\40\x4e\x45\x54\115\101\120\40\55\x2d\164\x6f\40" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . "\12"); goto BNlP8; bmyaS: E6iNW: goto x_Vax; PEFsI: $config_filename = HOME_DIR . "\x2f\164\155\x70\57" . $alias_name . "\x2e\157\166\x70\x6e"; goto qXsx9; mEk6d: $option_masquerade = $row[4]; goto Zj_Gs; MI75Y: K2Wsg: goto FbWjx; oXoRw: fputs($handle, "\x69\160\164\x61\x62\154\145\163\x20\x2d\x74\x20\156\x61\x74\40\55\111\x20\x50\122\105\x52\x4f\x55\x54\x49\116\x47\40\x2d\144\40" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . $itunx . "\x20\55\152\40\116\x45\124\115\x41\x50\x20\x2d\x2d\x74\157\x20" . escapeshellarg($ip . "\x2f" . $client_adressbits) . "\12"); goto rgK9H; KKsNV: zTjSH: goto TLuPK; UcLtZ: if (!($handle = fopen($config_filename, "\167"))) { goto JldtM; } goto UczmS; ofAhh: if (!file_exists(RSA_DIR . "\x2f\x6b\145\171\163\x2f\143\141\56\143\162\164")) { goto IlirY; } goto DdW3Z; gqLv5: JU5Sp: goto r3xxw; yzWcb: if (!($handle = fopen(HOME_DIR . "\x2f\x74\155\x70\x2f\x64\x6f\x77\x6e\x2e\163\x68", "\167"))) { goto dXdGQ; } goto b_4D3; i9aYS: fputs($handle, "\x64\x65\166\40\164\x75\156\12"); goto rjGri; IGUor: xCGrW: goto wzTzn; H74pN: $option_vpnstrict = $row[3]; goto mEk6d; AK7yK: Oooau: goto Q28ZV; TLuPK: if ($inline_config) { goto eRi4F; } goto M3SFV; X9bed: fflush($handle); goto hsBwX; XEpHj: fputs($handle, file_get_contents(RSA_DIR . "\x2f\153\145\x79\x73\57\143\x61\x2e\143\x72\x74")); goto o1VGP; cI1Ba: if (!($handle_browser_bat = fopen(HOME_DIR . "\x2f\164\x6d\160\x2f\142\x72\157\x77\x73\145\162\x2e\x62\x61\x74", "\x77"))) { goto oRiYT; } goto WEoXM; zrjDj: fputs($handle, "\x2d\x2d\x2d\x2d\x2d\x42\105\x47\111\116\x20\103\105\x52\124\x49\106\x49\103\101\x54\105\55\55\x2d\55\x2d" . $zertarray1[1]); goto IIbNQ; ovTal: if (!($clientmode = "\x70\x63")) { goto ZgTf5; } goto AlIU8; HS7bW: NJOj3: goto QC554; Zj_Gs: $httpproxy = $row[5]; goto j53tY; Ec3kU: wyDUK: goto BoaVL; UVX3J: iokp2: goto jFpBk; Ot1d4: $protocol = $row[11]; goto z1i3E; fNVgr: fputs($handle, "\x2d\x2d\x2d\55\x2d\x42\x45\107\x49\x4e\40\103\x45\122\124\x49\106\x49\x43\101\x54\105\x2d\55\55\55\55" . $zertarray1[1]); goto cSVR7; mDxNg: fclose($handle); goto fiLRh; iTfub: fflush($handle); goto PM9IK; F8ELu: fputs($handle, file_get_contents(RSA_DIR . "\x2f\x6b\145\171\163\57\137\x5f\107\x52\117\125\x50\x5f\137" . $user . "\137\x5f\x43\114\x49\105\116\124\x5f\x5f" . $getname_new . STR_CERT_SUFFIX . "\56\x6b\x65\x79")); goto mJEAI; M3SFV: fputs($handle, "\143\141\40\42" . file_config_escape($alias_name . "\x5f\x63\x61\x2e\x63\162\164") . "\x22\12"); goto wcluy; BNlP8: fputs($handle, "\151\x70\164\x61\x62\x6c\145\x73\x20\55\x74\40\156\141\x74\40\55\x49\40\x50\x4f\123\124\122\x4f\125\124\111\116\107\40\x2d\163\40" . escapeshellarg($ip . "\57" . $client_adressbits) . $otunx . "\x20\x2d\x6a\40\x4e\105\124\115\101\120\40\55\x2d\x74\x6f\x20" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . "\12"); goto aVv5Q; XEIET: $alias_name = utf8_decode($row[10]); goto Ot1d4; lvIi7: tpMue: goto UcLtZ; WEoXM: fputs($handle_browser_bat, "\x73\x74\x61\x72\x74\40\57\x42\40\150\x74\164\160\163\x3a\57\x2f" . SERVER_NET_BASE . "\56\x30\x2e\x31\xd\12"); goto EhpIj; ZXSl_: $client_adressbits = $row[3]; goto DVso1; FxdCv: EwfEy: goto UQa1Q; R9Dbh: fputs($handle, "\144\x6f\x77\156\40\56\x2f\144\x6f\x77\x6e\56\163\x68\xa"); goto KKsNV; r3xxw: exec(HOME_DIR . "\57\x73\141\x76\x65\137\x74\x77\56\x73\150\x20" . escapeshellarg(HOME_DIR . "\x2f\143\146\147\57\x5f\x5f\x47\122\x4f\125\x50\x5f\137" . $user . "\137\137\x43\x4c\111\x45\x4e\x54\137\x5f" . $getname_new . "\x2e\157\166\x70\x6e") . "\x20" . HOME_DIR . "\57\164\155\160\x20\156\157\x7a\x69\x70"); goto rH5In; mkDrs: fputs($handle_proxy_auth, $httpproxyuser . "\12"); goto nVNas; bc9kW: fputs($handle, "\x3c\x2f\x74\154\x73\55\141\x75\x74\150\76\12"); goto AK9uv; fiLRh: system("\143\x68\155\157\144\x20\67\x35\x35\x20" . HOME_DIR . "\57\164\x6d\x70\57\144\x6f\167\156\56\163\x68"); goto jU5SA; EoWXF: fputs($handle, "\x68\164\x74\x70\55\160\x72\x6f\x78\x79\x20" . file_config_escape($httpproxy . "\40" . $httpproxyport . "\40" . $alias_name . "\x2e\x61\x75\x74\x68") . "\x20\156\x74\x6c\155\xa"); goto It7Ly; ScnLF: if (!(strlen(OPENVPN_CIPHER) > 0)) { goto vwO3H; } goto FZYlK; b7twB: goto fAdK4; goto QaN_4; Mh1Y7: JldtM: goto ofAhh; V85Hi: exec(HOME_DIR . "\x2f\163\x61\166\145\137\164\167\x2e\x73\x68\x20" . escapeshellarg(HOME_DIR . "\x2f\x63\x66\x67\57\137\x5f\x47\x52\117\125\x50\137\137" . $user . "\137\x5f\103\114\111\105\116\x54\x5f\x5f" . $getname_new . "\x2e\x7a\x69\160") . "\40" . HOME_DIR . "\57\164\155\x70\40\x7a\151\x70"); goto y9wzM; v5zOX: fputs($handle, "\x73\143\162\151\x70\164\55\x73\x65\143\165\x72\x69\164\171\40\62\xa"); goto VkPUS; Oi7mG: Rgeyk: goto Oamw5; xNEN_: goto Rgeyk; goto ntwT8; brvkF: fclose($handle); goto dosfc; r2AWk: vwO3H: goto P62RS; Jezb2: WrAaG: goto w6ITB; jFpBk: if (!file_exists(RSA_DIR . "\57\x6b\145\171\x73\57\x5f\x5f\x47\122\x4f\125\x50\137\137" . $user . "\137\x5f\103\x4c\x49\105\x4e\124\x5f\x5f" . $getname_new . STR_CERT_SUFFIX . "\x2e\143\x72\164")) { goto z8QEN; } goto nFQtz; rH5In: VzaEC: goto IlOvg; uNXfT: if (strlen($httpproxyuser) > 0 && strlen($httpproxypass) > 0) { goto H8sKY; } goto zuNqT; BoaVL: fputs($handle, "\x63\x6c\x69\x65\156\164\12"); goto i9aYS; Ufwz0: system("\x63\x68\x6d\157\144\40\x37\65\65\x20" . HOME_DIR . "\x2f\x74\155\x70\x2f\x72\x6f\x75\x74\145\x5f\165\x70\x2e\163\x68"); goto IQDYe; hpVCT: fclose($handle); goto qnEgl; cSVR7: fputs($handle, "\74\x2f\x63\x65\162\164\x3e\12"); goto X9bed; gHpz6: uZFi1: goto kixq0; Z0hyB: z8QEN: goto fNq_3; It7Ly: fflush($handle_proxy_auth); goto d0Jjb; bhK1H: $client_adressbits = 24; goto wwvsd; mqS3U: fputs($handle, "\162\157\x75\x74\x65\x2d\165\x70\x20\56\57\162\x6f\165\164\x65\137\165\x70\x2e\163\150\xa"); goto R9Dbh; o6eG5: if ($inline_config) { goto jGa9d; } goto h7B9J; KojYm: $vnet = $row[2]; goto H74pN; z1i3E: Qgduf: goto WMcsr; YqUBE: fputs($handle, "\43\x20\164\x6c\163\55\141\x75\x74\150\x20\133\151\156\154\151\156\145\135\12\x6b\x65\171\x2d\144\x69\x72\145\143\x74\151\x6f\156\x20\x31\12"); goto bmyaS; Q28ZV: fAdK4: goto WgofD; opQEX: fflush($handle); goto brvkF; gXUte: eRi4F: goto j2Xkz; qXsx9: goto tpMue; goto d6gRx; fNq_3: if (!file_exists(RSA_DIR . "\x2f\x6b\x65\x79\x73\57\137\x5f\107\122\x4f\125\120\x5f\x5f" . $user . "\137\137\x43\114\x49\105\116\124\x5f\x5f" . $getname_new . STR_CERT_SUFFIX . "\x2e\153\x65\x79")) { goto laOYk; } goto o6eG5; BtDMh: if (!($handle = fopen(HOME_DIR . "\57\x74\155\x70\57" . $alias_name . "\137\164\141\x2e\153\x65\x79", "\167"))) { goto uvHq5; } goto mZcbp; gVElC: HclUy: goto JoV_5; bFWGk: fputs($handle, "\151\x70\x74\x61\x62\x6c\x65\163\x20\x2d\164\x20\156\x61\x74\x20\55\104\40\x50\x52\105\122\x4f\125\124\x49\x4e\107\40\55\144\x20" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . $itunx . "\40\x2d\x6a\x20\x4e\105\x54\115\101\120\x20\x2d\x2d\x74\157\x20" . escapeshellarg($ip . "\57" . $client_adressbits) . "\xa"); goto HDBso; cYnT_: fclose($handle); goto bHVwR; vwthF: $paddr = $row[2]; goto ZXSl_; aVv5Q: fputs($handle, "\12\x65\170\151\164\40\60\xa"); goto Ykfel; R1QhV: H8sKY: goto Mkfdq; w6ITB: if (!(strlen($httpproxy) > 0 && strlen($httpproxyport) > 0)) { goto I7jOL; } goto uNXfT; lcSaO: $option_masquerade = 0; goto t2LOO; h13ht: $ip = DEF_IP; goto DNS29; fnKIU: if (!($handle = fopen(HOME_DIR . "\x2f\164\155\160\57\162\157\165\164\145\137\165\160\x2e\x73\x68", "\x77"))) { goto rxnht; } goto iWQXL; pPymv: if (!($handle = fopen(HOME_DIR . "\57\x74\155\160\x2f" . $alias_name . "\x5f\x63\141\56\143\x72\x74", "\167"))) { goto ltISf; } goto ebnd9; AK9uv: fflush($handle); goto XGyqQ; wsmri: fputs($handle, "\151\x70\164\141\142\x6c\145\163\40\55\164\40\x6e\141\164\x20\x2d\104\40\120\x52\x45\x52\117\125\x54\x49\x4e\x47\x20\55\144\x20" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . $itunx . "\40\55\152\x20\x4e\x45\x54\x4d\101\x50\40\x2d\55\164\157\x20" . escapeshellarg($ip . "\57" . $client_adressbits) . "\12"); goto oXoRw; tOE7c: dmWA6: goto s9fK1; srXOu: if (!($handle = fopen(HOME_DIR . "\x2f\x74\x6d\160\57" . $alias_name . "\56\x6f\x76\160\156", "\x61"))) { goto EwfEy; } goto zoeWn; SURY0: $httpproxyport = ''; goto U3E2e; ez579: I7jOL: goto q4GrK; fO7d5: fputs($handle, "\12\74\x63\145\x72\164\76\xa"); goto fNVgr; meipL: fputs($handle, "\x6e\x73\x2d\143\x65\162\164\55\164\x79\160\145\40\163\x65\x72\x76\145\162\xa"); goto ScnLF; LM8IM: if ($inline_config) { goto JU5Sp; } goto ovTal; WMcsr: if ($clientmode == "\x70\x63" && NETWORK_PC_CLIENTS_NETMAP === true) { goto eE6Fk; } goto PEFsI; WgofD: i84TY: goto UVX3J; vhXOO: fputs($handle, "\153\x65\145\160\141\154\151\166\145\40\65\x30\40\x31\65\x30\12"); goto tivft; UczmS: $paddr = ''; goto AyttP; HDBso: fputs($handle, "\151\160\164\141\x62\154\145\163\x20\55\x74\40\x6e\141\x74\x20\55\104\40\120\x4f\x53\x54\122\117\x55\x54\111\x4e\107\x20\55\163\x20" . escapeshellarg($ip . "\x2f" . $client_adressbits) . $otunx . "\40\x2d\152\40\x4e\105\x54\115\x41\x50\x20\x2d\x2d\x74\x6f\40" . escapeshellarg($vnet . "\x2f" . $client_adressbits) . "\12"); goto wJmdW; swbcl: if (!USE_TLS_AUTH) { goto iokp2; } goto GsGpm; E_fTG: $httpproxypass = ''; goto u6Feo; agby5: fflush($handle); goto hpVCT; cQp0U: if (!($handle = fopen(HOME_DIR . "\x2f\164\155\160\x2f" . $alias_name . "\56\x6f\x76\x70\x6e", "\141"))) { goto LrB9r; } goto CD0Gb; bTFq3: $pport = $row[1]; goto Ec3kU; DVso1: xpDwd: goto X1IJY; rjGri: switch ($protocol) { case "\164\x63\160": goto xdwS9; N9kAq: fputs($handle, "\x72\x65\155\x6f\x74\x65\40" . file_config_escape($paddr . "\40" . $pport_tcp) . "\12"); goto xl81i; xdwS9: fputs($handle, "\x70\x72\157\x74\157\x20\x74\143\160\12"); goto N9kAq; xl81i: goto dmWA6; goto cQAm5; cQAm5: default: goto Akc3T; fpQPU: fputs($handle, "\145\x78\160\154\x69\143\x69\164\55\x65\x78\151\x74\x2d\156\157\x74\151\x66\171\x20\61\12"); goto OVnXV; VpRaU: fputs($handle, "\x72\x65\155\x6f\x74\145\40" . file_config_escape($paddr . "\x20" . $pport) . "\xa"); goto fpQPU; Akc3T: fputs($handle, "\160\162\x6f\x74\x6f\40\165\144\x70\12"); goto VpRaU; OVnXV: goto dmWA6; goto G4Nrj; G4Nrj: } goto m1Kpz; r8HEv: if (OPENVPN_TCP_MIN_TRAFIC === true && $protocol != "\x74\143\x70") { goto UfXuj; } goto vhXOO; T6F1X: $ip = $row[0]; goto UZz1O; zoeWn: fputs($handle, "\12\x3c\143\141\x3e\xa"); goto XEpHj; dnp0w: oRiYT: goto Jezb2; ebnd9: fputs($handle, file_get_contents(RSA_DIR . "\x2f\x6b\145\x79\163\x2f\143\x61\56\x63\x72\164")); goto jS4ab; Oamw5: laOYk: goto LM8IM; FZYlK: fputs($handle, "\143\151\160\150\x65\x72\40" . OPENVPN_CIPHER . "\xa"); goto r2AWk; IlOvg: } goto ujbPE; ovSgi: define("\142\66", "\x66"); goto ion6w; hCpJe: function parsePPtPConnection() { goto aDwdR; SnasV: ek1Dr: goto AoTQ9; JVY5A: ePbjO: goto FNFO5; aDwdR: $pptp_status = array(); goto tn8SC; eof3j: $i = 0; goto qAcV0; l04Ya: return $pptp_status; goto JVY5A; qAcV0: foreach ($pppd2 as $line) { goto XpxNJ; SpIJB: uhpuu: goto OpE3m; gx81w: $temp1 = explode("\120\x45\x45\122\x4e\x41\115\105\75", $line); goto cp3gg; rZv1Z: foreach ($ifconfig as $line) { goto Gh84y; puxEd: zE0T3: goto CmEoT; Wnn0h: $temp1 = explode("\124\130\x20\142\x79\164\x65\x73\x3a", $line); goto j16xL; bqJQE: $temp2 = explode("\40", $temp1[1]); goto pRNY1; jZRbY: goto Z9KOP; goto puxEd; ESD7_: $temp1 = explode("\x52\130\40\x62\x79\x74\x65\163\72", $line); goto bqJQE; KuSpx: $i++; goto jZRbY; H2Z2f: $pptp_status["\165\x73\145\162\163"][$i]["\102\x79\164\145\x73\123\x65\x6e\x74"] = sizeformat($temp2[0]); goto KuSpx; pRNY1: $pptp_status["\165\163\x65\x72\163"][$i]["\x42\x79\164\145\163\x52\x65\143\x65\x69\x76\145\x64"] = sizeformat($temp2[0]); goto Wnn0h; j16xL: $temp2 = explode("\x20", $temp1[1]); goto H2Z2f; Gh84y: if (!strstr($line, "\x52\130\x20\142\171\164\x65\x73\72")) { goto zE0T3; } goto ESD7_; CmEoT: yL9D0: goto zQWmI; zQWmI: } goto Kh5F0; y6SWm: $pptp_status["\x75\x73\x65\x72\x73"][$i]["\x49\x46\x4e\x41\x4d\x45"] = $temp2[0]; goto BT6Fn; ByhJr: preg_match_all("\57\x5c\144\173\61\54\63\x7d\x5c\56\134\x64\x7b\x31\54\63\175\134\x2e\134\x64\x7b\x31\54\x33\175\x5c\x2e\134\144\173\61\54\63\x7d\x2f", $temp2[2], $ip); goto ZSeYB; Kh5F0: Z9KOP: goto piczC; zkaDH: $pptp_status["\x75\163\x65\x72\x73"][$i]["\126\151\x72\164\x75\x61\154\x41\x64\x64\162\145\163\x73"] = $ip[0][0]; goto gU94h; XpxNJ: if (!strstr($line, "\x50\x45\105\122\116\101\x4d\x45\x3d")) { goto j2mjA; } goto gx81w; A2AhX: if (!($row_log = Db::QueryFetch("\x53\x45\x4c\105\103\x54\40\42\x54\x69\155\x65\x73\x74\x61\x6d\x70\x22\x2c\40\x22\x46\162\x6f\x6d\111\x50\x22\40\106\x52\117\x4d\x20\x22\160\165\x62\154\151\143\x22\x2e\x22\114\157\x67\x22\x20\x57\x48\105\x52\x45\x20\50\42\103\154\x69\145\x6e\164\42\40\75\40\x27" . Db::Escape($row[0]) . "\47\x20\x41\x4e\x44\40\42\x47\x72\165\x70\160\145\42\x20\x3d\x20\47" . Db::Escape($row[1]) . "\x27\x20\101\x4e\x44\x20\42\117\x6e\154\151\x6e\145\42\40\75\x20\x27\x74\47\x20\x41\116\x44\x20\42\103\157\156\x6e\145\x63\x74\126\x69\x61\42\40\x3d\40\47\120\x50\164\120\x27\x20\40\40\51\x20\117\x52\x44\105\122\40\102\x59\x20\42\x54\x69\x6d\145\163\x74\141\155\x70\42\40\x64\x65\x73\x63\40\114\x49\x4d\x49\124\40\61"))) { goto uhpuu; } goto x1rwJ; x1rwJ: $pptp_status["\165\x73\x65\x72\x73"][$i]["\123\x69\x6e\143\x65"] = date("\104\40\x4d\40\152\x20\110\72\x69\x3a\163\x20\x59", $row_log[0]); goto Kmah4; hF13D: ihR7q: goto HUU0r; cp3gg: $temp2 = explode("\x3b", $temp1[1]); goto kJSdw; piczC: j2mjA: goto hF13D; BT6Fn: exec("\57\x73\142\151\156\x2f\x69\146\143\x6f\x6e\146\151\x67\40" . escapeshellarg($temp2[0]), $ifconfig); goto rZv1Z; LYlVh: $temp2 = explode("\73", $temp1[1]); goto y6SWm; pOdqF: $pptp_status["\x75\x73\x65\x72\x73"][$i]["\x50\x72\x6f\x74\x6f\x63\x6f\154"] = "\x70\160\x74\x70"; goto BSD7e; qaL3W: $temp1 = explode("\111\x46\116\x41\115\105\x3d", $line); goto LYlVh; ISVfJ: COPlb: goto ByhJr; OpE3m: $ifconfig = array(); goto qaL3W; kJSdw: if (!($row = Db::QueryFetch("\123\105\114\105\x43\124\40\x22\116\122\42\x2c\40\x22\125\123\105\122\42\54\40\42\x4e\x41\115\105\42\40\106\122\117\115\x20\42\160\165\142\154\151\143\42\x2e\x22\122\145\x6d\157\164\x65\116\145\164\x77\x6f\x72\x6b\163\42\x20\x57\110\105\122\x45\x20\x28\x22\120\x50\x74\120\x75\163\x65\x72\x22\x20\75\40\47" . Db::Escape($temp2[0]) . "\47\51"))) { goto COPlb; } goto pOdqF; Kmah4: $pptp_status["\165\x73\145\x72\163"][$i]["\x52\x65\141\154\x41\x64\x64\x72\x65\x73\163"] = $row_log[1] . "\72\60\x30\60\x30\60"; goto SpIJB; ZSeYB: if (!isset($ip[0][0])) { goto SIRSm; } goto zkaDH; BSD7e: $pptp_status["\165\163\145\x72\x73"][$i]["\x43\x6f\155\155\157\156\116\141\x6d\145"] = "\137\137\x47\x52\117\125\120\137\137" . $row[1] . "\x5f\x5f\x43\114\x49\105\116\x54\137\137" . $row[2]; goto ISVfJ; gU94h: SIRSm: goto A2AhX; HUU0r: } goto SnasV; tn8SC: $pptp_status["\165\160\x64\141\x74\x65\144"] = date("\x44\x20\115\x20\152\40\x48\72\151\72\163\40\x59"); goto qB3OK; JxpRv: exec("\x74\144\142\x64\x75\155\160\40\57\x76\141\x72\x2f\162\x75\156\x2f\160\x70\x70\x64\x32\56\164\144\142", $pppd2); goto eof3j; FNFO5: $pppd2 = array(); goto JxpRv; AoTQ9: return $pptp_status; goto LLQG1; qB3OK: $pptp_status["\x75\163\x65\162\x73"] = array(); goto RFQKj; RFQKj: if (file_exists("\x2f\x76\x61\162\x2f\x72\165\x6e\x2f\160\160\x70\x64\x32\56\164\144\142")) { goto ePbjO; } goto l04Ya; LLQG1: } goto CjKDd; ZQouE: ini_set("\144\x69\x73\x70\x6c\x61\171\x5f\145\162\162\157\162\x73", 0); goto tKTrl; XyOm4: function generate_password_pptp($len = 10) { goto IAG7h; LMYgY: if (!($i < $len)) { goto y6P6_; } goto BFlSY; pS80N: $i = 0; goto Q43X_; oOyvb: goto EDFHx; goto XVvKK; BFlSY: $r .= $c[rand(0, count($c) - 1)]; goto CBHXN; Q43X_: EDFHx: goto LMYgY; dd6rO: $c = array("\141", "\142", "\143", "\144", "\x65", "\x66", "\147", "\150", "\151", "\153", "\155", "\156", "\x6f", "\x70", "\x71", "\x72", "\x73", "\164", "\x75", "\x76", "\167", "\x78", "\x79", "\x7a", "\101", "\x42", "\103", "\x44", "\105", "\106", "\107", "\x48", "\112", "\x4b", "\114", "\115", "\116", "\x4f", "\x50", "\121", "\122", "\123", "\124", "\125", "\x56", "\127", "\130", "\x59", "\x5a", "\x30", "\x32", "\63", "\64", "\x35", "\x36", "\67", "\70", "\71"); goto pS80N; IAG7h: $r = ''; goto dd6rO; cqHX7: return $r; goto AaV_W; CBHXN: WLzH7: goto k3KJ4; k3KJ4: $i++; goto oOyvb; XVvKK: y6P6_: goto cqHX7; AaV_W: } goto z41qO; J7yw6: function KillConnection($server = "\61\62\x37\56\x30\56\x30\x2e\x31", $cn = '', $protocol = "\165\x64\160") { goto R47eW; ywo5S: fgets($handle, 100); goto av4F1; F2e3C: fputs($handle, "\145\x78\151\164\12"); goto iDSka; EqoCB: if ($handle) { goto Z0Jyf; } goto E602T; dqgrb: goto JsMhv; goto N456V; tyYWc: echo "\105\x52\122\x4f\x52\40\146\163\x6f\143\153\157\160\x65\156\x20\41\x21\x21"; goto SqV3C; E602T: echo "\105\122\122\x4f\122\40\146\163\x6f\143\153\x6f\160\x65\156\x20\x21\41\x21"; goto De_v6; hN6dE: EQtO6: goto qddwb; H8o7u: fputs($handle, "\153\151\x6c\x6c\40" . $cn . "\xa"); goto x76Jo; Gnkxb: if (!($protocol == "\164\x63\160" || $protocol == "\165\x64\x70\55\x74\143\160")) { goto qI2PH; } goto A2bix; fOtl0: KmkbV: goto S9Lz4; SqV3C: return false; goto fOtl0; LxuPO: wgqXe: goto Gnkxb; Um8kl: $buffer = fgets($handle, 4096); goto Y1wn0; U1lPX: EzpaI: goto uqlf_; BJkNl: LQ13K: goto Od0fu; BQXYB: fclose($handle); goto LxuPO; iDSka: fclose($handle); goto ZKYrr; Ou82W: $buffer = ''; goto IUBsV; Y1wn0: goto EQtO6; goto U1lPX; XW_m3: $buffer = fgets($handle, 4096); goto dqgrb; R47eW: if (!(strlen($cn) > 0)) { goto LQ13K; } goto kbX11; De_v6: return false; goto MIhGw; x76Jo: $buffer = ''; goto hN6dE; S9Lz4: fgets($handle, 100); goto H8o7u; uqlf_: fputs($handle, "\x65\x78\151\164\12"); goto BQXYB; A2bix: $handle = fsockopen($server, SERVER_ADMIN_PORT_TCP, $errno, $errstr, 3); goto EqoCB; JrLvc: $handle = fsockopen($server, SERVER_ADMIN_PORT_UDP, $errno, $errstr, 3); goto PHS71; IUBsV: JsMhv: goto CQgFb; ZKYrr: qI2PH: goto BJkNl; MIhGw: Z0Jyf: goto ywo5S; PHS71: if ($handle) { goto KmkbV; } goto tyYWc; N456V: JByUS: goto F2e3C; av4F1: fputs($handle, "\x6b\x69\x6c\154\x20" . $cn . "\12"); goto Ou82W; qddwb: if (!(!feof($handle) && !strstr($buffer, "\123\x55\103\x43\x45\123\123") && !strstr($buffer, "\105\122\x52\117\x52"))) { goto EzpaI; } goto Um8kl; kbX11: if (!($protocol == "\165\144\x70" || $protocol == "\x75\x64\160\55\x74\143\160")) { goto wgqXe; } goto JrLvc; CQgFb: if (!(!feof($handle) && !strstr($buffer, "\x53\125\103\x43\105\x53\123") && !strstr($buffer, "\105\x52\x52\117\122"))) { goto JByUS; } goto XW_m3; Od0fu: } goto hCpJe; XgZf5: function debug_file($str = '', $filename = "\x2f\x68\x6f\155\x65\57\x64\x65\142\x75\x67\57\x64\x65\142\165\x67\x2e\x74\x78\164") { goto Deb_W; rEixN: fputs($handle, $itze . $str . "\xa"); goto FDqBK; ch0lj: ect10: goto UdPCX; MP978: $itze = date("\133\x64\x2e\155\x2e\x59\x20\110\72\x69\72\163\135\x20"); goto rEixN; kYrBM: fclose($handle); goto ch0lj; FDqBK: fflush($handle); goto kYrBM; Deb_W: if (!($handle = fopen($filename, "\141"))) { goto ect10; } goto MP978; UdPCX: } goto mOJuH; gFru1: define("\x62\63", "\165"); goto NBlF5; TJCDf: function set_ftp_cronjob($enable = false, $client = '', $user = '') { goto q_Uj0; XujMx: exec("\143\162\x6f\x6e\164\141\142\40\55\x6c", $crontab); goto L0iO3; csNS8: $FtpFetchEmailDest = $row[1]; goto dwOoA; g7B8o: goto jUtMF; goto Na470; Nrg_X: foreach ($crontab as $key => $str) { goto yo_0k; ViQAc: bRbiL: goto h_hZk; o19Om: YAGMx: goto ViQAc; yo_0k: if (strstr($str, HOME_DIR . "\57\143\x72\x6f\x6e\x2f\x5f\x5f\107\x52\117\125\x50\x5f\137" . $user . "\x5f\x5f\103\114\111\x45\x4e\x54\x5f\137" . $client . "\x2e\163\150")) { goto YAGMx; } goto jSZOP; jSZOP: fputs($handle, $str . "\xa"); goto o19Om; h_hZk: } goto E3ax9; K8TlH: goto EWBYH; goto WhtVc; h2yQV: if (strlen($FtpFetchPath) && strlen($FtpFetchEmailDest) && strlen($user) && strlen($client) && $enable) { goto nUFfo; } goto vNQ7A; Ubr6P: goto ZI9ZE; goto XDFDL; NB6t2: $FtpFetchTimeHour = $row[3]; goto G2Cdh; IK62n: $ftpfd = $FtpFetchTimeDoWeek; goto g7B8o; ChWNV: if (!$handle) { goto QXKQd; } goto Vffew; s9pzh: puuJS: goto HXztt; cVGRh: dHtNH: goto GEZ6o; ivEbv: system("\x63\162\157\156\164\x61\142\40" . HOME_DIR . "\57\143\162\x6f\x6e\57\143\x72\157\156\x74\x61\x62\x20\46\76\x2f\164\155\x70\57\143\162\157\156\146\x6f\x62\163\x2e\x6c\x6f\x67"); goto cVGRh; GEZ6o: goto puuJS; goto m5JQ8; Na470: yh0NZ: goto I0gH9; VSU3l: if ($FtpFetchTimeDoWeek > 6) { goto yh0NZ; } goto IK62n; vNQ7A: unset($crontab); goto eCKeB; kRikm: if (!($row = Db::QueryFetch("\x53\105\x4c\105\x43\x54\40\42\x46\x74\160\x46\x65\164\143\x68\x50\141\x74\150\x22\x2c\40\x22\106\x74\160\x46\x65\x74\143\150\x45\x6d\141\151\x6c\104\145\x73\x74\x22\54\40\42\106\x74\160\106\145\x74\x63\x68\x54\x69\155\x65\x44\x6f\127\x65\x65\x6b\42\x2c\x20\42\x46\164\160\x46\x65\164\143\x68\x54\x69\155\145\x48\x6f\165\162\42\54\x20\42\x46\164\x70\106\145\x74\143\150\x54\151\155\145\x4d\151\156\165\x74\145\42\x20\x46\x52\117\115\40\x22\x70\165\x62\x6c\x69\x63\x22\x2e\x22\x52\145\x6d\x6f\x74\145\116\x65\164\167\157\x72\x6b\x73\42\x20\127\110\x45\122\105\x20\x28\x22\x4e\x41\x4d\x45\x22\40\x3d\x20\x27" . Db::Escape($client) . "\x27\x20\x41\x4e\x44\40\42\125\123\x45\x52\42\40\x3d\x20\47" . Db::Escape($user) . "\x27\40\51"))) { goto lVAqP; } goto uMOeM; OHZI3: fflush($handle); goto qtEM3; q_Uj0: $FtpFetchPath = ''; goto LBQTz; XDFDL: jtmRU: goto Ptsn9; qtEM3: fclose($handle); goto zeiNa; VcOui: $ftpfh = "\52"; goto HxHt9; WsuwK: if (!$handle) { goto dHtNH; } goto Nrg_X; zAVTo: $erk = false; goto FgL6u; ocbjb: $user = (int) $user; goto kRikm; Ml1MZ: J2wSb: goto aeaMv; FgL6u: foreach ($crontab as $key => $str) { goto mQM3V; v5WjT: IBOxj: goto iAXeR; XU2Ha: if ($erk) { goto IBOxj; } goto ezy4m; Kyvv6: fputs($handle, $ftpfm . "\x20" . $ftpfh . "\x20\52\x20\52\x20" . $ftpfd . "\40\57\142\x69\x6e\57\x73\150\x20" . escapeshellarg(HOME_DIR . "\x2f\143\162\x6f\156\57\137\137\x47\x52\117\125\120\137\x5f" . $user . "\137\x5f\x43\114\111\x45\x4e\124\137\x5f" . $client . "\56\x73\x68") . "\xa"); goto v5WjT; zE0ck: duziY: goto Ur77b; cf7C5: goto uxh7T; goto jJ1Lf; ezy4m: $erk = true; goto Kyvv6; mQM3V: if (strstr($str, HOME_DIR . "\57\143\x72\x6f\x6e\57\x5f\x5f\107\122\117\x55\x50\137\137" . $user . "\x5f\137\103\114\111\105\116\124\137\137" . $client)) { goto zT5GO; } goto g_DRK; jJ1Lf: zT5GO: goto XU2Ha; iAXeR: uxh7T: goto zE0ck; g_DRK: fputs($handle, $str . "\12"); goto cf7C5; Ur77b: } goto JuC4J; E3ax9: WUj8u: goto MT7qg; WhtVc: mZOZQ: goto VcOui; QaG2H: $ftpfh = $FtpFetchTimeHour; goto K8TlH; JuC4J: ChfN2: goto InKhG; eCKeB: exec("\x63\162\x6f\156\x74\141\142\x20\55\154", $crontab); goto Mqn0x; wptwM: $handle = fopen(HOME_DIR . "\x2f\143\x72\157\x6e\x2f\137\137\x47\x52\117\x55\120\x5f\x5f" . $user . "\137\x5f\103\x4c\x49\x45\116\124\137\137" . $client . "\x2e\163\x68", "\167"); goto ChWNV; zeiNa: QXKQd: goto Ml1MZ; y_zom: jUtMF: goto BHZev; pKOtd: ZI9ZE: goto R7g8p; Ptsn9: $ftpfm = "\x2a"; goto pKOtd; LBQTz: $FtpFetchEmailDest = ''; goto YUiCW; L0iO3: if ($FtpFetchTimeMinute > 59) { goto jtmRU; } goto nzMrP; yG4U6: unset($crontab); goto XujMx; YUiCW: $FtpFetchTimeDoWeek = 0; goto eAwjr; Ki9Ko: fputs($handle, $ftpfm . "\40" . $ftpfh . "\x20\52\40\x2a\x20" . $ftpfd . "\x20\x2f\x62\x69\x6e\x2f\163\x68\40" . escapeshellarg(HOME_DIR . "\x2f\143\162\157\156\57\137\137\x47\122\117\x55\x50\137\x5f" . $user . "\x5f\137\x43\114\x49\x45\x4e\x54\x5f\x5f" . $client . "\x2e\163\x68") . "\12"); goto GtIPF; aeaMv: jRDJK: goto s9pzh; InKhG: if ($erk) { goto YlpfK; } goto Ki9Ko; Vffew: fputs($handle, "\x23\x21\57\142\151\x6e\x2f\163\150\12"); goto mIL52; Mqn0x: $handle = fopen(HOME_DIR . "\x2f\x63\x72\x6f\x6e\x2f\143\x72\x6f\x6e\x74\141\x62", "\x77"); goto WsuwK; HxHt9: EWBYH: goto VSU3l; U1rgp: fclose($handle); goto ivEbv; R7g8p: if ($FtpFetchTimeHour > 23) { goto mZOZQ; } goto QaG2H; kCPyi: fclose($handle); goto VSPji; mIL52: fputs($handle, "\x65\x78\x69\164\40\x30\12"); goto OHZI3; Zgkxf: if (file_exists(HOME_DIR . "\57\x63\x72\x6f\x6e\57\x5f\137\x47\122\x4f\x55\x50\x5f\137" . $user . "\x5f\137\x43\114\111\x45\116\124\137\137" . $client . "\56\x73\150")) { goto J2wSb; } goto wptwM; coKy_: if (!$handle) { goto jRDJK; } goto zAVTo; dwOoA: $FtpFetchTimeDoWeek = $row[2]; goto NB6t2; GtIPF: YlpfK: goto Xpdkg; nzMrP: $ftpfm = $FtpFetchTimeMinute; goto Ubr6P; eAwjr: $FtpFetchTimeHour = 0; goto T4tzV; I0gH9: $ftpfd = "\52"; goto y_zom; BHZev: $handle = fopen(HOME_DIR . "\x2f\x63\162\157\156\57\x63\x72\x6f\x6e\164\141\x62", "\x77"); goto coKy_; T4tzV: $FtpFetchTimeMinute = 0; goto ocbjb; Xpdkg: fflush($handle); goto kCPyi; G2Cdh: $FtpFetchTimeMinute = $row[4]; goto wjaeP; MT7qg: fflush($handle); goto U1rgp; m5JQ8: nUFfo: goto yG4U6; VSPji: system("\x63\x72\x6f\x6e\164\141\142\x20" . HOME_DIR . "\57\x63\x72\x6f\156\x2f\143\162\x6f\156\x74\x61\142\x20\x26\x3e\x2f\164\x6d\x70\x2f\143\162\x6f\x6e\146\157\x62\163\x2e\x6c\x6f\x67"); goto Zgkxf; uMOeM: $FtpFetchPath = $row[0]; goto csNS8; wjaeP: lVAqP: goto h2yQV; HXztt: } goto M0j6l; NBlF5: define("\x62\64", "\141"); goto Y5Jqf; mOJuH: function debug_udp($str = '', $udp_ip = "\61\x32\67\x2e\x30\x2e\x30\56\x31", $udp_port = "\61\x30\60\60\61") { goto ZRnTg; ZRnTg: $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP); goto jp8BF; jp8BF: $len = strlen($str); goto Q7M99; zIDhe: socket_close($sock); goto U_8uH; Q7M99: socket_sendto($sock, $str, $len, 0, $udp_ip, $udp_port); goto zIDhe; U_8uH: } goto mQoxc; yzNQk: ini_set("\x6d\x61\x67\151\143\137\161\165\157\x74\145\163\x5f\x67\x70\143", 0); goto txFHR; GWkk7: ini_set("\x6d\x61\x67\x69\x63\137\161\x75\157\x74\x65\163\137\162\x75\x6e\164\151\155\x65", 0); goto yzNQk; FLAoN: function usermail($pass = "\55\55\x2d\x2d\55\55", $backcolor = '') { goto Xn3Ph; Qp9Cp: $htmlstr = $htmlstr . "\x3c\x2f\150\145\141\144\76\xa"; goto ELNFU; fEa2c: $htmlstr = str_replace("\43\124\105\x4c\x45\127\x4f\122\113\105\122\43", $teleworker, $htmlstr); goto pv02r; y1lPg: $contact_person = "\55\55\55\x2d\55\x2d"; goto lUsCU; FKse3: $remote_vn = "\61\x30\x2e\61\x30\56\61\x30\x2e\x31"; goto dB_EI; wmcqH: if (!($backcolor == 1)) { goto POMwe; } goto nmFU3; GVTuE: if ($title == STR_EMAIL_HERR) { goto nVu2B; } goto cp90E; sJZGX: $remote_vn = $row[2]; goto XTG_i; YMZgB: $remote_ip = $row[1]; goto sJZGX; gdCjF: $contact_person = utf8_decode($row[2]); goto Q6vxQ; rVg13: $teleworker = "\x54\x65\163\x74\x52\157\x61\x64\x57\141\x72\162\x69\x6f\x72"; goto s2Eos; cDkR0: $htmlstr = ''; goto IrjOj; ulSrl: $htmlstr = $htmlstr . "\x3c\x2f\164\144\76\74\x2f\x74\x72\x3e\x3c\57\x74\x61\142\x6c\145\76"; goto OZZer; VUr8P: goto K7Drx; goto nm497; YpXsO: $htmlstr = str_replace("\x23\120\125\102\114\x49\x43\101\104\x44\122\43", $publicaddr, $htmlstr); goto ksXfj; LHZju: $absendername = ''; goto OzEl9; XTG_i: $a = explode("\x2e", $remote_ip); goto fW87o; RZqgP: $remotenetwork = "\x54\x65\163\164\122\157\165\164\x65\162"; goto NQB7e; QSpT6: K9IPy: goto qQOGd; EwNTC: $htmlstr = $htmlstr . "\74\57\x68\x74\x6d\x6c\x3e\xa"; goto GVTuE; kYR6G: UoETr: goto RZqgP; ZBvq1: POMwe: goto JmF1o; v3tNT: $publicaddr = $row[0]; goto tUQTY; rNUiT: $group_nr = $row[4]; goto QSpT6; ELNFU: $htmlstr = $htmlstr . "\x3c\142\x6f\144\x79\x3e\xa"; goto wmcqH; HUpd3: $htmlstr = $htmlstr . "\74\x74\151\x74\154\x65\x3e" . $titel_str . "\74\x2f\x74\151\164\x6c\x65\x3e\12"; goto Qvv0S; WTyuY: $htmlstr = str_replace("\43\x53\105\x4e\x44\105\122\116\101\115\105\x23", $absendername, $htmlstr); goto fEa2c; szVNt: $teleworker = $row[0]; goto kYR6G; KhDXt: $group_nr = 0; goto hDrOJ; YPfyx: $a = explode("\56", $remote_vn); goto GWnmO; dB_EI: if (!($row = Db::QueryFetch("\123\x45\114\105\x43\x54\40\x22\x4e\101\x4d\x45\42\54\40\42\111\120\x22\54\x20\x22\x56\151\162\x74\165\141\154\116\x65\x74\x77\x6f\x72\153\42\x20\x46\122\x4f\115\x20\x22\x70\165\142\154\x69\x63\x22\x2e\x22\x52\x65\x6d\157\x74\x65\x4e\145\164\167\x6f\162\153\x73\42\40\x57\110\105\122\x45\x20\x28\x22\x55\x53\105\x52\42\x20\x3d\40\47" . Db::Escape($group_nr) . "\x27\x20\x41\x4e\x44\40\x22\124\x65\x6c\x65\x77\x6f\162\x6b\x65\x72\42\40\x3d\x20\47\60\x27\x20\x29"))) { goto fxGqe; } goto E9fOq; Xn3Ph: $publicaddr = ''; goto E9sm3; AJ32u: $htmlstr = str_replace("\43\103\117\x4e\124\101\x43\x54\x5f\x50\105\x52\123\x4f\116\43", $contact_person, $htmlstr); goto YpXsO; wwYA_: $htmlstr = str_replace("\x23\124\111\124\x4c\x45\61\43", $title, $htmlstr); goto nH4SK; nH4SK: $htmlstr = str_replace("\43\124\x49\124\114\x45\43", $title, $htmlstr); goto AJ32u; GWnmO: $remote_vn = $a[0] . "\x2e" . $a[1] . "\56" . $a[2] . "\x2e\61"; goto GRdlb; TJ7L2: K7Drx: goto wwYA_; Q38My: $htmlstr = $htmlstr . "\x3c\154\x69\x6e\153\x20\x72\145\154\x3d\x22\x73\x74\171\154\x65\x73\150\x65\145\164\42\x20\x74\x79\x70\145\75\x22\164\x65\x78\164\x2f\143\163\x73\42\x20\x68\162\x65\146\75\x22\163\164\x79\154\x65\x2e\x63\x73\163\42\76\12"; goto Qp9Cp; fW87o: $remote_ip = $a[0] . "\x2e" . $a[1] . "\56" . $a[2] . "\x2e\61"; goto YPfyx; t0e3C: $htmlstr = str_replace("\43\x4d\x41\111\114\x54\x4f\43", $mailaddr, $htmlstr); goto WTyuY; JmF1o: $htmlstr = $htmlstr . nl2br($text); goto egczz; NQB7e: $remote_ip = "\x31\x39\x32\56\61\66\70\x2e\61\56\x31"; goto FKse3; nmFU3: $htmlstr = $htmlstr . "\x3c\164\x61\x62\x6c\x65\x3e\74\164\x72\x3e\74\x74\144\x20\167\x69\144\164\x68\75\42\x38\60\60\42\76"; goto ZBvq1; Q6vxQ: $title = $row[3]; goto rNUiT; MiZ10: $htmlstr = str_replace("\43\x52\x45\115\x4f\124\x45\x4e\x45\x54\127\117\x52\113\137\x49\120\43", $remote_ip, $htmlstr); goto wiliW; vN0Tq: $htmlstr = $htmlstr . "\x3c\x2f\x62\157\144\x79\x3e\xa"; goto EwNTC; s2Eos: if (!($row = Db::QueryFetch("\x53\105\114\x45\103\124\40\42\116\101\115\x45\x22\40\106\x52\x4f\x4d\x20\42\160\165\142\x6c\x69\143\x22\56\42\122\x65\x6d\x6f\x74\x65\x4e\x65\x74\x77\x6f\162\153\x73\42\x20\127\x48\x45\x52\105\40\50\42\x55\x53\x45\122\x22\x20\x3d\x20\47" . Db::Escape($group_nr) . "\47\x20\x41\x4e\104\40\x22\124\x65\154\x65\167\157\162\153\145\162\x22\x20\x3d\40\x27\61\47\x20\x29"))) { goto UoETr; } goto szVNt; tUQTY: y8L8H: goto j1YOw; E9sm3: if (!($row = Db::QueryFetch("\123\x45\114\105\x43\124\40\x22\120\165\142\x6c\x69\143\x41\x64\x64\162\42\x2c\40\x22\x4e\122\42\40\40\106\x52\117\115\x20\42\116\145\x74\167\x6f\x72\153\42"))) { goto y8L8H; } goto v3tNT; nm497: nVu2B: goto Lzbgk; OZZer: fvJtM: goto vN0Tq; wiliW: $htmlstr = str_replace("\43\122\x45\x4d\117\124\x45\x4e\105\x54\x57\117\122\x4b\137\x56\x4e\x23", $remote_vn, $htmlstr); goto ToYTl; lh57g: $user = $row[0]; goto gdCjF; GRdlb: fxGqe: goto cDkR0; OzEl9: $ccaddr = ''; goto URRTa; j1YOw: $user = "\x2d\x2d\x2d\x2d\55\x2d"; goto y1lPg; lUsCU: $title = STR_EMAIL_HERR; goto KhDXt; vcPwi: $text = utf8_decode($row[1]); goto IUC60; xkUnB: $absendername = $row[3]; goto Z31_f; qQOGd: $mailaddr = ''; goto LHZju; IUC60: $ccaddr = $row[2]; goto xkUnB; Z31_f: QmTgI: goto rVg13; IrjOj: $htmlstr = $htmlstr . "\74\x68\x74\155\x6c\76\12"; goto Xj4g_; qY6LW: if (!($row = Db::QueryFetch("\123\105\x4c\x45\103\124\40\42\115\x61\151\x6c\x41\x64\144\x72\x22\x2c\x20\42\125\x73\145\162\x4d\141\x69\154\x54\145\x78\x74\42\54\x20\x22\103\x43\x41\x64\144\162\x22\54\40\42\101\x62\163\x65\156\x64\x65\162\x4e\141\x6d\x65\x22\x20\106\x52\x4f\x4d\40\42\x70\x75\142\154\151\143\42\56\42\115\x61\x6e\x61\147\145\155\145\156\164\x22"))) { goto QmTgI; } goto oQ1me; Qvv0S: $htmlstr = $htmlstr . "\x3c\41\55\55\40\110\124\x4d\x4c\40\64\56\x78\40\x2d\x2d\x3e\x20\x3c\155\145\x74\x61\40\150\x74\164\160\x2d\x65\161\x75\x69\x76\x3d\42\x63\x6f\156\164\x65\x6e\x74\55\x74\x79\x70\x65\x22\40\143\157\156\x74\x65\156\x74\75\42\164\x65\x78\x74\x2f\x68\x74\155\154\73\40\143\x68\141\162\x73\145\164\75\x75\164\146\55\70\x22\x3e\40\74\x21\55\55\x20\x48\124\115\x4c\x35\40\55\55\x3e\x20\74\x6d\145\164\141\40\x63\x68\x61\x72\x73\145\164\x3d\42\x75\164\x66\55\x38\x22\76\12"; goto Q38My; Xj4g_: $htmlstr = $htmlstr . "\x3c\150\x65\x61\x64\76\12"; goto HUpd3; pv02r: $htmlstr = str_replace("\x23\x52\x45\115\x4f\x54\105\116\105\x54\127\117\x52\113\x23", $remotenetwork, $htmlstr); goto MiZ10; oQ1me: $mailaddr = $row[0]; goto vcPwi; E9fOq: $remotenetwork = $row[0]; goto YMZgB; URRTa: $text = ''; goto qY6LW; ToYTl: return $htmlstr; goto UVbg7; ksXfj: $htmlstr = str_replace("\x23\x55\x53\105\x52\x23", $user, $htmlstr); goto wtDGt; cp90E: $htmlstr = str_replace("\43\x54\x49\x54\x4c\x45\x30\43", STR_EMAIL_ANREDE_F, $htmlstr); goto VUr8P; wtDGt: $htmlstr = str_replace("\x23\x50\x41\x53\123\43", $pass, $htmlstr); goto t0e3C; egczz: if (!($backcolor == 1)) { goto fvJtM; } goto ulSrl; Lzbgk: $htmlstr = str_replace("\43\x54\x49\x54\x4c\105\60\x23", STR_EMAIL_ANREDE_M, $htmlstr); goto TJ7L2; hDrOJ: if (!($row = Db::QueryFetch("\123\x45\x4c\105\x43\124\40\42\x55\x53\x45\x52\x22\x2c\40\x22\120\101\123\123\x22\54\40\42\103\x4f\x4e\124\101\x43\x54\137\120\x45\122\x53\x4f\116\42\54\40\42\x54\111\124\x4c\x45\x22\54\x20\42\x4e\x52\x22\x20\x20\x46\x52\x4f\115\x20\x22\x70\165\x62\x6c\x69\143\x22\x2e\42\117\162\147\141\x6e\x69\x73\x61\164\151\x6f\x6e\x73\x22\40\x57\110\x45\x52\105\40\x22\116\x41\115\105\42\x20\75\x20\47" . Db::Escape($_SESSION["\165\163\145\x72\155\x61\151\154\137\x67\162\157\x75\160"]) . "\47"))) { goto K9IPy; } goto lh57g; UVbg7: } goto Rty8K; krVfH: define("\x62\x32", "\x73"); goto gFru1; CbkH8: function jabber_send_cmd($text, $recipient) { goto vqBuK; rZdeC: wiSxo: goto Gwb2c; vqBuK: static $jabber = array(); goto MGO8H; Gwb2c: return "\x65\x63\x68\157\x20" . escapeshellarg($text) . "\x20\x7c\40\x73\x65\x6e\x64\x78\155\160\x70\x20\55\152\x20" . escapeshellarg($jabber["\163\x65\x72\x76\145\162"]) . "\40\x2d\x75\x20" . escapeshellarg($jabber["\x75\163\145\x72"]) . "\40\55\x70\x20" . escapeshellarg($jabber["\160\141\x73\x73"]) . "\x20" . escapeshellarg($recipient . "\100" . $jabber["\x73\x65\162\x76\x65\162"]) . "\12\12"; goto hsNeJ; MGO8H: if (!empty($jabber)) { goto wiSxo; } goto x3jKv; S_amq: $jabber["\x70\x61\163\x73"] = $row[1]; goto klgx_; x3jKv: $row = Db::QueryFetch("\123\105\x4c\x45\103\x54\x20\42\x4a\101\102\102\x45\122\x5f\x55\x53\105\x52\x22\54\40\x22\x4a\x41\x42\x42\105\122\x5f\x50\x41\123\123\42\54\40\x22\x4a\x41\102\x42\105\122\137\123\105\122\126\x45\x52\42\x20\106\x52\117\x4d\x20\42\x70\x75\x62\154\151\143\x22\56\x22\x4d\141\156\x61\147\145\x6d\145\x6e\164\42"); goto L2kpJ; L2kpJ: $jabber["\x75\x73\x65\x72"] = $row[0]; goto S_amq; klgx_: $jabber["\163\145\162\166\x65\x72"] = $row[2]; goto rZdeC; hsNeJ: } goto XkpnY; g2LPl: require_once "\x68\164\155\x6c\56\160\x68\x70"; goto dLkpu; Zhavd: function is_ipv4_address($ip) { return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4); } goto ENprQ; ENprQ: function is_mac_address($mac) { return preg_match("\57\50\133\60\x2d\71\x61\55\x66\135\173\61\54\62\175\133\72\x5d\51\173\x35\175\50\133\60\55\71\141\x2d\x66\135\x7b\61\x2c\62\175\51\57\x69", $mac) === 1; } goto WsU2g; M0j6l: function file_config_escape($text) { $replace = array("\xa" => "\40", "\xd" => "\x20", "\x22" => "\134\42"); return strtr($text, $replace); } goto CbkH8; UNEl5: function get_traffic_client($client = 0, $von = 0, $bis = 0, $dir = "\x52\170\x54\170") { goto R0IMW; R0IMW: if (!($client == 0)) { goto LBEjv; } goto lzuOo; qoyOa: jFwp1: goto jmOvz; jmOvz: return 0; goto NCN6n; XJVrh: PhVSY: goto qoyOa; lzuOo: return 0; goto wn_hI; wn_hI: LBEjv: goto Zd89e; Zd89e: switch ($dir) { case "\122\x78": goto UK93F; lzBc5: uEwjP: goto qnvhN; zmj68: return $row[0]; goto lzBc5; qnvhN: goto jFwp1; goto HNldE; UK93F: if (!($row = Db::QueryFetch("\x53\105\114\105\103\124\40\x53\x55\115\x28\x22\122\170\x42\171\x74\145\163\42\51\x20\106\122\117\115\x20\42\160\165\x62\x6c\x69\143\x22\x2e\x22\x4c\x6f\x67\42\40\127\110\105\x52\105\40\50\42\x54\x69\x6d\145\x73\164\x61\155\x70\42\40\x3e\75\40" . $von . "\40\x41\x4e\104\40\x22\x54\x69\x6d\x65\x73\x74\x61\155\x70\x22\40\x3e\75\x20" . $bis . "\x20\101\x4e\x44\40\x22\103\x6c\151\x65\x6e\164\42\x20\75\x20" . $client . "\x29"))) { goto uEwjP; } goto zmj68; HNldE: case "\x54\170": goto vmVFM; O1NKj: goto jFwp1; goto atdSA; vmVFM: if (!($row = Db::QueryFetch("\123\105\x4c\105\x43\x54\x20\123\x55\x4d\x28\42\124\170\102\171\164\x65\163\x22\51\x20\106\122\117\115\40\42\160\165\x62\x6c\x69\143\x22\x2e\x22\x4c\x6f\x67\x22\x20\x57\x48\x45\122\x45\x20\x28\x22\124\x69\155\x65\163\x74\x61\155\x70\42\x20\x3e\x3d\x20" . $von . "\40\x41\116\x44\40\42\x54\x69\x6d\x65\x73\164\x61\155\160\42\x20\x3e\x3d\x20" . $bis . "\x20\x41\x4e\x44\x20\x22\x43\x6c\x69\145\156\x74\42\40\x3d\40" . $client . "\51"))) { goto AOdIM; } goto KT11i; KT11i: return $row[0]; goto vvT70; vvT70: AOdIM: goto O1NKj; atdSA: case "\x52\x78\124\x78": goto rF3EW; cyMxi: goto jFwp1; goto W5TXQ; D89Cu: mSA6M: goto cyMxi; YCw88: return $row[0] + $row[1]; goto D89Cu; rF3EW: if (!($row = Db::QueryFetch("\123\105\x4c\105\x43\x54\40\x53\125\115\50\42\122\x78\x42\x79\x74\x65\163\x22\51\x2c\x20\123\x55\x4d\x28\42\124\170\x42\x79\164\x65\163\42\51\40\106\x52\117\115\x20\42\x70\x75\142\x6c\x69\143\42\x2e\42\x4c\x6f\x67\x22\x20\127\110\x45\x52\x45\40\x28\x22\124\151\155\145\x73\x74\x61\155\160\x22\x20\x3e\x3d\40" . $von . "\x20\x41\x4e\104\40\x22\x54\151\x6d\145\x73\x74\141\x6d\x70\x22\40\x3e\75\40" . $bis . "\x20\x41\116\104\40\x22\103\x6c\x69\145\156\164\x22\x20\75\40" . $client . "\x29"))) { goto mSA6M; } goto YCw88; W5TXQ: } goto XJVrh; NCN6n: } goto XgZf5; nICSz: function format_domain_name($str) { goto gAxBz; ZIDrg: $wert .= "\137"; goto nuaJy; Q7wDM: goto D9FaA; goto zuyGS; HL5au: pBkrT: goto Q63ND; Tk0L0: $i = 0; goto hdWkr; zuyGS: V25bz: goto Hu2bm; nuaJy: goto pBkrT; goto F01s6; HdHXM: if (preg_match($char, $str[$i])) { goto fFyHG; } goto ZIDrg; Hu2bm: $wert = preg_replace($patt_b, '', $wert); goto KuFj3; Uc8bX: $patt_p = "\57\x5e\x5c\137\52\x2f"; goto wPpBV; L7BdH: $wert .= $str[$i]; goto HL5au; hA0_S: $char = "\x2f\133\141\x2d\x7a\135\174\x5b\x30\x2d\71\135\x2f"; goto XXhbi; KuFj3: $wert = preg_replace($patt_p, '', $wert); goto Y0pL6; F01s6: fFyHG: goto L7BdH; XXhbi: D9FaA: goto IrLEu; IrLEu: if (!($i < $anz)) { goto V25bz; } goto HdHXM; Y0pL6: return $wert; goto ecbr7; U8z7d: $anz = strlen($str); goto Tk0L0; gAxBz: $patt_b = "\57\134\137\52\x24\x2f"; goto Uc8bX; hdWkr: $wert = ''; goto hA0_S; Q63ND: $i++; goto Q7wDM; wPpBV: $str = strtolower($str); goto U8z7d; ecbr7: } goto pcRlv; tKTrl: define("\x62\61", "\142"); goto krVfH; Tk1_s: function access_denied($text = '') { header("\110\124\124\x50\57\x31\56\x30\40\x34\x30\x33\40\x46\157\x72\142\151\144\144\x65\156"); die("\x41\x63\143\145\x73\163\x20\x64\145\x6e\x69\x65\x64\x21\xa\x3c\142\162\76" . $text); } goto UNEl5; ZEsNr: function get_online_status($group = 0, $name = '', $server_protocol = "\x75\x64\160") { goto JYS7r; iILXK: if (!$pptp_status) { goto bmyad; } goto NQo2X; XNBPP: bmyad: goto Xx_b0; MJJ0e: if (!isset($status["\165\163\145\162\x73"])) { goto Gocda; } goto Bt9gZ; JYS7r: if (!(strlen($name) > 0)) { goto KA57b; } goto iUE6Z; iUE6Z: $status = parseOpenVpnConnection("\x31\62\67\x2e\60\x2e\x30\x2e\x31", $server_protocol); goto G1Aey; Xx_b0: BcoXr: goto oXZau; NQo2X: if (!isset($pptp_status["\165\x73\145\x72\163"])) { goto Nt_SH; } goto iCfZ0; ZIEsN: Gocda: goto W2h5K; G1Aey: $pptp_status = parsePPtPConnection($conn); goto liksE; KDACX: Nt_SH: goto XNBPP; liksE: if (!$status) { goto NNQe8; } goto MJJ0e; zYcNo: UQyvi: goto ZIEsN; iCfZ0: foreach ($pptp_status["\x75\x73\145\x72\x73"] as $key => $value) { goto GBB6h; YTzdY: DBIa5: goto bBluV; GBB6h: if (!($value["\103\157\155\155\x6f\x6e\x4e\141\x6d\145"] == "\x5f\137\107\x52\117\125\120\x5f\x5f" . $group . "\x5f\x5f\103\114\111\105\116\124\137\137" . $name)) { goto Mm8Te; } goto dtj_S; dtj_S: return $value; goto R6j9Z; R6j9Z: Mm8Te: goto YTzdY; bBluV: } goto svGUi; lMmUc: if (!PPTP_SUPPORT) { goto BcoXr; } goto iILXK; oXZau: KA57b: goto ZJbyz; Bt9gZ: foreach ($status["\165\163\145\162\x73"] as $key => $value) { goto ZLIj4; R3wLS: return $value; goto fQv0V; fQv0V: qcQwJ: goto OkCre; ZLIj4: if (!($value["\x43\157\x6d\x6d\x6f\x6e\116\x61\x6d\x65"] == "\137\x5f\107\122\117\125\120\137\x5f" . $group . "\137\137\x43\114\x49\x45\x4e\x54\137\137" . $name)) { goto qcQwJ; } goto R3wLS; OkCre: cW5JX: goto OMvpz; OMvpz: } goto zYcNo; ZJbyz: return false; goto mc6y4; svGUi: ERbit: goto KDACX; W2h5K: NNQe8: goto lMmUc; mc6y4: } goto TJCDf; HfZbR: ?>

Function Calls

None

Variables

None

Stats

MD5 b774483646ae276f0ca7926dc183a837
Eval Count 0
Decode Time 126 ms