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 /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  1.8.3   | 
    |              on 2022-04-13 13:30:17              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 goto Enp59; gwbsJ: $uzwiz = null; goto v22tL; hA1xt: $U6lvS = NULL; goto BGdOD; Ncpbp: function printToHtml($Nct0D) { print nl2br(htmlentities($Nct0D)); } goto QOhX4; c8asw: function getIP() { goto y4l32; dJUKI: goto QKXW2; goto BekDd; iiNAn: return $VnYeL; goto X2B7a; Sw68t: goto QKXW2; goto ARAwF; ZtwcZ: if ($VnYeL = getField($_SERVER, "REMOTE_ADDR")) { goto iPDg_; } goto GhwgY; m1HzD: if ($VnYeL = getenv("REMOTE_ADDR")) { goto AtnP1; } goto EETe3; URelM: goto QKXW2; goto IZL6P; EETe3: $VnYeL = NULL; goto zFn23; BCARd: if ($VnYeL = getenv("HTTP_X_FORWARDED_FOR")) { goto UYfMa; } goto m1HzD; IZL6P: AtnP1: goto wrglr; ZgRXZ: iPDg_: goto dJUKI; GhwgY: if ($VnYeL = getenv("HTTP_CLIENT_IP")) { goto ULZx0; } goto BCARd; wrglr: QKXW2: goto iiNAn; ARAwF: UYfMa: goto URelM; y4l32: $VnYeL = NULL; goto ZtwcZ; BekDd: ULZx0: goto Sw68t; zFn23: goto QKXW2; goto ZgRXZ; X2B7a: } goto rXGeV; FpWxr: $tkcKD = NULL; goto z9JQ3; hHQT5: $pcND3 = NULL; goto FpWxr; yQiLf: function trace($cBehf, $tKJk4) { goto P0BnY; y_O7x: goto EDUUz; goto uK5Z3; S3MFm: $gHAWx = $vwKPl[2]; goto h6ctQ; a4sLS: global $EvMTY; goto zNwTs; EGApA: $vwKPl = debug_backtrace(); goto y_O7x; yD0e7: $JwJ91 = date("j-M H:i:s", time()); goto mc75t; zNwTs: if (!($cBehf <= TRACE_LEVEL)) { goto DZ1Fd; } goto FdEx5; mc75t: $Y8jiL = implode($tKJk4); goto YIkkB; oODtO: if (PHP_VERSION_ID > 50400) { goto hBP1D; } goto EGApA; ak9D2: $Y8jiL = "{$JwJ91}:PHP:{$j6tZQ}({$p14K8}):" . $Y8jiL . "\xa"; goto UCjCZ; r68rn: $wXgVV = $EvMTY . "/log_php.txt"; goto yD0e7; BWrAT: $vwKPl = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3); goto k6eUL; UCjCZ: file_put_contents($wXgVV, $Y8jiL, FILE_APPEND); goto RV9j2; RV9j2: DZ1Fd: goto jZ5UM; he710: $p14K8 = $gHAWx["line"]; goto r68rn; P0BnY: global $uzwiz; goto a4sLS; FdEx5: $vwKPl = null; goto oODtO; uK5Z3: hBP1D: goto BWrAT; h6ctQ: $j6tZQ = $gHAWx["function"]; goto he710; k6eUL: EDUUz: goto S3MFm; t3jGb: $Y8jiL = str_replace("	", " ", $Y8jiL); goto ak9D2; YIkkB: $Y8jiL = str_replace("\xa", " ", $Y8jiL); goto t3jGb; jZ5UM: } goto DN3Pg; O_JU4: $OK_jM = NULL; goto rTVo5; iMlt1: $R62g7 = NULL; goto O_JU4; OLc6T: function traceError() { trace(LOG_ERR, func_get_args()); } goto h4QWX; aYpqS: function createLocalhostSocketOnPort($WkFbt, $cLM1R) { goto xQgHe; P1KxK: Dh56m: goto g5cMu; DD4S6: if (!($hGBSq != SOCKET_EINPROGRESS && $hGBSq != SOCKET_EALREADY && $hGBSq != SOCKET_EWOULDBLOCK && $hGBSq != SOCKET_EISCONN)) { goto Dh56m; } goto s2MmW; wypfO: hefYP: goto sBjRB; sBjRB: usleep(10000); goto I0iM8; Fracf: rD1ix: goto zI3jR; fNjvi: forceCloseSocket($QpXh5); goto jvRDF; MQBDC: forceCloseSocket($QpXh5); goto mhZCj; KTDiR: return FALSE; goto MgAyI; mhZCj: traceError("socket_set_option failed"); goto d4me4; EC79E: fqqXS: goto GUJNA; BzBBa: goto rD1ix; goto wypfO; MgAyI: ZnYCO: goto tiRIC; lq31a: if (!($QpXh5 === FALSE)) { goto ZnYCO; } goto r4n2m; MWbtw: $hGBSq = socket_last_error(); goto DD4S6; zlcLp: traceLog("socket_connect SOCKET_EISCONN"); goto CDIFu; tiRIC: if (socket_set_option($QpXh5, SOL_SOCKET, SO_REUSEADDR, 1)) { goto jeWzE; } goto J0Wl2; I0iM8: goto fqqXS; goto Fracf; r4n2m: traceError("socket_create failed"); goto KTDiR; GgN_z: socket_set_nonblock($QpXh5); goto Vkq3V; g5cMu: if (!($hGBSq == SOCKET_EISCONN)) { goto hefYP; } goto zlcLp; AT1oR: traceError("socket_connect failed not SUCCESS " . $hGBSq); goto sa5e5; J6RN2: jeWzE: goto GgN_z; d4me4: return FALSE; goto vch_L; H6gxP: i9Dme: goto OyznJ; czK3F: return FALSE; goto H6gxP; jvRDF: traceError("socket_set_option failed"); goto czK3F; o67pE: $S6sce = socket_set_option($QpXh5, SOL_SOCKET, SO_RCVTIMEO, array("sec" => $cLM1R, "usec" => 0)); goto v_r3i; PBIwP: return FALSE; goto J6RN2; HPTa9: if (!($S6sce == FALSE)) { goto i9Dme; } goto fNjvi; ngyUD: $QpXh5 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); goto lq31a; iLeps: traceError("socket_connect failed after multiple retries, last error:" . $hGBSq); goto pWXdg; v_r3i: if (!($S6sce == FALSE)) { goto RGOsR; } goto MQBDC; Fn3sP: forceCloseSocket($QpXh5); goto iLeps; OyznJ: return $QpXh5; goto pvphk; GUJNA: if (!(!($c1Uuj = socket_connect($QpXh5, $fteEy->{"CUX_SERVICE_IP"}, $WkFbt)) && $i68uf++ < 300)) { goto rD1ix; } goto MWbtw; Vkq3V: $i68uf = 0; goto EC79E; pWXdg: return FALSE; goto oleQ8; CDIFu: $c1Uuj = TRUE; goto BzBBa; mO4lV: socket_set_block($QpXh5); goto o67pE; zI3jR: if ($c1Uuj) { goto APdwr; } goto Fn3sP; sa5e5: return FALSE; goto P1KxK; J0Wl2: traceError("socket_set_option failed"); goto PBIwP; s2MmW: forceCloseSocket($QpXh5); goto AT1oR; oleQ8: APdwr: goto mO4lV; xQgHe: global $fteEy; goto mzFU8; ckmRq: $S6sce = socket_set_option($QpXh5, SOL_SOCKET, SO_SNDTIMEO, array("sec" => 10, "usec" => 0)); goto HPTa9; vch_L: RGOsR: goto ckmRq; mzFU8: traceLog("trying to connect to port " . $WkFbt . "..."); goto ngyUD; pvphk: } goto jPYb2; h4QWX: function traceLog() { trace(LOG_DEBUG, func_get_args()); } goto c8asw; CiF56: function cppEventPush() { goto kCEuZ; bJHvv: $kHiPI["result"] = "OK"; goto S3Ura; x0tmp: if ($lHUZb === FALSE) { goto SMQJ3; } goto lG23c; hd1W_: $lHUZb = createLocalhostSocketOnPort($fteEy->{CUX_SERVICE_PORT_PUSH}, 30); goto x0tmp; zJtWg: d1lgP: goto XPwTu; EJNS1: SMQJ3: goto UyXD_; ARTRi: iEdeA: goto HC5Qb; iYzTv: parse_str($RZhtv, $Jfid6); goto WqVmB; RREGY: G_Mb8: goto IlioW; k7r_g: $kHiPI["result"] = "OK"; goto c7cxT; S3Ura: ZYfgi: goto OBYM8; HC5Qb: $QLW7C = json_encode(array()); goto Q2OG0; DWdh5: $kHiPI = array(); goto Av9uY; Av9uY: if (STUB_EVENT_PUSH) { goto d1lgP; } goto hd1W_; Q2OG0: TzRP9: goto sH3p1; z2sm2: global $leAtG; goto nRWCL; TGy5k: $UTSs_ = objToQuery(array("session" => $leAtG), true); goto Q_wHR; Q_wHR: $RZhtv = cppExchange($lHUZb, $UTSs_, $U6lvS); goto DitOh; mLmhM: forceCloseSocket($lHUZb); goto ZAgyy; IlioW: goto ZYfgi; goto zJtWg; EwWoW: $kHiPI[JSON_RPC_FIELD_NAME] = json_encode(null); goto RREGY; ZAgyy: if ($RZhtv === null) { goto iEdeA; } goto iYzTv; sH3p1: $kHiPI[JSON_RPC_FIELD_NAME] = $QLW7C; goto k7r_g; lG23c: $U6lvS = 0; goto TGy5k; DitOh: $RZhtv = cppExchange($lHUZb, null, $U6lvS, true); goto mLmhM; OBYM8: return $kHiPI; goto kKe2Q; v82A3: goto TzRP9; goto ARTRi; WqVmB: $EaIZh = $Jfid6[JSON_RPC_FIELD_NAME]; goto QFUS1; QFUS1: $QLW7C = $EaIZh; goto v82A3; lR53v: global $U6lvS; goto DWdh5; XPwTu: sleep(20); goto vqQsT; kCEuZ: global $fteEy; goto z2sm2; vqQsT: $kHiPI[JSON_RPC_FIELD_NAME] = json_encode(array()); goto bJHvv; c7cxT: goto G_Mb8; goto EJNS1; UyXD_: $kHiPI["result"] = PhpErrorCodes::LTK_CPP_CONNECT_FAIL; goto EwWoW; nRWCL: global $lHUZb; goto lR53v; kKe2Q: } goto Xb8QO; afO1U: function cppFunction($iji0T, $SRxbA, $YXhQb = false) { goto NglO3; QSkuH: global $U6lvS; goto Sw4EW; aPswL: global $leAtG; goto k9F8O; zBO6p: bGO38: goto nb_Dd; k9F8O: global $fteEy; goto UQqGF; aXAZj: goto WGFOC; goto zBO6p; SWTCX: SPxCP: goto CDNql; Sw4EW: if (!($q1SHi === null && !$T4sH7)) { goto cKnrB; } goto qlF0G; qlF0G: $q1SHi = createLocalhostSocketOnPort($fteEy->{CUX_SERVICE_PORT_CALL}, 4); goto gKCH2; qGM25: $q1SHi = null; goto l3UCe; gKCH2: if ($q1SHi === FALSE) { goto ArpXv; } goto OhwLX; aMUeJ: cKnrB: goto yzxTO; Ltb75: $RZhtv = cppExchange($q1SHi, $UTSs_, $U6lvS); goto f0N0x; f6_2a: $RZhtv = cppExchange($q1SHi, $UTSs_, $U6lvS); goto bV3pm; ZER8j: $U6lvS = 2; goto B89RZ; oeDZk: $EaIZh = prepareJsonResult($iji0T->{"id"}, null, JsonRpcErrorCodes::INTERNAL_ERROR); goto DLNPJ; FRDNo: $NcrxY = socket_last_error(); goto AE_Zy; d38mp: l1uIZ: goto FG6Ec; yHRe2: forceCloseSocket($q1SHi); goto iAV4U; qaA63: goto l1uIZ; goto LNEDT; bV3pm: if ($RZhtv === null) { goto bGO38; } goto aXAZj; HtfCk: $U6lvS = 0; goto f6_2a; iAV4U: $q1SHi = null; goto w3IuS; vg3fP: $EaIZh = $Jfid6["jsonRpcResult"]; goto MUZXG; DLNPJ: UQrOE: goto qaA63; OhwLX: $UTSs_ = objToQuery(array("session" => $YXhQb ? $leAtG : $uzwiz), true); goto HtfCk; FhDYn: $q1SHi = null; goto Hs8jl; fHuSi: ArpXv: goto FhDYn; UXybK: goto UQrOE; goto f2aMO; yzxTO: if ($q1SHi === null) { goto zRjdS; } goto ZER8j; KHe_h: parse_str($RZhtv, $Jfid6); goto vg3fP; Hs8jl: $T4sH7 = TRUE; goto SSbSx; AE_Zy: traceError("$socket_call is null"); goto Jo6Ke; nb_Dd: forceCloseSocket($q1SHi); goto qGM25; CDNql: $EaIZh = json_encode($UTZ2D, JSON_NUMERIC_CHECK); goto UXybK; LNEDT: zRjdS: goto FRDNo; UQqGF: global $q1SHi; goto QSAah; SSbSx: Vld1_: goto aMUeJ; w3IuS: $T4sH7 = FALSE; goto SWTCX; FG6Ec: return $EaIZh; goto Lrc1n; VSdyP: $UTZ2D->{"id"} = $iji0T->{"id"}; goto j3XHQ; NglO3: global $uzwiz; goto aPswL; QSAah: global $T4sH7; goto QSkuH; Szil8: goto Vld1_; goto fHuSi; f0N0x: if ($RZhtv === null) { goto mnKIs; } goto KHe_h; MUZXG: $UTZ2D = json_decode($EaIZh, false, 512, JSON_BIGINT_AS_STRING); goto VSdyP; B89RZ: $UTSs_ = objToQuery(array("jsonRpc" => $SRxbA), true); goto Ltb75; l3UCe: $T4sH7 = TRUE; goto FKEGC; FKEGC: WGFOC: goto Szil8; j3XHQ: if (!("timeout" === $UTZ2D->{"error"})) { goto SPxCP; } goto yHRe2; Jo6Ke: $EaIZh = prepareJsonResult($iji0T->{"id"}, "SOCKET ERROR " . $NcrxY, JsonRpcErrorCodes::INTERNAL_ERROR); goto d38mp; f2aMO: mnKIs: goto oeDZk; Lrc1n: } goto ahBmF; pUxVS: $T4sH7 = FALSE; goto bd1ki; bCSk6: function main() { goto Atvu_; Ql80r: global $lHUZb; goto QkuEo; q6s4h: print jsError("no requestType field"); goto mMOhd; Vb8xp: header("Pragma: no-cache"); goto RmKot; iXNl2: die; goto Twdnu; UJGCY: print jsError("session_id failed."); goto VeqsS; mczFo: die; goto iU2Bh; RmKot: header("Expires: 0"); goto vOZ2j; iU2Bh: rJjrB: goto YHNgw; ppz1G: if (!($leAtG === '')) { goto bTsFb; } goto UJGCY; RFlVf: switch ($WhuOj) { case ReqType::CALL: goto HfJd6; vBAhu: if (!($Uw7Ks == null)) { goto sSP8e; } goto PsnZP; Qo0Uk: v0Fte: goto Os86q; PTzhh: print $lOOlF; goto lf1S2; BruTJ: $C5q0C = 0; goto N547y; aD4NF: $ZR39o = routeFunction($iji0T); goto Pauhu; v21SE: if (!($C5q0C < count($Uw7Ks))) { goto v0Fte; } goto QftzZ; QftzZ: $iji0T = $Uw7Ks[$C5q0C]; goto aD4NF; HfJd6: $Uw7Ks = getField($_REQUEST, JSON_RPC_FIELD_NAME); goto vBAhu; odMLK: print jsError("no jsonRpcTable field"); goto nGIUT; nGIUT: goto roma6; goto rRGNo; uCCfe: $lOOlF = objToQuery($Sus0A); goto PTzhh; wkazd: close_product_preferences(); goto iieSb; rc1ph: $P1j84 = array(); goto BruTJ; sGJhH: rqQNd: goto uMUhL; Os86q: close_preferences(); goto wkazd; Pauhu: array_push($P1j84, $ZR39o); goto sGJhH; Vp7Cq: goto r_Y9H; goto Qo0Uk; PsnZP: traceError("no jsonRpcTable field"); goto XAVdx; VVtgK: $Sus0A["result"] = "OK"; goto uCCfe; lf1S2: goto roma6; goto fXLsJ; uMUhL: $C5q0C++; goto Vp7Cq; rRGNo: sSP8e: goto rc1ph; neDyJ: $Sus0A["jsonRpcResultTable"] = $P1j84; goto VVtgK; XAVdx: traceError("$_REQUEST:" . print_r($_REQUEST, TRUE)); goto odMLK; iieSb: $Sus0A = array(); goto neDyJ; N547y: r_Y9H: goto v21SE; fXLsJ: case ReqType::GET_EVENT: goto Plv4j; wneh_: goto roma6; goto Z1a_u; JtHin: $lOOlF = objToQuery($kHiPI); goto Jv4me; Plv4j: close_preferences(); goto HXuhp; rd3rF: if ($g0EWS >= 0) { goto N38al; } goto ZqLSv; Z1a_u: goto y71RO; goto XH2YC; XH2YC: N38al: goto jb779; jb779: $kHiPI = cppEventPush(); goto JtHin; ZqLSv: print jsError("incorrect tabId field value."); goto wneh_; Jv4me: print $lOOlF; goto XwlS3; i2q6F: goto roma6; goto LM6Bx; HXuhp: close_product_preferences(); goto o1HSC; XwlS3: y71RO: goto i2q6F; o1HSC: session_write_close(); goto rd3rF; LM6Bx: default: goto AQjjE; AQjjE: close_preferences(); goto kYay3; upG2d: print jsError("incorrect " . REQ_TYPE . " field value."); goto eqiGr; kYay3: close_product_preferences(); goto upG2d; eqiGr: goto roma6; goto sEYDi; sEYDi: } goto Bd18Q; uLPEr: if (!($XoFFN === FALSE)) { goto r5Eg9; } goto QzqP9; s29EC: die; goto toHHu; toHHu: Bwqo2: goto OIXRb; Twdnu: r5Eg9: goto O10gn; cmPrn: bTsFb: goto l3UgM; p1j5n: $NhBLt = getField($_SERVER, "QUERY_STRING"); goto VwhsT; jCO03: $leAtG = session_id(); goto ppz1G; q90nD: if (!($g0EWS == null)) { goto iF9eP; } goto mQXnJ; mQXnJ: print jsError("no tabId field"); goto PTPGM; PTPGM: die; goto A0R1D; XtSwH: $Lm_Gw = session_start(); goto ABvzT; VwhsT: if (!($NhBLt == null)) { goto xvhHe; } goto oTK5W; GRotG: if (!($WhuOj == null)) { goto ibaqE; } goto q6s4h; TZ5bh: print jsError("session_start failed."); goto mczFo; YHNgw: $EvMTY = ini_get("sys_temp_dir"); goto f4DLK; QzqP9: print jsError("load_preferences failed."); goto iXNl2; omWk4: roma6: goto BHfdQ; gNt0H: die; goto GAovb; xaegB: YT5Mi: goto RFlVf; ABvzT: if ($Lm_Gw) { goto rJjrB; } goto TZ5bh; crxXB: global $q1SHi; goto Ql80r; IcQSL: global $EvMTY; goto o9Edk; mMOhd: die; goto gRUu9; gRUu9: ibaqE: goto a4AS9; VeqsS: die; goto cmPrn; ugy8c: $WhuOj = getField($_REQUEST, REQUEST_TYPE_FIELD_NAME); goto GRotG; yzCs0: header("Content-type: text/plain"); goto XtSwH; vOZ2j: header("X-UA-Compatible: IE=edge,chrome=1"); goto yzCs0; OIXRb: error_reporting(E_ALL ^ E_WARNING); goto p1j5n; a4AS9: $g0EWS = getField($_REQUEST, TAB_ID_FIELD_NAME); goto q90nD; o9Edk: global $fteEy; goto hc9H0; Bd18Q: zSQzl: goto omWk4; W1OH2: print jsError("load_product_preferences failed."); goto N02Uf; A0R1D: iF9eP: goto jCO03; GAovb: xvhHe: goto ugy8c; hc9H0: global $leAtG; goto crxXB; nbjEX: $XoFFN = load_preferences(); goto uLPEr; f4DLK: if (!($EvMTY === '' || $EvMTY === false)) { goto Bwqo2; } goto sLLSS; D0Wcb: if (!($XoFFN === FALSE)) { goto YT5Mi; } goto W1OH2; oTK5W: print jsError("no js query"); goto gNt0H; BHfdQ: forceCloseSocket($q1SHi); goto ijdcR; Atvu_: global $uzwiz; goto IcQSL; N02Uf: die; goto xaegB; ijdcR: forceCloseSocket($lHUZb); goto dbYG5; sLLSS: print jsError("sys_temp_dir undefined"); goto s29EC; l3UgM: $uzwiz = $leAtG . "_" . $g0EWS; goto nbjEX; QkuEo: header("Cache-Control: no-cache, no-store, must-revalidate"); goto Vb8xp; O10gn: $XoFFN = load_product_preferences(); goto D0Wcb; dbYG5: } goto q3S59; DN3Pg: function traceWarn() { trace(LOG_WARNING, func_get_args()); } goto OLc6T; z9JQ3: $AUeSC = NULL; goto iMlt1; ahBmF: function routeFunction($SRxbA) { goto Nuy1l; lXH_i: SDUWL: goto LVkKH; Ie4rt: if (in_array($dyKMC, getPhpFunctions())) { goto s8Nnu; } goto B_V7e; bSzV1: $iji0T->{"params"} = array(); goto WiKgX; xKr47: $ZR39o = json_encode($kHiPI); goto r0OpH; QyEZw: $dyKMC = $iji0T->{"method"}; goto K5MOD; Wpv6A: $ZR39o = json_encode($kHiPI); goto YGtr7; GL8ca: $kHiPI->{"result"} = null; goto ppyBp; nq5Lc: $kHiPI->{"result"} = null; goto vJ7YB; Z74Oq: $ZR39o = json_encode($kHiPI); goto WV1a2; FcIew: KIKut: goto ZI_2K; oJymY: $EJMtg = in_array($dyKMC, array(LTK_BOX_COMMAND_CtxGetLockState, LTK_BOX_COMMAND_CtxSetLockedForMe)); goto a5SDJ; udJvD: traceLog("routeFunction> $returnObj_str:" . $ZR39o); goto WqmLK; d2VsF: $kHiPI->{"id"} = property_exists($iji0T, "id") ? $iji0T->{"id"} : null; goto xKr47; B_V7e: if (in_array($dyKMC, $xsLBh)) { goto z78r5; } goto mWDT4; JUAVk: $ZR39o = json_encode($kHiPI); goto BvbOy; BvbOy: goto qYlLD; goto XSslY; qA6KD: $kHiPI->{"id"} = $iji0T->{"id"}; goto UJPWp; ppyBp: $kHiPI->{"error"} = JsonRpcErrorCodes::OK; goto U0P5J; xn5XK: $kHiPI = Ltk_cppStubsFunction($iji0T); goto bUu8q; TuuJs: goto cr76k; goto HueTE; mWDT4: if (in_array($dyKMC, getCppStubs())) { goto w5j3s; } goto ieXrZ; fm7La: w5j3s: goto N3czj; npFaa: $kHiPI->{"error"} = JsonRpcErrorCodes::INVALID_REQUEST; goto d2VsF; HueTE: PqBN5: goto Vzp91; Rj4kU: if (in_array($dyKMC, $AauQs)) { goto Ibqs6; } goto Ie4rt; P5twp: goto qYlLD; goto LgdwK; LVkKH: if ($Z6wV_) { goto PqBN5; } goto HykXL; WV1a2: qYlLD: goto TC6M3; U0P5J: $kHiPI->{"id"} = $iji0T->{"id"}; goto oQjBz; r0OpH: fzJoo: goto udJvD; WiKgX: Qw4Bc: goto QyEZw; YGtr7: goto qYlLD; goto svqQt; m2i5O: $kHiPI->{"error"} = JsonRpcErrorCodes::METHOD_NOT_FOUND; goto S5rya; TC6M3: cr76k: goto u6KsQ; T56Q1: $kHiPI->{"result"} = null; goto m2i5O; LL0Ev: $Z6wV_ = getCurrentPrivilege() >= $tPKdE[$dyKMC]; goto lXH_i; sAZQk: $kHiPI = Ltk_phpFunction($iji0T); goto JUAVk; XSslY: s8Nnu: goto akbiU; S5rya: $kHiPI->{"id"} = $iji0T->{"id"}; goto jlqiP; akbiU: $kHiPI = Product_phpFunction($iji0T); goto Wpv6A; SENht: if (!array_key_exists($dyKMC, $tPKdE)) { goto SDUWL; } goto LL0Ev; rgEdr: $iji0T = json_decode($SRxbA); goto XMwZR; WqmLK: return $ZR39o; goto U36Me; h2T86: if (!(property_exists($iji0T, "id") && property_exists($iji0T, "method") && (!property_exists($iji0T, "params") || is_array($iji0T->{"params"})))) { goto KIKut; } goto GL8ca; ieXrZ: $kHiPI = new stdClass(); goto T56Q1; ilAOg: goto qYlLD; goto I_i3M; oQjBz: if (property_exists($iji0T, "params")) { goto Qw4Bc; } goto bSzV1; HykXL: $kHiPI = new stdClass(); goto nq5Lc; rYVnx: goto qYlLD; goto fm7La; u6KsQ: goto fzJoo; goto FcIew; Nuy1l: global $G76cY, $AauQs, $xsLBh, $tPKdE; goto OjeXb; ZI_2K: $kHiPI->{"result"} = null; goto npFaa; jlqiP: $ZR39o = json_encode($kHiPI); goto ilAOg; LgdwK: Ibqs6: goto sAZQk; vJ7YB: $kHiPI->{"error"} = JsonRpcErrorCodes::INSUFFICIENT_PRIVILEGE; goto qA6KD; a5SDJ: $ZR39o = cppFunction($iji0T, $SRxbA, $EJMtg); goto P5twp; XMwZR: $kHiPI = new stdClass(); goto h2T86; svqQt: z78r5: goto xn5XK; UJPWp: $ZR39o = json_encode($kHiPI); goto TuuJs; OjeXb: traceLog("routeFunction>" . $SRxbA); goto rgEdr; N3czj: $kHiPI = Product_cppStubsFunction($iji0T); goto Z74Oq; K5MOD: $Z6wV_ = TRUE; goto SENht; Vzp91: if (in_array($dyKMC, $G76cY)) { goto MNc68; } goto Rj4kU; I_i3M: MNc68: goto oJymY; bUu8q: $ZR39o = json_encode($kHiPI); goto rYVnx; U36Me: } goto Gn2mY; QOhX4: function getField($hxsre, $PEcDk) { return isset($hxsre[$PEcDk]) ? $hxsre[$PEcDk] : null; } goto tAffS; MXG4j: include "php_functions.php"; goto gwbsJ; jPYb2: function prepareJsonResult($gF_uK, $eykPw, $hGBSq) { goto YkfEk; EMMt1: $UTZ2D->{"result"} = $eykPw; goto oqkNR; oqkNR: $UTZ2D->{"error"} = $hGBSq; goto C4rQs; YkfEk: $UTZ2D = new stdClass(); goto TYtnF; TYtnF: $UTZ2D->{"id"} = $gF_uK; goto EMMt1; C4rQs: return json_encode($UTZ2D); goto hr0eh; hr0eh: } goto CiF56; AOTix: function forceCloseSocket(&$QpXh5) { goto JZRjX; FN2dX: socket_shutdown($QpXh5); goto yyGhI; GttsV: socket_set_block($QpXh5); goto mn83z; JZRjX: if (!$QpXh5) { goto ffEqI; } goto GttsV; XP9wU: $QpXh5 = NULL; goto qoVEn; qoVEn: ffEqI: goto Ks0eo; yyGhI: socket_close($QpXh5); goto XP9wU; hv5HE: socket_set_option($QpXh5, SOL_SOCKET, SO_LINGER, $W2K2d); goto FN2dX; mn83z: $W2K2d = array("l_onoff" => 1, "l_linger" => 0); goto hv5HE; Ks0eo: } goto aYpqS; BGdOD: function jsResult($eykPw) { goto U3f2C; QMasX: $iQCkm = implode($RYeIn); goto y5PSy; V4mzy: return $Lm_Gw; goto nb2pV; ruCkC: $RYeIn = func_get_args(); goto etgKC; U3f2C: $Lm_Gw = "result=" . urlencode($eykPw); goto ruCkC; y5PSy: $Lm_Gw .= "&desc=" . urlencode($iQCkm); goto V4mzy; etgKC: array_shift($RYeIn); goto QMasX; nb2pV: } goto R7cdn; R7cdn: function jsError($oWgxZ) { traceError($oWgxZ); return jsResult("PHP_ERROR", $oWgxZ); } goto Ncpbp; Gn2mY: function objToQuery($D9431, $qDHG6 = false) { goto C53IT; hsrTs: $UTSs_ = str_replace("%22", """, $UTSs_); goto efeJX; QzJuX: $UTSs_ = str_replace("%5B", "[", $UTSs_); goto mgFHz; FJOiS: if (!$qDHG6) { goto hnAMU; } goto kQQz7; LjeoJ: $UTSs_ = str_replace("%3A", ":", $UTSs_); goto gXeHM; mgFHz: $UTSs_ = str_replace("%5D", "]", $UTSs_); goto FJOiS; kQQz7: $UTSs_ = str_replace("+", "%20", $UTSs_); goto BAprH; C53IT: $UTSs_ = http_build_query($D9431); goto QzJuX; gXeHM: return $UTSs_; goto l86qu; pRhs_: $UTSs_ = str_replace("%7D", "}", $UTSs_); goto LjeoJ; ADWf0: $UTSs_ = str_replace("%2C", ",", $UTSs_); goto hsrTs; efeJX: $UTSs_ = str_replace("%7B", "{", $UTSs_); goto pRhs_; BAprH: hnAMU: goto ADWf0; l86qu: } goto bCSk6; v22tL: $EvMTY = null; goto ksbiG; Xb8QO: function Ltk_internal_cpp_call($t4iQc) { goto udWlm; P_NVc: $adEdY = $y_6Dl->{"result"}; goto xhoBR; xhoBR: return $adEdY; goto INfLh; iOV_S: traceLog("$t_commandStr:", $CoWOB); goto lK59D; oWkIf: $ETuNm = $t4iQc->{"method"}; goto Pr2pT; Ukcfx: $y_6Dl = json_decode($SpzPB); goto P_NVc; udWlm: traceLog("Ltk_internal_cpp_call>"); goto oWkIf; lK59D: $SpzPB = cppFunction($t4iQc, $CoWOB); goto FJLBO; FJLBO: traceLog("$t_request_result_str:", $SpzPB); goto Ukcfx; Pr2pT: $CoWOB = json_encode($t4iQc); goto iOV_S; INfLh: } goto afO1U; bd1ki: $lHUZb = NULL; goto hA1xt; rXGeV: function cppRead($QpXh5, $JGD2k) { goto hHtz0; ulRru: goto IbtAp; goto e94Xg; E8UaJ: if (!($GLfNG === FALSE || $GLfNG === '')) { goto LsyGn; } goto NxJoC; NxJoC: $LcQCt = socket_last_error(); goto IovNh; FACX2: return null; goto ulRru; YvXVb: return $JGD2k; goto dJ4_D; zPrCM: return null; goto TPvye; hHtz0: $GLfNG = socket_read($QpXh5, 1024); goto E8UaJ; GBbI2: LsyGn: goto snBcZ; TPvye: IbtAp: goto GBbI2; slddH: traceLog("cppExchange timeout making up OK empty response."); goto zPrCM; ESFOX: traceWarn("cppExchange error"); goto FACX2; e94Xg: nSU0A: goto slddH; snBcZ: $JGD2k .= $GLfNG; goto YvXVb; IovNh: $xg9sx = socket_strerror($LcQCt); goto umC21; umC21: if ($LcQCt === EAGAIN) { goto nSU0A; } goto ESFOX; dJ4_D: } goto wboLm; wboLm: function cppExchange($QpXh5, $UTSs_, $U6lvS, $VkE8o = FALSE) { goto iTCx6; Gx_ea: $JGD2k = ''; goto aG6r1; Alf8j: if ($vwYNp === 0) { goto HvIXm; } goto aKkv0; Fh8zq: goto K21Yg; goto P5ztM; P5ztM: koMUq: goto KqAps; QjuWz: $mQTxr = NULL; goto iiqja; ZUHdl: $lOOlF = substr($JGD2k, 0, strlen($JGD2k) - 1); goto yFs_C; Ta6U6: traceWarn("cppExchange error"); goto aedKV; Yq0If: if ($vwYNp > 0) { goto qELD8; } goto Alf8j; RLZ_n: goto t15v3; goto trDtq; p7oWZ: return null; goto j5M07; D4vmz: $GLfNG = $UTSs_ . "$"; goto zlwDX; GmFCL: wSnO4: goto fuVWJ; iTCx6: if ($VkE8o) { goto yn1pm; } goto D4vmz; Wm5zC: qELD8: goto bYKas; neiek: HvIXm: goto nYMRI; CV6CG: if ($U6lvS > 0) { goto pHmfD; } goto Uili7; ohIvo: p0jYm: goto a0_tj; ZBKXV: if ($Qqeyu === FALSE) { goto GCNTE; } goto QXlMt; IUonM: goto YDo0Z; goto ex26R; OKALB: if (!strlen($GLfNG)) { goto koMUq; } goto K3sIj; yFs_C: return $lOOlF; goto ZlqwM; zlwDX: K21Yg: goto OKALB; nYMRI: $JGD2k = "jsonRpcResult=%7B%22result%22%3A%5B%5D%2C%22error%22%3A%22timeout%22%2C%22id%22%3A1%7D$"; goto GmFCL; aedKV: return null; goto ohIvo; c8W7M: qy1OY: goto VDVjc; VDVjc: L84j1: goto IUonM; j5M07: t15v3: goto Fh8zq; aG6r1: YDo0Z: goto sN3xa; trDtq: GCNTE: goto x9PgA; C_f9r: $vwYNp = socket_select($av8tV, $mQTxr, $QbRrW, $U6lvS); goto Yq0If; x9PgA: traceError("socket_write failed (returned {$Qqeyu})"); goto p7oWZ; ex26R: hVauE: goto ZUHdl; Uili7: $JGD2k = cppRead($QpXh5, $JGD2k); goto PVbGC; sN3xa: if (!(strlen($JGD2k) == 0 || substr($JGD2k, -1) != "$")) { goto hVauE; } goto CV6CG; a0_tj: goto wSnO4; goto neiek; iiqja: $QbRrW = NULL; goto C_f9r; aKkv0: if (!($vwYNp === FALSE)) { goto p0jYm; } goto Ta6U6; Rdoj2: pHmfD: goto tgR_d; PVbGC: goto L84j1; goto Rdoj2; KqAps: yn1pm: goto Gx_ea; K3sIj: $Qqeyu = socket_write($QpXh5, $GLfNG); goto ZBKXV; bYKas: $JGD2k = cppRead($QpXh5, $JGD2k); goto c8W7M; QXlMt: $GLfNG = substr($GLfNG, $Qqeyu); goto RLZ_n; tgR_d: $av8tV = array($QpXh5); goto QjuWz; fuVWJ: goto qy1OY; goto Wm5zC; ZlqwM: } goto AOTix; Enp59: include "php_defines.php"; goto MXG4j; tAffS: function redirect($MDCO1, $kkIwb = 303) { header("Location: " . $MDCO1, true, $kkIwb); die; } goto yQiLf; rTVo5: $leAtG = NULL; goto yw192; ksbiG: $fteEy = NULL; goto hHQT5; yw192: $q1SHi = null; goto pUxVS; q3S59: main(); 
 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  1.8.3   |
    |              on 2022-04-13 13:30:17              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto Enp59; gwbsJ: $uzwiz = null; goto v22tL; hA1xt: $U6lvS = NULL; goto BGdOD; Ncpbp: function printToHtml($Nct0D) { print nl2br(htmlentities($Nct0D)); } goto QOhX4; c8asw: function getIP() { goto y4l32; dJUKI: goto QKXW2; goto BekDd; iiNAn: return $VnYeL; goto X2B7a; Sw68t: goto QKXW2; goto ARAwF; ZtwcZ: if ($VnYeL = getField($_SERVER, "\122\105\115\x4f\124\x45\137\x41\104\x44\122")) { goto iPDg_; } goto GhwgY; m1HzD: if ($VnYeL = getenv("\122\x45\115\117\124\105\137\101\x44\x44\x52")) { goto AtnP1; } goto EETe3; URelM: goto QKXW2; goto IZL6P; EETe3: $VnYeL = NULL; goto zFn23; BCARd: if ($VnYeL = getenv("\110\x54\x54\120\137\x58\137\106\x4f\x52\x57\101\122\104\105\x44\137\106\x4f\122")) { goto UYfMa; } goto m1HzD; IZL6P: AtnP1: goto wrglr; ZgRXZ: iPDg_: goto dJUKI; GhwgY: if ($VnYeL = getenv("\x48\x54\x54\120\137\x43\114\111\105\116\x54\x5f\111\x50")) { goto ULZx0; } goto BCARd; wrglr: QKXW2: goto iiNAn; ARAwF: UYfMa: goto URelM; y4l32: $VnYeL = NULL; goto ZtwcZ; BekDd: ULZx0: goto Sw68t; zFn23: goto QKXW2; goto ZgRXZ; X2B7a: } goto rXGeV; FpWxr: $tkcKD = NULL; goto z9JQ3; hHQT5: $pcND3 = NULL; goto FpWxr; yQiLf: function trace($cBehf, $tKJk4) { goto P0BnY; y_O7x: goto EDUUz; goto uK5Z3; S3MFm: $gHAWx = $vwKPl[2]; goto h6ctQ; a4sLS: global $EvMTY; goto zNwTs; EGApA: $vwKPl = debug_backtrace(); goto y_O7x; yD0e7: $JwJ91 = date("\152\x2d\115\40\110\72\x69\x3a\163", time()); goto mc75t; zNwTs: if (!($cBehf <= TRACE_LEVEL)) { goto DZ1Fd; } goto FdEx5; mc75t: $Y8jiL = implode($tKJk4); goto YIkkB; oODtO: if (PHP_VERSION_ID > 50400) { goto hBP1D; } goto EGApA; ak9D2: $Y8jiL = "{$JwJ91}\72\120\110\120\72{$j6tZQ}\50{$p14K8}\51\72" . $Y8jiL . "\xa"; goto UCjCZ; r68rn: $wXgVV = $EvMTY . "\x2f\x6c\x6f\147\137\160\150\160\x2e\x74\x78\164"; goto yD0e7; BWrAT: $vwKPl = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 3); goto k6eUL; UCjCZ: file_put_contents($wXgVV, $Y8jiL, FILE_APPEND); goto RV9j2; RV9j2: DZ1Fd: goto jZ5UM; he710: $p14K8 = $gHAWx["\154\x69\x6e\145"]; goto r68rn; P0BnY: global $uzwiz; goto a4sLS; FdEx5: $vwKPl = null; goto oODtO; uK5Z3: hBP1D: goto BWrAT; h6ctQ: $j6tZQ = $gHAWx["\x66\165\x6e\143\x74\151\x6f\156"]; goto he710; k6eUL: EDUUz: goto S3MFm; t3jGb: $Y8jiL = str_replace("\11", "\x20", $Y8jiL); goto ak9D2; YIkkB: $Y8jiL = str_replace("\xa", "\40", $Y8jiL); goto t3jGb; jZ5UM: } goto DN3Pg; O_JU4: $OK_jM = NULL; goto rTVo5; iMlt1: $R62g7 = NULL; goto O_JU4; OLc6T: function traceError() { trace(LOG_ERR, func_get_args()); } goto h4QWX; aYpqS: function createLocalhostSocketOnPort($WkFbt, $cLM1R) { goto xQgHe; P1KxK: Dh56m: goto g5cMu; DD4S6: if (!($hGBSq != SOCKET_EINPROGRESS && $hGBSq != SOCKET_EALREADY && $hGBSq != SOCKET_EWOULDBLOCK && $hGBSq != SOCKET_EISCONN)) { goto Dh56m; } goto s2MmW; wypfO: hefYP: goto sBjRB; sBjRB: usleep(10000); goto I0iM8; Fracf: rD1ix: goto zI3jR; fNjvi: forceCloseSocket($QpXh5); goto jvRDF; MQBDC: forceCloseSocket($QpXh5); goto mhZCj; KTDiR: return FALSE; goto MgAyI; mhZCj: traceError("\163\x6f\x63\153\145\x74\137\x73\x65\164\x5f\157\x70\x74\x69\157\x6e\40\146\x61\151\x6c\x65\144"); goto d4me4; EC79E: fqqXS: goto GUJNA; BzBBa: goto rD1ix; goto wypfO; MgAyI: ZnYCO: goto tiRIC; lq31a: if (!($QpXh5 === FALSE)) { goto ZnYCO; } goto r4n2m; MWbtw: $hGBSq = socket_last_error(); goto DD4S6; zlcLp: traceLog("\163\x6f\x63\x6b\x65\x74\137\x63\x6f\156\x6e\145\143\x74\40\123\x4f\103\x4b\105\124\137\x45\x49\123\103\117\x4e\x4e"); goto CDIFu; tiRIC: if (socket_set_option($QpXh5, SOL_SOCKET, SO_REUSEADDR, 1)) { goto jeWzE; } goto J0Wl2; I0iM8: goto fqqXS; goto Fracf; r4n2m: traceError("\163\x6f\143\x6b\x65\x74\x5f\143\162\x65\141\164\145\40\146\x61\151\x6c\x65\x64"); goto KTDiR; GgN_z: socket_set_nonblock($QpXh5); goto Vkq3V; g5cMu: if (!($hGBSq == SOCKET_EISCONN)) { goto hefYP; } goto zlcLp; AT1oR: traceError("\x73\x6f\x63\x6b\x65\164\137\143\x6f\x6e\156\x65\143\164\40\146\x61\151\x6c\x65\144\40\156\x6f\164\40\x53\x55\103\103\105\123\123\40" . $hGBSq); goto sa5e5; J6RN2: jeWzE: goto GgN_z; d4me4: return FALSE; goto vch_L; H6gxP: i9Dme: goto OyznJ; czK3F: return FALSE; goto H6gxP; jvRDF: traceError("\x73\157\x63\x6b\x65\x74\x5f\x73\x65\x74\x5f\157\x70\164\x69\157\x6e\x20\146\141\x69\x6c\145\x64"); goto czK3F; o67pE: $S6sce = socket_set_option($QpXh5, SOL_SOCKET, SO_RCVTIMEO, array("\x73\145\143" => $cLM1R, "\165\163\x65\143" => 0)); goto v_r3i; PBIwP: return FALSE; goto J6RN2; HPTa9: if (!($S6sce == FALSE)) { goto i9Dme; } goto fNjvi; ngyUD: $QpXh5 = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); goto lq31a; iLeps: traceError("\x73\x6f\143\153\x65\164\137\x63\x6f\x6e\x6e\145\x63\164\x20\146\x61\151\x6c\145\144\40\141\x66\x74\145\x72\x20\155\165\154\x74\151\160\154\145\40\162\x65\164\x72\x69\145\x73\54\40\154\x61\163\x74\40\x65\162\162\x6f\162\72" . $hGBSq); goto pWXdg; v_r3i: if (!($S6sce == FALSE)) { goto RGOsR; } goto MQBDC; Fn3sP: forceCloseSocket($QpXh5); goto iLeps; OyznJ: return $QpXh5; goto pvphk; GUJNA: if (!(!($c1Uuj = socket_connect($QpXh5, $fteEy->{"\x43\x55\130\x5f\123\x45\x52\126\x49\x43\105\137\x49\x50"}, $WkFbt)) && $i68uf++ < 300)) { goto rD1ix; } goto MWbtw; Vkq3V: $i68uf = 0; goto EC79E; pWXdg: return FALSE; goto oleQ8; CDIFu: $c1Uuj = TRUE; goto BzBBa; mO4lV: socket_set_block($QpXh5); goto o67pE; zI3jR: if ($c1Uuj) { goto APdwr; } goto Fn3sP; sa5e5: return FALSE; goto P1KxK; J0Wl2: traceError("\x73\x6f\143\x6b\145\x74\137\163\145\164\137\157\x70\164\151\x6f\156\40\x66\x61\151\x6c\x65\144"); goto PBIwP; s2MmW: forceCloseSocket($QpXh5); goto AT1oR; oleQ8: APdwr: goto mO4lV; xQgHe: global $fteEy; goto mzFU8; ckmRq: $S6sce = socket_set_option($QpXh5, SOL_SOCKET, SO_SNDTIMEO, array("\x73\x65\x63" => 10, "\165\163\145\143" => 0)); goto HPTa9; vch_L: RGOsR: goto ckmRq; mzFU8: traceLog("\164\162\x79\151\x6e\x67\x20\x74\x6f\x20\143\x6f\156\156\145\x63\164\40\x74\x6f\40\160\x6f\162\164\x20" . $WkFbt . "\x2e\56\56"); goto ngyUD; pvphk: } goto jPYb2; h4QWX: function traceLog() { trace(LOG_DEBUG, func_get_args()); } goto c8asw; CiF56: function cppEventPush() { goto kCEuZ; bJHvv: $kHiPI["\x72\145\163\x75\x6c\x74"] = "\117\x4b"; goto S3Ura; x0tmp: if ($lHUZb === FALSE) { goto SMQJ3; } goto lG23c; hd1W_: $lHUZb = createLocalhostSocketOnPort($fteEy->{CUX_SERVICE_PORT_PUSH}, 30); goto x0tmp; zJtWg: d1lgP: goto XPwTu; EJNS1: SMQJ3: goto UyXD_; ARTRi: iEdeA: goto HC5Qb; iYzTv: parse_str($RZhtv, $Jfid6); goto WqVmB; RREGY: G_Mb8: goto IlioW; k7r_g: $kHiPI["\162\x65\x73\165\x6c\164"] = "\117\113"; goto c7cxT; S3Ura: ZYfgi: goto OBYM8; HC5Qb: $QLW7C = json_encode(array()); goto Q2OG0; DWdh5: $kHiPI = array(); goto Av9uY; Av9uY: if (STUB_EVENT_PUSH) { goto d1lgP; } goto hd1W_; Q2OG0: TzRP9: goto sH3p1; z2sm2: global $leAtG; goto nRWCL; TGy5k: $UTSs_ = objToQuery(array("\163\x65\x73\x73\151\157\x6e" => $leAtG), true); goto Q_wHR; Q_wHR: $RZhtv = cppExchange($lHUZb, $UTSs_, $U6lvS); goto DitOh; mLmhM: forceCloseSocket($lHUZb); goto ZAgyy; IlioW: goto ZYfgi; goto zJtWg; EwWoW: $kHiPI[JSON_RPC_FIELD_NAME] = json_encode(null); goto RREGY; ZAgyy: if ($RZhtv === null) { goto iEdeA; } goto iYzTv; sH3p1: $kHiPI[JSON_RPC_FIELD_NAME] = $QLW7C; goto k7r_g; lG23c: $U6lvS = 0; goto TGy5k; DitOh: $RZhtv = cppExchange($lHUZb, null, $U6lvS, true); goto mLmhM; OBYM8: return $kHiPI; goto kKe2Q; v82A3: goto TzRP9; goto ARTRi; WqVmB: $EaIZh = $Jfid6[JSON_RPC_FIELD_NAME]; goto QFUS1; QFUS1: $QLW7C = $EaIZh; goto v82A3; lR53v: global $U6lvS; goto DWdh5; XPwTu: sleep(20); goto vqQsT; kCEuZ: global $fteEy; goto z2sm2; vqQsT: $kHiPI[JSON_RPC_FIELD_NAME] = json_encode(array()); goto bJHvv; c7cxT: goto G_Mb8; goto EJNS1; UyXD_: $kHiPI["\162\145\x73\x75\154\x74"] = PhpErrorCodes::LTK_CPP_CONNECT_FAIL; goto EwWoW; nRWCL: global $lHUZb; goto lR53v; kKe2Q: } goto Xb8QO; afO1U: function cppFunction($iji0T, $SRxbA, $YXhQb = false) { goto NglO3; QSkuH: global $U6lvS; goto Sw4EW; aPswL: global $leAtG; goto k9F8O; zBO6p: bGO38: goto nb_Dd; k9F8O: global $fteEy; goto UQqGF; aXAZj: goto WGFOC; goto zBO6p; SWTCX: SPxCP: goto CDNql; Sw4EW: if (!($q1SHi === null && !$T4sH7)) { goto cKnrB; } goto qlF0G; qlF0G: $q1SHi = createLocalhostSocketOnPort($fteEy->{CUX_SERVICE_PORT_CALL}, 4); goto gKCH2; qGM25: $q1SHi = null; goto l3UCe; gKCH2: if ($q1SHi === FALSE) { goto ArpXv; } goto OhwLX; aMUeJ: cKnrB: goto yzxTO; Ltb75: $RZhtv = cppExchange($q1SHi, $UTSs_, $U6lvS); goto f0N0x; f6_2a: $RZhtv = cppExchange($q1SHi, $UTSs_, $U6lvS); goto bV3pm; ZER8j: $U6lvS = 2; goto B89RZ; oeDZk: $EaIZh = prepareJsonResult($iji0T->{"\151\x64"}, null, JsonRpcErrorCodes::INTERNAL_ERROR); goto DLNPJ; FRDNo: $NcrxY = socket_last_error(); goto AE_Zy; d38mp: l1uIZ: goto FG6Ec; yHRe2: forceCloseSocket($q1SHi); goto iAV4U; qaA63: goto l1uIZ; goto LNEDT; bV3pm: if ($RZhtv === null) { goto bGO38; } goto aXAZj; HtfCk: $U6lvS = 0; goto f6_2a; iAV4U: $q1SHi = null; goto w3IuS; vg3fP: $EaIZh = $Jfid6["\152\163\157\156\122\160\x63\x52\x65\x73\x75\154\164"]; goto MUZXG; DLNPJ: UQrOE: goto qaA63; OhwLX: $UTSs_ = objToQuery(array("\x73\145\x73\x73\x69\x6f\x6e" => $YXhQb ? $leAtG : $uzwiz), true); goto HtfCk; FhDYn: $q1SHi = null; goto Hs8jl; fHuSi: ArpXv: goto FhDYn; UXybK: goto UQrOE; goto f2aMO; yzxTO: if ($q1SHi === null) { goto zRjdS; } goto ZER8j; KHe_h: parse_str($RZhtv, $Jfid6); goto vg3fP; Hs8jl: $T4sH7 = TRUE; goto SSbSx; AE_Zy: traceError("\x24\x73\x6f\143\x6b\145\x74\137\x63\141\154\154\40\x69\163\40\x6e\x75\x6c\x6c"); goto Jo6Ke; nb_Dd: forceCloseSocket($q1SHi); goto qGM25; CDNql: $EaIZh = json_encode($UTZ2D, JSON_NUMERIC_CHECK); goto UXybK; LNEDT: zRjdS: goto FRDNo; UQqGF: global $q1SHi; goto QSAah; SSbSx: Vld1_: goto aMUeJ; w3IuS: $T4sH7 = FALSE; goto SWTCX; FG6Ec: return $EaIZh; goto Lrc1n; VSdyP: $UTZ2D->{"\x69\x64"} = $iji0T->{"\151\x64"}; goto j3XHQ; NglO3: global $uzwiz; goto aPswL; QSAah: global $T4sH7; goto QSkuH; Szil8: goto Vld1_; goto fHuSi; f0N0x: if ($RZhtv === null) { goto mnKIs; } goto KHe_h; MUZXG: $UTZ2D = json_decode($EaIZh, false, 512, JSON_BIGINT_AS_STRING); goto VSdyP; B89RZ: $UTSs_ = objToQuery(array("\152\163\x6f\156\x52\x70\143" => $SRxbA), true); goto Ltb75; l3UCe: $T4sH7 = TRUE; goto FKEGC; FKEGC: WGFOC: goto Szil8; j3XHQ: if (!("\x74\151\155\145\x6f\x75\x74" === $UTZ2D->{"\145\x72\x72\157\162"})) { goto SPxCP; } goto yHRe2; Jo6Ke: $EaIZh = prepareJsonResult($iji0T->{"\x69\144"}, "\123\117\103\113\x45\x54\40\105\x52\x52\x4f\x52\40" . $NcrxY, JsonRpcErrorCodes::INTERNAL_ERROR); goto d38mp; f2aMO: mnKIs: goto oeDZk; Lrc1n: } goto ahBmF; pUxVS: $T4sH7 = FALSE; goto bd1ki; bCSk6: function main() { goto Atvu_; Ql80r: global $lHUZb; goto QkuEo; q6s4h: print jsError("\156\157\x20\x72\145\161\x75\145\163\164\124\x79\x70\145\x20\146\x69\145\x6c\144"); goto mMOhd; Vb8xp: header("\120\162\141\x67\x6d\141\72\x20\156\x6f\55\x63\x61\143\150\x65"); goto RmKot; iXNl2: die; goto Twdnu; UJGCY: print jsError("\x73\145\163\x73\151\157\x6e\137\151\144\40\146\x61\151\154\x65\144\x2e"); goto VeqsS; mczFo: die; goto iU2Bh; RmKot: header("\105\170\x70\151\x72\145\163\72\40\60"); goto vOZ2j; iU2Bh: rJjrB: goto YHNgw; ppz1G: if (!($leAtG === '')) { goto bTsFb; } goto UJGCY; RFlVf: switch ($WhuOj) { case ReqType::CALL: goto HfJd6; vBAhu: if (!($Uw7Ks == null)) { goto sSP8e; } goto PsnZP; Qo0Uk: v0Fte: goto Os86q; PTzhh: print $lOOlF; goto lf1S2; BruTJ: $C5q0C = 0; goto N547y; aD4NF: $ZR39o = routeFunction($iji0T); goto Pauhu; v21SE: if (!($C5q0C < count($Uw7Ks))) { goto v0Fte; } goto QftzZ; QftzZ: $iji0T = $Uw7Ks[$C5q0C]; goto aD4NF; HfJd6: $Uw7Ks = getField($_REQUEST, JSON_RPC_FIELD_NAME); goto vBAhu; odMLK: print jsError("\x6e\157\40\x6a\x73\x6f\x6e\122\x70\143\x54\141\x62\x6c\145\40\x66\151\x65\x6c\144"); goto nGIUT; nGIUT: goto roma6; goto rRGNo; uCCfe: $lOOlF = objToQuery($Sus0A); goto PTzhh; wkazd: close_product_preferences(); goto iieSb; rc1ph: $P1j84 = array(); goto BruTJ; sGJhH: rqQNd: goto uMUhL; Os86q: close_preferences(); goto wkazd; Pauhu: array_push($P1j84, $ZR39o); goto sGJhH; Vp7Cq: goto r_Y9H; goto Qo0Uk; PsnZP: traceError("\156\157\40\x6a\x73\157\156\122\160\x63\124\141\142\154\145\40\x66\151\x65\x6c\144"); goto XAVdx; VVtgK: $Sus0A["\x72\145\x73\x75\x6c\x74"] = "\117\x4b"; goto uCCfe; lf1S2: goto roma6; goto fXLsJ; uMUhL: $C5q0C++; goto Vp7Cq; rRGNo: sSP8e: goto rc1ph; neDyJ: $Sus0A["\x6a\x73\157\156\x52\160\143\122\x65\163\x75\x6c\164\x54\141\x62\x6c\x65"] = $P1j84; goto VVtgK; XAVdx: traceError("\44\x5f\x52\105\x51\x55\105\123\124\72" . print_r($_REQUEST, TRUE)); goto odMLK; iieSb: $Sus0A = array(); goto neDyJ; N547y: r_Y9H: goto v21SE; fXLsJ: case ReqType::GET_EVENT: goto Plv4j; wneh_: goto roma6; goto Z1a_u; JtHin: $lOOlF = objToQuery($kHiPI); goto Jv4me; Plv4j: close_preferences(); goto HXuhp; rd3rF: if ($g0EWS >= 0) { goto N38al; } goto ZqLSv; Z1a_u: goto y71RO; goto XH2YC; XH2YC: N38al: goto jb779; jb779: $kHiPI = cppEventPush(); goto JtHin; ZqLSv: print jsError("\x69\x6e\143\157\x72\x72\145\x63\164\40\x74\141\x62\x49\x64\40\146\151\x65\154\144\x20\166\x61\x6c\x75\145\x2e"); goto wneh_; Jv4me: print $lOOlF; goto XwlS3; i2q6F: goto roma6; goto LM6Bx; HXuhp: close_product_preferences(); goto o1HSC; XwlS3: y71RO: goto i2q6F; o1HSC: session_write_close(); goto rd3rF; LM6Bx: default: goto AQjjE; AQjjE: close_preferences(); goto kYay3; upG2d: print jsError("\x69\156\143\157\x72\162\x65\x63\164\x20" . REQ_TYPE . "\x20\x66\x69\x65\154\x64\40\166\141\x6c\x75\x65\x2e"); goto eqiGr; kYay3: close_product_preferences(); goto upG2d; eqiGr: goto roma6; goto sEYDi; sEYDi: } goto Bd18Q; uLPEr: if (!($XoFFN === FALSE)) { goto r5Eg9; } goto QzqP9; s29EC: die; goto toHHu; toHHu: Bwqo2: goto OIXRb; Twdnu: r5Eg9: goto O10gn; cmPrn: bTsFb: goto l3UgM; p1j5n: $NhBLt = getField($_SERVER, "\121\x55\105\122\x59\137\123\124\122\111\x4e\107"); goto VwhsT; jCO03: $leAtG = session_id(); goto ppz1G; q90nD: if (!($g0EWS == null)) { goto iF9eP; } goto mQXnJ; mQXnJ: print jsError("\x6e\157\x20\x74\x61\142\111\144\40\146\x69\145\154\x64"); goto PTPGM; PTPGM: die; goto A0R1D; XtSwH: $Lm_Gw = session_start(); goto ABvzT; VwhsT: if (!($NhBLt == null)) { goto xvhHe; } goto oTK5W; GRotG: if (!($WhuOj == null)) { goto ibaqE; } goto q6s4h; TZ5bh: print jsError("\163\x65\x73\x73\151\157\x6e\x5f\x73\x74\141\162\x74\40\x66\141\151\x6c\145\x64\56"); goto mczFo; YHNgw: $EvMTY = ini_get("\163\x79\163\137\x74\145\155\160\x5f\144\151\162"); goto f4DLK; QzqP9: print jsError("\154\157\141\144\x5f\160\162\x65\146\x65\162\145\156\143\145\163\40\146\141\x69\x6c\145\x64\56"); goto iXNl2; omWk4: roma6: goto BHfdQ; gNt0H: die; goto GAovb; xaegB: YT5Mi: goto RFlVf; ABvzT: if ($Lm_Gw) { goto rJjrB; } goto TZ5bh; crxXB: global $q1SHi; goto Ql80r; IcQSL: global $EvMTY; goto o9Edk; mMOhd: die; goto gRUu9; gRUu9: ibaqE: goto a4AS9; VeqsS: die; goto cmPrn; ugy8c: $WhuOj = getField($_REQUEST, REQUEST_TYPE_FIELD_NAME); goto GRotG; yzCs0: header("\103\157\156\164\145\x6e\x74\55\164\x79\160\x65\x3a\40\164\145\170\164\x2f\x70\154\141\151\x6e"); goto XtSwH; vOZ2j: header("\130\55\x55\101\x2d\x43\x6f\x6d\160\x61\164\x69\142\154\145\x3a\40\111\105\x3d\145\144\147\x65\54\143\150\x72\157\155\x65\75\61"); goto yzCs0; OIXRb: error_reporting(E_ALL ^ E_WARNING); goto p1j5n; a4AS9: $g0EWS = getField($_REQUEST, TAB_ID_FIELD_NAME); goto q90nD; o9Edk: global $fteEy; goto hc9H0; Bd18Q: zSQzl: goto omWk4; W1OH2: print jsError("\154\x6f\141\x64\137\x70\x72\x6f\144\x75\143\x74\137\x70\162\x65\x66\x65\162\145\x6e\143\145\163\x20\x66\x61\x69\154\145\x64\x2e"); goto N02Uf; A0R1D: iF9eP: goto jCO03; GAovb: xvhHe: goto ugy8c; hc9H0: global $leAtG; goto crxXB; nbjEX: $XoFFN = load_preferences(); goto uLPEr; f4DLK: if (!($EvMTY === '' || $EvMTY === false)) { goto Bwqo2; } goto sLLSS; D0Wcb: if (!($XoFFN === FALSE)) { goto YT5Mi; } goto W1OH2; oTK5W: print jsError("\156\157\x20\152\x73\x20\x71\165\145\x72\171"); goto gNt0H; BHfdQ: forceCloseSocket($q1SHi); goto ijdcR; Atvu_: global $uzwiz; goto IcQSL; N02Uf: die; goto xaegB; ijdcR: forceCloseSocket($lHUZb); goto dbYG5; sLLSS: print jsError("\163\171\163\x5f\164\145\x6d\x70\x5f\144\151\162\40\165\156\x64\x65\146\x69\156\145\144"); goto s29EC; l3UgM: $uzwiz = $leAtG . "\x5f" . $g0EWS; goto nbjEX; QkuEo: header("\103\141\143\x68\145\55\x43\157\156\x74\162\157\154\x3a\40\156\x6f\55\x63\141\143\150\145\x2c\x20\x6e\157\x2d\x73\x74\x6f\x72\145\54\40\155\165\x73\164\x2d\x72\145\166\141\x6c\x69\144\141\164\x65"); goto Vb8xp; O10gn: $XoFFN = load_product_preferences(); goto D0Wcb; dbYG5: } goto q3S59; DN3Pg: function traceWarn() { trace(LOG_WARNING, func_get_args()); } goto OLc6T; z9JQ3: $AUeSC = NULL; goto iMlt1; ahBmF: function routeFunction($SRxbA) { goto Nuy1l; lXH_i: SDUWL: goto LVkKH; Ie4rt: if (in_array($dyKMC, getPhpFunctions())) { goto s8Nnu; } goto B_V7e; bSzV1: $iji0T->{"\x70\141\162\141\x6d\163"} = array(); goto WiKgX; xKr47: $ZR39o = json_encode($kHiPI); goto r0OpH; QyEZw: $dyKMC = $iji0T->{"\x6d\x65\164\x68\157\144"}; goto K5MOD; Wpv6A: $ZR39o = json_encode($kHiPI); goto YGtr7; GL8ca: $kHiPI->{"\162\x65\x73\165\154\x74"} = null; goto ppyBp; nq5Lc: $kHiPI->{"\x72\x65\x73\165\x6c\164"} = null; goto vJ7YB; Z74Oq: $ZR39o = json_encode($kHiPI); goto WV1a2; FcIew: KIKut: goto ZI_2K; oJymY: $EJMtg = in_array($dyKMC, array(LTK_BOX_COMMAND_CtxGetLockState, LTK_BOX_COMMAND_CtxSetLockedForMe)); goto a5SDJ; udJvD: traceLog("\162\x6f\x75\164\x65\x46\165\x6e\x63\164\151\x6f\156\76\x20\x24\x72\x65\164\x75\162\x6e\x4f\x62\x6a\x5f\x73\x74\162\x3a" . $ZR39o); goto WqmLK; d2VsF: $kHiPI->{"\151\144"} = property_exists($iji0T, "\x69\144") ? $iji0T->{"\x69\144"} : null; goto xKr47; B_V7e: if (in_array($dyKMC, $xsLBh)) { goto z78r5; } goto mWDT4; JUAVk: $ZR39o = json_encode($kHiPI); goto BvbOy; BvbOy: goto qYlLD; goto XSslY; qA6KD: $kHiPI->{"\151\x64"} = $iji0T->{"\151\144"}; goto UJPWp; ppyBp: $kHiPI->{"\145\x72\162\157\x72"} = JsonRpcErrorCodes::OK; goto U0P5J; xn5XK: $kHiPI = Ltk_cppStubsFunction($iji0T); goto bUu8q; TuuJs: goto cr76k; goto HueTE; mWDT4: if (in_array($dyKMC, getCppStubs())) { goto w5j3s; } goto ieXrZ; fm7La: w5j3s: goto N3czj; npFaa: $kHiPI->{"\145\x72\x72\157\x72"} = JsonRpcErrorCodes::INVALID_REQUEST; goto d2VsF; HueTE: PqBN5: goto Vzp91; Rj4kU: if (in_array($dyKMC, $AauQs)) { goto Ibqs6; } goto Ie4rt; P5twp: goto qYlLD; goto LgdwK; LVkKH: if ($Z6wV_) { goto PqBN5; } goto HykXL; WV1a2: qYlLD: goto TC6M3; U0P5J: $kHiPI->{"\x69\x64"} = $iji0T->{"\x69\x64"}; goto oQjBz; r0OpH: fzJoo: goto udJvD; WiKgX: Qw4Bc: goto QyEZw; YGtr7: goto qYlLD; goto svqQt; m2i5O: $kHiPI->{"\145\x72\162\157\162"} = JsonRpcErrorCodes::METHOD_NOT_FOUND; goto S5rya; TC6M3: cr76k: goto u6KsQ; T56Q1: $kHiPI->{"\x72\145\x73\165\x6c\x74"} = null; goto m2i5O; LL0Ev: $Z6wV_ = getCurrentPrivilege() >= $tPKdE[$dyKMC]; goto lXH_i; sAZQk: $kHiPI = Ltk_phpFunction($iji0T); goto JUAVk; XSslY: s8Nnu: goto akbiU; S5rya: $kHiPI->{"\151\144"} = $iji0T->{"\x69\x64"}; goto jlqiP; akbiU: $kHiPI = Product_phpFunction($iji0T); goto Wpv6A; SENht: if (!array_key_exists($dyKMC, $tPKdE)) { goto SDUWL; } goto LL0Ev; rgEdr: $iji0T = json_decode($SRxbA); goto XMwZR; WqmLK: return $ZR39o; goto U36Me; h2T86: if (!(property_exists($iji0T, "\151\144") && property_exists($iji0T, "\155\x65\164\150\157\x64") && (!property_exists($iji0T, "\160\x61\162\141\x6d\x73") || is_array($iji0T->{"\160\141\x72\x61\x6d\163"})))) { goto KIKut; } goto GL8ca; ieXrZ: $kHiPI = new stdClass(); goto T56Q1; ilAOg: goto qYlLD; goto I_i3M; oQjBz: if (property_exists($iji0T, "\x70\x61\162\x61\x6d\x73")) { goto Qw4Bc; } goto bSzV1; HykXL: $kHiPI = new stdClass(); goto nq5Lc; rYVnx: goto qYlLD; goto fm7La; u6KsQ: goto fzJoo; goto FcIew; Nuy1l: global $G76cY, $AauQs, $xsLBh, $tPKdE; goto OjeXb; ZI_2K: $kHiPI->{"\x72\x65\163\x75\x6c\x74"} = null; goto npFaa; jlqiP: $ZR39o = json_encode($kHiPI); goto ilAOg; LgdwK: Ibqs6: goto sAZQk; vJ7YB: $kHiPI->{"\x65\162\x72\x6f\162"} = JsonRpcErrorCodes::INSUFFICIENT_PRIVILEGE; goto qA6KD; a5SDJ: $ZR39o = cppFunction($iji0T, $SRxbA, $EJMtg); goto P5twp; XMwZR: $kHiPI = new stdClass(); goto h2T86; svqQt: z78r5: goto xn5XK; UJPWp: $ZR39o = json_encode($kHiPI); goto TuuJs; OjeXb: traceLog("\162\x6f\x75\x74\145\x46\165\156\x63\164\x69\x6f\156\x3e" . $SRxbA); goto rgEdr; N3czj: $kHiPI = Product_cppStubsFunction($iji0T); goto Z74Oq; K5MOD: $Z6wV_ = TRUE; goto SENht; Vzp91: if (in_array($dyKMC, $G76cY)) { goto MNc68; } goto Rj4kU; I_i3M: MNc68: goto oJymY; bUu8q: $ZR39o = json_encode($kHiPI); goto rYVnx; U36Me: } goto Gn2mY; QOhX4: function getField($hxsre, $PEcDk) { return isset($hxsre[$PEcDk]) ? $hxsre[$PEcDk] : null; } goto tAffS; MXG4j: include "\160\150\x70\x5f\x66\x75\x6e\x63\164\x69\x6f\x6e\x73\56\x70\150\x70"; goto gwbsJ; jPYb2: function prepareJsonResult($gF_uK, $eykPw, $hGBSq) { goto YkfEk; EMMt1: $UTZ2D->{"\x72\145\x73\x75\x6c\x74"} = $eykPw; goto oqkNR; oqkNR: $UTZ2D->{"\145\x72\x72\157\162"} = $hGBSq; goto C4rQs; YkfEk: $UTZ2D = new stdClass(); goto TYtnF; TYtnF: $UTZ2D->{"\x69\144"} = $gF_uK; goto EMMt1; C4rQs: return json_encode($UTZ2D); goto hr0eh; hr0eh: } goto CiF56; AOTix: function forceCloseSocket(&$QpXh5) { goto JZRjX; FN2dX: socket_shutdown($QpXh5); goto yyGhI; GttsV: socket_set_block($QpXh5); goto mn83z; JZRjX: if (!$QpXh5) { goto ffEqI; } goto GttsV; XP9wU: $QpXh5 = NULL; goto qoVEn; qoVEn: ffEqI: goto Ks0eo; yyGhI: socket_close($QpXh5); goto XP9wU; hv5HE: socket_set_option($QpXh5, SOL_SOCKET, SO_LINGER, $W2K2d); goto FN2dX; mn83z: $W2K2d = array("\x6c\x5f\157\x6e\157\146\146" => 1, "\154\137\154\151\156\x67\x65\x72" => 0); goto hv5HE; Ks0eo: } goto aYpqS; BGdOD: function jsResult($eykPw) { goto U3f2C; QMasX: $iQCkm = implode($RYeIn); goto y5PSy; V4mzy: return $Lm_Gw; goto nb2pV; ruCkC: $RYeIn = func_get_args(); goto etgKC; U3f2C: $Lm_Gw = "\x72\145\163\x75\x6c\x74\75" . urlencode($eykPw); goto ruCkC; y5PSy: $Lm_Gw .= "\x26\x64\x65\163\x63\x3d" . urlencode($iQCkm); goto V4mzy; etgKC: array_shift($RYeIn); goto QMasX; nb2pV: } goto R7cdn; R7cdn: function jsError($oWgxZ) { traceError($oWgxZ); return jsResult("\x50\110\x50\x5f\x45\x52\122\x4f\122", $oWgxZ); } goto Ncpbp; Gn2mY: function objToQuery($D9431, $qDHG6 = false) { goto C53IT; hsrTs: $UTSs_ = str_replace("\45\x32\62", "\x22", $UTSs_); goto efeJX; QzJuX: $UTSs_ = str_replace("\45\65\102", "\x5b", $UTSs_); goto mgFHz; FJOiS: if (!$qDHG6) { goto hnAMU; } goto kQQz7; LjeoJ: $UTSs_ = str_replace("\x25\x33\x41", "\x3a", $UTSs_); goto gXeHM; mgFHz: $UTSs_ = str_replace("\x25\65\x44", "\x5d", $UTSs_); goto FJOiS; kQQz7: $UTSs_ = str_replace("\x2b", "\45\62\60", $UTSs_); goto BAprH; C53IT: $UTSs_ = http_build_query($D9431); goto QzJuX; gXeHM: return $UTSs_; goto l86qu; pRhs_: $UTSs_ = str_replace("\x25\x37\104", "\x7d", $UTSs_); goto LjeoJ; ADWf0: $UTSs_ = str_replace("\x25\62\x43", "\x2c", $UTSs_); goto hsrTs; efeJX: $UTSs_ = str_replace("\x25\67\102", "\173", $UTSs_); goto pRhs_; BAprH: hnAMU: goto ADWf0; l86qu: } goto bCSk6; v22tL: $EvMTY = null; goto ksbiG; Xb8QO: function Ltk_internal_cpp_call($t4iQc) { goto udWlm; P_NVc: $adEdY = $y_6Dl->{"\162\x65\163\x75\154\x74"}; goto xhoBR; xhoBR: return $adEdY; goto INfLh; iOV_S: traceLog("\x24\x74\x5f\x63\157\155\155\141\156\x64\x53\164\162\x3a", $CoWOB); goto lK59D; oWkIf: $ETuNm = $t4iQc->{"\155\x65\x74\150\157\144"}; goto Pr2pT; Ukcfx: $y_6Dl = json_decode($SpzPB); goto P_NVc; udWlm: traceLog("\x4c\x74\x6b\137\151\156\164\145\x72\x6e\x61\154\137\143\x70\x70\137\143\x61\154\154\x3e"); goto oWkIf; lK59D: $SpzPB = cppFunction($t4iQc, $CoWOB); goto FJLBO; FJLBO: traceLog("\44\164\x5f\x72\145\161\x75\145\x73\x74\x5f\162\x65\x73\165\x6c\164\137\163\164\x72\x3a", $SpzPB); goto Ukcfx; Pr2pT: $CoWOB = json_encode($t4iQc); goto iOV_S; INfLh: } goto afO1U; bd1ki: $lHUZb = NULL; goto hA1xt; rXGeV: function cppRead($QpXh5, $JGD2k) { goto hHtz0; ulRru: goto IbtAp; goto e94Xg; E8UaJ: if (!($GLfNG === FALSE || $GLfNG === '')) { goto LsyGn; } goto NxJoC; NxJoC: $LcQCt = socket_last_error(); goto IovNh; FACX2: return null; goto ulRru; YvXVb: return $JGD2k; goto dJ4_D; zPrCM: return null; goto TPvye; hHtz0: $GLfNG = socket_read($QpXh5, 1024); goto E8UaJ; GBbI2: LsyGn: goto snBcZ; TPvye: IbtAp: goto GBbI2; slddH: traceLog("\143\x70\x70\105\x78\x63\150\x61\156\x67\145\x20\164\151\x6d\x65\157\165\164\x20\x6d\x61\153\x69\x6e\147\40\165\x70\40\x4f\x4b\x20\145\x6d\x70\164\171\x20\x72\145\x73\160\x6f\x6e\163\145\x2e"); goto zPrCM; ESFOX: traceWarn("\x63\x70\160\105\x78\143\150\x61\x6e\x67\145\40\x65\162\x72\x6f\162"); goto FACX2; e94Xg: nSU0A: goto slddH; snBcZ: $JGD2k .= $GLfNG; goto YvXVb; IovNh: $xg9sx = socket_strerror($LcQCt); goto umC21; umC21: if ($LcQCt === EAGAIN) { goto nSU0A; } goto ESFOX; dJ4_D: } goto wboLm; wboLm: function cppExchange($QpXh5, $UTSs_, $U6lvS, $VkE8o = FALSE) { goto iTCx6; Gx_ea: $JGD2k = ''; goto aG6r1; Alf8j: if ($vwYNp === 0) { goto HvIXm; } goto aKkv0; Fh8zq: goto K21Yg; goto P5ztM; P5ztM: koMUq: goto KqAps; QjuWz: $mQTxr = NULL; goto iiqja; ZUHdl: $lOOlF = substr($JGD2k, 0, strlen($JGD2k) - 1); goto yFs_C; Ta6U6: traceWarn("\x63\160\160\105\170\x63\x68\141\x6e\147\x65\x20\145\x72\x72\x6f\162"); goto aedKV; Yq0If: if ($vwYNp > 0) { goto qELD8; } goto Alf8j; RLZ_n: goto t15v3; goto trDtq; p7oWZ: return null; goto j5M07; D4vmz: $GLfNG = $UTSs_ . "\x24"; goto zlwDX; GmFCL: wSnO4: goto fuVWJ; iTCx6: if ($VkE8o) { goto yn1pm; } goto D4vmz; Wm5zC: qELD8: goto bYKas; neiek: HvIXm: goto nYMRI; CV6CG: if ($U6lvS > 0) { goto pHmfD; } goto Uili7; ohIvo: p0jYm: goto a0_tj; ZBKXV: if ($Qqeyu === FALSE) { goto GCNTE; } goto QXlMt; IUonM: goto YDo0Z; goto ex26R; OKALB: if (!strlen($GLfNG)) { goto koMUq; } goto K3sIj; yFs_C: return $lOOlF; goto ZlqwM; zlwDX: K21Yg: goto OKALB; nYMRI: $JGD2k = "\x6a\163\157\156\122\160\143\122\145\163\x75\x6c\164\x3d\45\x37\x42\45\62\x32\x72\145\x73\165\154\164\45\62\62\x25\63\101\x25\x35\102\45\x35\x44\x25\62\x43\x25\x32\x32\x65\x72\x72\157\x72\x25\62\62\x25\63\101\45\x32\62\x74\151\155\145\x6f\165\164\x25\x32\62\x25\62\103\45\62\62\151\x64\45\x32\62\x25\x33\x41\x31\x25\67\x44\44"; goto GmFCL; aedKV: return null; goto ohIvo; c8W7M: qy1OY: goto VDVjc; VDVjc: L84j1: goto IUonM; j5M07: t15v3: goto Fh8zq; aG6r1: YDo0Z: goto sN3xa; trDtq: GCNTE: goto x9PgA; C_f9r: $vwYNp = socket_select($av8tV, $mQTxr, $QbRrW, $U6lvS); goto Yq0If; x9PgA: traceError("\163\157\x63\x6b\x65\164\x5f\167\x72\151\164\145\40\x66\x61\151\x6c\145\x64\40\50\x72\x65\x74\165\162\156\145\144\x20{$Qqeyu}\51"); goto p7oWZ; ex26R: hVauE: goto ZUHdl; Uili7: $JGD2k = cppRead($QpXh5, $JGD2k); goto PVbGC; sN3xa: if (!(strlen($JGD2k) == 0 || substr($JGD2k, -1) != "\x24")) { goto hVauE; } goto CV6CG; a0_tj: goto wSnO4; goto neiek; iiqja: $QbRrW = NULL; goto C_f9r; aKkv0: if (!($vwYNp === FALSE)) { goto p0jYm; } goto Ta6U6; Rdoj2: pHmfD: goto tgR_d; PVbGC: goto L84j1; goto Rdoj2; KqAps: yn1pm: goto Gx_ea; K3sIj: $Qqeyu = socket_write($QpXh5, $GLfNG); goto ZBKXV; bYKas: $JGD2k = cppRead($QpXh5, $JGD2k); goto c8W7M; QXlMt: $GLfNG = substr($GLfNG, $Qqeyu); goto RLZ_n; tgR_d: $av8tV = array($QpXh5); goto QjuWz; fuVWJ: goto qy1OY; goto Wm5zC; ZlqwM: } goto AOTix; Enp59: include "\x70\150\x70\137\144\145\146\151\156\x65\x73\56\160\x68\x70"; goto MXG4j; tAffS: function redirect($MDCO1, $kkIwb = 303) { header("\x4c\157\x63\x61\x74\x69\157\156\72\x20" . $MDCO1, true, $kkIwb); die; } goto yQiLf; rTVo5: $leAtG = NULL; goto yw192; ksbiG: $fteEy = NULL; goto hHQT5; yw192: $q1SHi = null; goto pUxVS; q3S59: main();

Function Calls

None

Variables

None

Stats

MD5 7b7f0153340984d44d6f58762b411a99
Eval Count 0
Decode Time 45 ms