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 FxzV4; CLkUg: $result["\155\145\x73\x73\141\147\x65"] = "\xe8\xbf\x9c\xe7\250..
Decoded Output download
<?php
goto FxzV4; CLkUg: $result["message"] = ""; goto z52GT; ItHci: $ext = pathinfo($_FILES["file"]["name"], PATHINFO_EXTENSION); goto qNwuT; XGJEC: $result = file_remote_delete($attachment["attachment"]); goto kcHAw; Vs9dF: cvEAL: goto pLApY; n4nEB: file_delete($pathname); goto z8oIN; hW1sx: eYYVg: goto l1na1; hCTzj: $info["height"] = $size[1]; goto zPYQr; c4zrf: $result["msg"] = ""; goto yvbqH; isn0G: $result["message"] = ", ."; goto n5PXA; nbXEL: $result["message"] = ""; goto n4nEB; hcvYc: $result["msg"] = $file["message"]; goto W7JB4; LoH98: EkeyE: goto qm2Nm; q_EfR: if ($type == "image") { goto NppXB; } goto DXfA8; WathC: cwgeR: goto JLi4R; DZ5CD: iajax(0, ""); goto bAnv1; UTMZF: if (!($act == "delete")) { goto k7fd9; } goto qAqxd; MLMQF: Z7tkz: goto ZT7AQ; JeurH: if (!($_FILES["file"]["error"] != 0)) { goto GkiZZ; } goto isn0G; aZ6TR: $file = file_upload($_FILES["file"]); goto uCkIm; n4cLl: goto Gqpms; goto hW1sx; QlT4m: goto b1DEr; goto Lq1Xq; UvkNC: if (is_array($session_store)) { goto MAJsH; } goto DZ5CD; otoey: $info["url"] = tomedia($pathname); goto K0ibW; zYfhs: $result["error"]["message"] = $file["message"]; goto hcvYc; AERyk: $id = intval($_GPC["id"]); goto jEVHe; l1na1: $store_id = $_GPC["__store_id"]; goto TnjEA; Y2fKn: if (!($thumb == 1 && $width > 0 && (!isset($_GPC["thumb"]) || isset($_GPC["thumb"]) && !empty($_GPC["thumb"])))) { goto P1GQo; } goto Y2Qet; IQm3y: $result["msg"] = ""; goto FrULa; jE77K: $uniacid = intval($_W["uniacid"]); goto RCkMM; bHK9L: die(json_encode($result)); goto g8tWW; GNMLY: pdo_insert("lywywl_ztb_attachment", array("uniacid" => $uniacid, "store_id" => $store["id"], "filename" => $_FILES["file"]["name"], "attachment" => $pathname, "type" => $type == "image" ? 1 : 2, "createtime" => TIMESTAMP)); goto sPBF1; yEHcP: $setting["folder"] = "{$type}s/{$uniacid}"; goto crI1A; AapVZ: $pathname = $file["path"]; goto wuduF; Yeq17: $result["message"] = ", "; goto TF9Rm; ESKxP: $info["status"] = 1; goto IAkB6; Swzej: if (!is_error($result)) { goto tDcdi; } goto lFQqt; TF9Rm: $result["msg"] = ", "; goto CIMxF; RLBSE: $_W["setting"]["remote"] = $_W["setting"]["remote"][$_W["uniacid"]]; goto SAVVV; kXRYy: die(json_encode($result)); goto nKHtU; T71_i: $result["msg"] = ""; goto qNFb5; ciMse: $result["message"] = ", ."; goto T71_i; JDzAR: if (parse_path($_FILES["file"]["name"])) { goto GiSh_; } goto U0gwX; jpTK3: goto uglKh; goto ki4Qz; ZYsTk: $pathinfo = pathinfo($_FILES["file"]["name"]); goto tNs2M; TkET4: if (empty($_W["setting"]["remote"]["type"])) { goto qiCbM; } goto C55lN; n5PXA: $result["msg"] = ", ."; goto aU1Gb; EyT0K: if (!empty($attachment)) { goto FW3C2; } goto rnrtj; R19I4: load()->model("attachment"); goto Mb1ro; tWcuA: $result["msg"] = $thumbnail["message"]; goto M41xP; yOx9H: goto cvEAL; goto mquqL; pJxpa: $tempfile = ATTACHMENT_ROOT . "/temp/" . $tempfilename; goto gBEsO; wTcFc: goto HK5cS; goto mu7gT; U0gwX: $result["message"] = ", ."; goto n_jGz; yvbqH: $result["status"] = 0; goto i_Jsq; LoLBj: $size = getimagesize($fullname); goto NJCri; gBEsO: if (!file_put_contents($tempfile, $binaryfile)) { goto G4U63; } goto H8Zpg; tBiUV: if (empty($_W["setting"]["remote"]["type"])) { goto iSWZ6; } goto jLZ09; l1hOQ: goto IzeaN; goto uqL4E; wuduF: $fullname = ATTACHMENT_ROOT . "/" . $pathname; goto n8LA5; YU4bL: $result["status"] = 0; goto cQc04; wPIaY: die(json_encode($result)); goto nZjc1; aU1Gb: $result["status"] = 0; goto U32o9; rnrtj: return message(error(1, ""), '', "ajax"); goto l1hOQ; wMwAN: NppXB: goto LoLBj; w23fg: IzeaN: goto stO_B; qm2Nm: k7fd9: goto eubTv; JnA9E: $imagesize = explode("/", $imagesize["mime"]); goto n31qU; NWYoS: load()->model("material"); goto R19I4; ygO1r: $pathname = $thumbnail; goto RP8O3; z52GT: file_delete($pathname); goto FbGlR; mquqL: lNMpC: goto rJLvc; crI1A: $setting["folder"] .= "/" . date("Y/m/"); goto ifCVZ; TnjEA: Gqpms: goto CcFvT; jLZ09: $remotestatus = file_remote_upload($pathname); goto g02wx; xSckl: $result["message"] = $thumbnail["message"]; goto tWcuA; V154L: if (empty($binaryfile)) { goto Zv8Ta; } goto oStGt; nHF8A: goto tnqYR; goto B3W01; uqL4E: FW3C2: goto HhBuF; NJCri: $info["width"] = $size[0]; goto C9PwW; mu7gT: XHg6L: goto XGJEC; r7o6Z: $tempfilename = random(5); goto pJxpa; ityOI: pdo_insert("lywywl_ztb_attachment", array("uniacid" => $uniacid, "store_id" => $store["id"], "filename" => $originname, "attachment" => $pathname, "type" => $type == "image" ? 1 : ($type == "audio" || $type == "voice" ? 2 : 3), "createtime" => TIMESTAMP)); goto HiqF1; zPYQr: setting_load("remote"); goto tBiUV; liRDi: if (!(empty($extension) || !in_array($extension, array("jpg", "jpeg", "gif", "png")))) { goto nBOE7; } goto ciMse; PtRQz: tnqYR: goto Vs9dF; n_jGz: $result["msg"] = ""; goto YU4bL; IB0_E: if ($type == "image") { goto lNMpC; } goto WaCcd; U32o9: die(json_encode($result)); goto dhv0Y; cPvd_: $info["status"] = 1; goto atKJc; TXJJ9: Zv8Ta: goto qAXTv; FbGlR: $result["msg"] = ""; goto Zch36; Yrzhs: $result = array("jsonrpc" => "2.0", "id" => "id", "error" => array("code" => 1, "message" => '')); goto ax2Dz; FxzV4: defined("IN_IA") or exit("Access Denied"); goto ZSiqi; Norfb: $info["width"] = $size[0]; goto hCTzj; bCuWO: $size = getimagesize($fullname); goto Norfb; fuuGA: $store_id = 0; goto eX9Nx; irz9S: wbOiD: goto u3B6q; n8LA5: $info = array("name" => $originname, "ext" => $ext, "filename" => $pathname, "attachment" => $pathname, "url" => tomedia($pathname), "is_image" => $type == "image" ? 1 : 0, "filesize" => filesize($fullname), "group_id" => intval($_GPC["group_id"])); goto q_EfR; C9PwW: $info["height"] = $size[1]; goto irz9S; SqcNB: R3Qdi: goto Swzej; wB_wF: uglKh: goto o8fRH; ax2Dz: load()->func("file"); goto YqSme; bdj8x: $result["status"] = 0; goto NwvPm; VTJv6: $info["size"] = sizecount($size); goto qC8Jr; YXjBj: $type = in_array($_GPC["type"], array("image", "audio")) ? $_GPC["type"] : "image"; goto jE77K; VbVZ_: $attachment = pdo_get("lywywl_ztb_attachment", array("id" => $id, "store_id" => $store["id"])); goto EyT0K; ScKJm: load()->func("communication"); goto VJU96; YqSme: if (!empty($_FILES["file"]["tmp_name"])) { goto QOQoq; } goto IDCJr; XbhkE: $session_store = json_decode(authcode($_GPC["__session_store"]), true); goto UvkNC; qPL78: $result["message"] = $file["message"]; goto IQm3y; ZT7AQ: iSWZ6: goto GNMLY; NwvPm: die(json_encode($result)); goto wB_wF; R42sr: if (is_error($remotestatus)) { goto xVJTH; } goto lH915; u3B6q: if (empty($_W["setting"]["remote"][$_W["uniacid"]]["type"])) { goto QULu5; } goto RLBSE; uCkIm: if (!is_error($file)) { goto cwgeR; } goto zYfhs; Lq1Xq: qLd2K: goto xSckl; WBy49: if (is_error($result)) { goto R3Qdi; } goto WypRx; Zch36: $result["status"] = 0; goto Z8xpi; rHW35: cMh6i: goto LoSYt; MWVN1: GiSh_: goto ZYsTk; stO_B: qBSXk: goto JM3xd; VAMRe: die(json_encode($result)); goto f2HE4; a3tKL: if (is_error($thumbnail)) { goto qLd2K; } goto BLgp4; qC8Jr: goto wbOiD; goto wMwAN; RidcN: if (!empty($_FILES["file"]["name"])) { goto BjBCq; } goto Yeq17; jUgod: die(json_encode($result)); goto WathC; atKJc: die(json_encode($info)); goto JNPgP; jEVHe: if (empty($id)) { goto qBSXk; } goto VbVZ_; tNs2M: $extension = strtolower($pathinfo["extension"]); goto liRDi; BMaI0: $result = file_delete($attachment["attachment"]); goto wTcFc; rJLvc: $setting = $_W["setting"]["upload"][$type]; goto Yrzhs; j2T59: if (!($_FILES["file"]["error"] != 0)) { goto Z1GQ8; } goto ZI2So; qAqxd: if (!($type = "image")) { goto EkeyE; } goto AERyk; lFQqt: return message(error(1, $result["message"]), '', "ajax"); goto SRoeX; i_Jsq: die(json_encode($result)); goto vf8gn; n31qU: $_FILES["file"] = array("name" => $tempfilename . "." . $imagesize[1], "tmp_name" => $tempfile, "error" => 0); goto YUq2q; Mk92A: $size = intval($_FILES["file"]["size"]); goto O8R34; IAkB6: die(json_encode($info)); goto PtRQz; rrFz2: if (!empty($_FILES["file"]["name"])) { goto zcChC; } goto lDbrE; sPV2v: global $_GPC, $_W; goto fuuGA; ir1_s: iajax(0, ""); goto ja2VJ; H8Zpg: $imagesize = @getimagesize($tempfile); goto JnA9E; nKHtU: HDxOC: goto AapVZ; K0ibW: goto Z7tkz; goto JFkwk; ZI2So: $result["error"]["message"] = ""; goto c4zrf; yHj8U: P1GQo: goto e0KQ9; Ln2QR: return message(error("0"), '', "ajax"); goto seT2X; TchQH: $ext = strtolower($ext); goto Mk92A; dhv0Y: GkiZZ: goto VWj4U; bAnv1: exit; goto OQtXZ; R85y7: $result["msg"] = ""; goto OTIcd; FrULa: $result["status"] = 0; goto kXRYy; qNFb5: $result["status"] = 0; goto wPIaY; tPzlI: if (!is_error($file)) { goto HDxOC; } goto qPL78; z8oIN: $result["msg"] = ""; goto bdj8x; CIMxF: $result["status"] = 0; goto VAMRe; sPBF1: $info["id"] = pdo_insertid(); goto ESKxP; WypRx: pdo_delete("lywywl_ztb_attachment", array("id" => $id)); goto SqcNB; IDCJr: $binaryfile = file_get_contents("php://input", "r"); goto V154L; O8R34: $originname = $_FILES["file"]["name"]; goto yEHcP; VWj4U: $ext = pathinfo($_FILES["file"]["name"], PATHINFO_EXTENSION); goto TchQH; yjKPp: $thumb = empty($setting["thumb"]) ? 0 : 1; goto lclTx; B808C: $store_id = $session_store["store_id"]; goto n4cLl; HhBuF: if ($_W["setting"]["remote"]["type"]) { goto XHg6L; } goto BMaI0; seT2X: oPViD: goto w23fg; SMC6z: $fullname = ATTACHMENT_ROOT . "/" . $pathname; goto yjKPp; lDbrE: $result["error"]["message"] = ""; goto R85y7; W7JB4: $result["status"] = 0; goto jUgod; RP8O3: $fullname = ATTACHMENT_ROOT . "/" . $pathname; goto QlT4m; CcFvT: $store = pdo_get("lywywl_ztb_store_account", array("deltime" => 0, "uniacid" => $_W["uniacid"], "id" => $store_id)); goto qOVmj; JLi4R: $pathname = $file["path"]; goto SMC6z; M41xP: $result["status"] = 0; goto bHK9L; g8tWW: b1DEr: goto yHj8U; WaCcd: if (!($type == "audio")) { goto Eyuy9; } goto RidcN; vf8gn: Z1GQ8: goto JDzAR; BLgp4: $filename = pathinfo($thumbnail, PATHINFO_BASENAME); goto ygO1r; qAXTv: QOQoq: goto rrFz2; o8fRH: qiCbM: goto ityOI; e0KQ9: $info = array("name" => $_FILES["file"]["name"], "ext" => $ext, "filename" => $pathname, "attachment" => $pathname, "url" => tomedia($pathname), "is_image" => 1, "filesize" => filesize($fullname)); goto bCuWO; qOVmj: if (!(empty($store) || $store["status"] === 0 || $store["endtime"] < TIMESTAMP)) { goto cMh6i; } goto ir1_s; f2HE4: BjBCq: goto JeurH; kcHAw: HK5cS: goto WBy49; OTIcd: $result["status"] = 0; goto Hv9GE; HiqF1: $info["state"] = "SUCCESS"; goto cPvd_; YUq2q: G4U63: goto TXJJ9; VJU96: load()->model("account"); goto NWYoS; SAVVV: QULu5: goto TkET4; ja2VJ: exit; goto rHW35; f5a1K: tDcdi: goto Ln2QR; Hv9GE: die(json_encode($result)); goto nHF8A; JFkwk: NlW2N: goto CLkUg; JNPgP: Eyuy9: goto yOx9H; DXfA8: $size = filesize($fullname); goto VTJv6; Mb1ro: load()->model("mc"); goto sPV2v; ZSiqi: load()->func("file"); goto ScKJm; lclTx: $width = intval($setting["width"]); goto Y2fKn; SRoeX: goto oPViD; goto f5a1K; BP0Qn: $file = file_upload($_FILES["file"], $type, $setting["folder"] . $filename, true); goto tPzlI; LoSYt: $act = in_array($_GPC["act"], array("upload", "delete")) ? $_GPC["act"] : "upload"; goto YXjBj; Z8xpi: die(json_encode($result)); goto MLMQF; lH915: file_delete($pathname); goto gZN_t; gZN_t: $info["url"] = tomedia($pathname); goto jpTK3; RCkMM: $result = array("error" => 1, "message" => ''); goto UTMZF; OQtXZ: MAJsH: goto B808C; ki4Qz: xVJTH: goto nbXEL; C55lN: $remotestatus = file_remote_upload($pathname); goto R42sr; B3W01: zcChC: goto j2T59; qNwuT: $ext = strtolower($ext); goto aZ6TR; ifCVZ: $filename = file_random_name(ATTACHMENT_ROOT . "/" . $setting["folder"], $ext); goto BP0Qn; eubTv: if (!($act == "upload")) { goto znCNS; } goto IB0_E; JM3xd: return message($result, '', "ajax"); goto LoH98; oStGt: mkdirs(ATTACHMENT_ROOT . "/temp"); goto r7o6Z; g02wx: if (is_error($remotestatus)) { goto NlW2N; } goto DphDQ; J_034: @unlink($fullname); goto a3tKL; DphDQ: file_delete($pathname); goto otoey; Y2Qet: $thumbnail = file_image_thumb($fullname, '', $width); goto J_034; eX9Nx: if ($_GPC["__store_id"]) { goto eYYVg; } goto XbhkE; cQc04: die(json_encode($result)); goto MWVN1; nZjc1: nBOE7: goto ItHci; pLApY: znCNS: ?>
Did this file decode correctly?
Original Code
<?php
goto FxzV4; CLkUg: $result["\155\145\x73\x73\141\147\x65"] = "\xe8\xbf\x9c\xe7\250\213\xe9\231\x84\344\xbb\266\xe4\xb8\x8a\xe4\xbc\xa0\345\244\xb1\350\xb4\245\357\274\x8c\xe8\257\267\xe6\243\200\xe6\237\xa5\xe9\205\x8d\xe7\xbd\xae\xe5\xb9\266\xe9\207\215\346\226\xb0\344\xb8\x8a\xe4\xbc\240"; goto z52GT; ItHci: $ext = pathinfo($_FILES["\146\x69\x6c\x65"]["\x6e\141\x6d\145"], PATHINFO_EXTENSION); goto qNwuT; XGJEC: $result = file_remote_delete($attachment["\x61\164\164\x61\143\150\155\x65\x6e\164"]); goto kcHAw; Vs9dF: cvEAL: goto pLApY; n4nEB: file_delete($pathname); goto z8oIN; hW1sx: eYYVg: goto l1na1; hCTzj: $info["\x68\145\151\147\x68\x74"] = $size[1]; goto zPYQr; c4zrf: $result["\155\x73\147"] = "\xe4\xb8\x8a\xe4\xbc\xa0\xe5\244\261\xe8\xb4\xa5\xef\xbc\x8c\350\xaf\267\351\207\215\xe8\xaf\x95\357\274\x81"; goto yvbqH; isn0G: $result["\x6d\145\x73\163\141\x67\x65"] = "\xe4\xb8\212\344\xbc\xa0\345\244\261\350\xb4\245\54\x20\350\257\xb7\xe9\x87\215\350\257\225\x2e"; goto n5PXA; nbXEL: $result["\x6d\x65\x73\x73\x61\x67\145"] = "\350\xbf\x9c\xe7\xa8\x8b\351\231\204\xe4\xbb\xb6\344\270\x8a\344\xbc\240\xe5\xa4\xb1\350\264\xa5\xef\274\x8c\350\xaf\xb7\xe6\xa3\200\xe6\237\245\xe9\x85\x8d\347\xbd\256\345\271\266\xe9\207\215\346\x96\xb0\344\xb8\x8a\xe4\274\xa0"; goto n4nEB; hcvYc: $result["\155\x73\147"] = $file["\155\145\163\x73\141\x67\x65"]; goto W7JB4; LoH98: EkeyE: goto qm2Nm; q_EfR: if ($type == "\151\155\x61\x67\x65") { goto NppXB; } goto DXfA8; WathC: cwgeR: goto JLi4R; DZ5CD: iajax(0, "\xe8\xaf\xb7\345\205\210\xe7\231\273\xe9\x99\206\xef\274\x81"); goto bAnv1; UTMZF: if (!($act == "\x64\145\x6c\145\x74\145")) { goto k7fd9; } goto qAqxd; MLMQF: Z7tkz: goto ZT7AQ; JeurH: if (!($_FILES["\x66\151\x6c\145"]["\x65\x72\162\157\162"] != 0)) { goto GkiZZ; } goto isn0G; aZ6TR: $file = file_upload($_FILES["\146\x69\154\x65"]); goto uCkIm; n4cLl: goto Gqpms; goto hW1sx; QlT4m: goto b1DEr; goto Lq1Xq; UvkNC: if (is_array($session_store)) { goto MAJsH; } goto DZ5CD; otoey: $info["\165\162\154"] = tomedia($pathname); goto K0ibW; zYfhs: $result["\x65\162\x72\x6f\162"]["\x6d\145\163\163\x61\147\145"] = $file["\x6d\145\163\x73\x61\147\x65"]; goto hcvYc; AERyk: $id = intval($_GPC["\x69\x64"]); goto jEVHe; l1na1: $store_id = $_GPC["\137\137\163\x74\157\162\145\x5f\x69\x64"]; goto TnjEA; Y2fKn: if (!($thumb == 1 && $width > 0 && (!isset($_GPC["\164\x68\165\155\x62"]) || isset($_GPC["\x74\150\x75\155\x62"]) && !empty($_GPC["\164\x68\165\155\142"])))) { goto P1GQo; } goto Y2Qet; IQm3y: $result["\x6d\163\147"] = "\xe8\xaf\267\xe9\200\x89\xe6\x8b\251\xe8\xa6\x81\344\270\x8a\344\xbc\240\347\x9a\x84\xe6\x96\207\344\xbb\266\xef\xbc\201"; goto FrULa; jE77K: $uniacid = intval($_W["\165\x6e\x69\141\x63\151\x64"]); goto RCkMM; bHK9L: die(json_encode($result)); goto g8tWW; GNMLY: pdo_insert("\x6c\171\x77\x79\x77\154\137\x7a\164\142\137\141\x74\x74\x61\143\x68\x6d\x65\156\164", array("\165\x6e\151\141\x63\151\144" => $uniacid, "\x73\164\157\162\x65\x5f\151\x64" => $store["\151\x64"], "\146\151\x6c\145\156\141\155\145" => $_FILES["\146\x69\x6c\145"]["\156\141\155\x65"], "\x61\x74\164\141\x63\150\x6d\145\156\x74" => $pathname, "\x74\x79\x70\145" => $type == "\151\155\141\147\145" ? 1 : 2, "\x63\162\145\141\x74\145\x74\151\155\145" => TIMESTAMP)); goto sPBF1; yEHcP: $setting["\146\x6f\154\x64\x65\x72"] = "{$type}\163\x2f{$uniacid}"; goto crI1A; AapVZ: $pathname = $file["\160\x61\164\x68"]; goto wuduF; Yeq17: $result["\155\x65\x73\163\141\x67\x65"] = "\xe4\xb8\212\344\xbc\xa0\xe5\xa4\xb1\350\264\xa5\54\x20\xe8\xaf\xb7\xe9\x80\x89\346\x8b\xa9\xe8\xa6\x81\344\270\x8a\344\274\240\xe7\232\204\346\226\207\xe4\273\266\xef\xbc\x81"; goto TF9Rm; ESKxP: $info["\163\164\x61\x74\x75\x73"] = 1; goto IAkB6; Swzej: if (!is_error($result)) { goto tDcdi; } goto lFQqt; TF9Rm: $result["\x6d\x73\x67"] = "\xe4\xb8\x8a\344\xbc\240\xe5\xa4\261\350\264\xa5\54\40\xe8\257\xb7\351\200\211\xe6\x8b\xa9\350\246\201\344\270\212\344\274\240\xe7\x9a\204\346\x96\207\344\273\xb6\xef\274\201"; goto CIMxF; RLBSE: $_W["\163\145\x74\164\x69\x6e\147"]["\x72\x65\x6d\x6f\164\x65"] = $_W["\163\x65\x74\x74\151\156\147"]["\162\145\155\x6f\x74\145"][$_W["\x75\x6e\151\x61\143\x69\x64"]]; goto SAVVV; kXRYy: die(json_encode($result)); goto nKHtU; T71_i: $result["\155\x73\147"] = "\344\270\x8a\xe4\274\xa0\xe5\xa4\xb1\350\xb4\xa5\357\274\214\xe8\xaf\xb7\xe9\x87\215\350\257\x95\xef\xbc\x81"; goto qNFb5; ciMse: $result["\155\x65\x73\x73\141\147\145"] = "\xe4\xb8\212\xe4\xbc\240\xe5\244\xb1\350\xb4\245\x2c\40\xe8\257\267\351\x87\x8d\xe8\257\225\x2e"; goto T71_i; JDzAR: if (parse_path($_FILES["\x66\x69\x6c\x65"]["\x6e\141\155\x65"])) { goto GiSh_; } goto U0gwX; jpTK3: goto uglKh; goto ki4Qz; ZYsTk: $pathinfo = pathinfo($_FILES["\146\x69\x6c\x65"]["\x6e\x61\155\145"]); goto tNs2M; TkET4: if (empty($_W["\163\x65\164\x74\x69\156\147"]["\x72\145\x6d\x6f\164\x65"]["\164\171\160\145"])) { goto qiCbM; } goto C55lN; n5PXA: $result["\x6d\x73\147"] = "\xe4\270\x8a\xe4\xbc\xa0\345\244\261\xe8\xb4\245\x2c\x20\xe8\257\xb7\xe9\207\x8d\350\xaf\x95\56"; goto aU1Gb; EyT0K: if (!empty($attachment)) { goto FW3C2; } goto rnrtj; R19I4: load()->model("\x61\164\164\141\143\150\x6d\145\156\164"); goto Mb1ro; tWcuA: $result["\155\163\x67"] = $thumbnail["\x6d\x65\x73\x73\x61\x67\145"]; goto M41xP; yOx9H: goto cvEAL; goto mquqL; pJxpa: $tempfile = ATTACHMENT_ROOT . "\57\x74\x65\x6d\x70\57" . $tempfilename; goto gBEsO; wTcFc: goto HK5cS; goto mu7gT; U0gwX: $result["\155\x65\x73\x73\141\x67\145"] = "\344\270\x8a\xe4\274\240\345\xa4\xb1\350\264\xa5\54\x20\xe8\xaf\267\xe9\x87\215\350\257\225\56"; goto n_jGz; yvbqH: $result["\x73\164\141\x74\165\x73"] = 0; goto i_Jsq; LoLBj: $size = getimagesize($fullname); goto NJCri; gBEsO: if (!file_put_contents($tempfile, $binaryfile)) { goto G4U63; } goto H8Zpg; tBiUV: if (empty($_W["\163\x65\x74\164\x69\x6e\x67"]["\x72\x65\155\157\164\145"]["\164\171\x70\x65"])) { goto iSWZ6; } goto jLZ09; l1hOQ: goto IzeaN; goto uqL4E; wuduF: $fullname = ATTACHMENT_ROOT . "\x2f" . $pathname; goto n8LA5; YU4bL: $result["\163\x74\x61\x74\165\x73"] = 0; goto cQc04; wPIaY: die(json_encode($result)); goto nZjc1; aU1Gb: $result["\x73\164\x61\x74\165\163"] = 0; goto U32o9; rnrtj: return message(error(1, "\xe5\233\xbe\xe7\211\207\344\270\x8d\345\255\230\345\234\xa8\346\x88\x96\xe5\xb7\262\xe5\210\240\351\x99\244\xef\xbc\201"), '', "\x61\x6a\141\x78"); goto l1hOQ; wMwAN: NppXB: goto LoLBj; w23fg: IzeaN: goto stO_B; qm2Nm: k7fd9: goto eubTv; JnA9E: $imagesize = explode("\57", $imagesize["\x6d\x69\155\x65"]); goto n31qU; NWYoS: load()->model("\x6d\x61\164\x65\x72\151\141\154"); goto R19I4; ygO1r: $pathname = $thumbnail; goto RP8O3; z52GT: file_delete($pathname); goto FbGlR; mquqL: lNMpC: goto rJLvc; crI1A: $setting["\146\157\x6c\144\x65\162"] .= "\x2f" . date("\x59\x2f\155\57"); goto ifCVZ; TnjEA: Gqpms: goto CcFvT; jLZ09: $remotestatus = file_remote_upload($pathname); goto g02wx; xSckl: $result["\155\145\163\x73\x61\147\145"] = $thumbnail["\155\145\x73\163\141\147\x65"]; goto tWcuA; V154L: if (empty($binaryfile)) { goto Zv8Ta; } goto oStGt; nHF8A: goto tnqYR; goto B3W01; uqL4E: FW3C2: goto HhBuF; NJCri: $info["\x77\151\144\x74\x68"] = $size[0]; goto C9PwW; mu7gT: XHg6L: goto XGJEC; r7o6Z: $tempfilename = random(5); goto pJxpa; ityOI: pdo_insert("\154\x79\167\171\x77\154\137\172\164\142\x5f\141\164\x74\x61\143\x68\155\x65\156\x74", array("\x75\x6e\151\141\x63\151\x64" => $uniacid, "\x73\164\157\x72\145\x5f\151\144" => $store["\151\144"], "\x66\151\154\145\156\x61\155\145" => $originname, "\141\x74\164\x61\x63\x68\155\x65\x6e\x74" => $pathname, "\x74\171\x70\145" => $type == "\151\x6d\x61\x67\145" ? 1 : ($type == "\141\x75\x64\151\x6f" || $type == "\x76\x6f\151\x63\145" ? 2 : 3), "\143\x72\x65\x61\164\145\164\x69\155\x65" => TIMESTAMP)); goto HiqF1; zPYQr: setting_load("\162\145\x6d\157\x74\x65"); goto tBiUV; liRDi: if (!(empty($extension) || !in_array($extension, array("\152\160\x67", "\x6a\160\145\147", "\x67\151\x66", "\160\156\147")))) { goto nBOE7; } goto ciMse; PtRQz: tnqYR: goto Vs9dF; n_jGz: $result["\155\163\x67"] = "\xe4\270\212\xe4\274\xa0\xe5\xa4\xb1\xe8\xb4\xa5\xef\274\x8c\xe8\257\267\351\x87\x8d\350\257\225\357\xbc\201"; goto YU4bL; IB0_E: if ($type == "\151\x6d\141\147\x65") { goto lNMpC; } goto WaCcd; U32o9: die(json_encode($result)); goto dhv0Y; cPvd_: $info["\163\x74\x61\x74\165\163"] = 1; goto atKJc; TXJJ9: Zv8Ta: goto qAXTv; FbGlR: $result["\x6d\163\x67"] = "\xe8\277\x9c\xe7\xa8\213\xe9\231\204\344\273\266\xe4\270\212\344\274\xa0\xe5\244\xb1\350\264\245\357\xbc\x8c\xe8\257\xb7\346\243\200\346\237\xa5\xe9\x85\x8d\347\275\xae\xe5\xb9\266\351\207\215\xe6\x96\xb0\344\270\212\344\xbc\xa0"; goto Zch36; Yrzhs: $result = array("\152\163\157\156\x72\x70\x63" => "\x32\56\60", "\x69\x64" => "\151\144", "\x65\162\162\x6f\x72" => array("\143\x6f\144\x65" => 1, "\x6d\145\163\x73\x61\x67\145" => '')); goto ax2Dz; FxzV4: defined("\x49\116\x5f\x49\101") or exit("\101\143\x63\x65\163\163\40\104\x65\x6e\x69\145\144"); goto ZSiqi; Norfb: $info["\167\x69\x64\x74\x68"] = $size[0]; goto hCTzj; bCuWO: $size = getimagesize($fullname); goto Norfb; fuuGA: $store_id = 0; goto eX9Nx; irz9S: wbOiD: goto u3B6q; n8LA5: $info = array("\156\x61\155\x65" => $originname, "\145\x78\x74" => $ext, "\146\x69\154\145\x6e\141\x6d\145" => $pathname, "\141\164\164\141\143\x68\155\x65\x6e\164" => $pathname, "\x75\162\154" => tomedia($pathname), "\151\163\x5f\x69\x6d\141\147\x65" => $type == "\x69\155\x61\x67\145" ? 1 : 0, "\146\151\x6c\x65\163\151\172\145" => filesize($fullname), "\x67\162\x6f\x75\x70\x5f\x69\x64" => intval($_GPC["\x67\x72\157\x75\160\137\151\x64"])); goto q_EfR; C9PwW: $info["\150\x65\x69\147\150\164"] = $size[1]; goto irz9S; SqcNB: R3Qdi: goto Swzej; wB_wF: uglKh: goto o8fRH; ax2Dz: load()->func("\146\x69\x6c\145"); goto YqSme; bdj8x: $result["\x73\164\141\164\x75\163"] = 0; goto NwvPm; VTJv6: $info["\x73\x69\x7a\145"] = sizecount($size); goto qC8Jr; YXjBj: $type = in_array($_GPC["\164\171\x70\145"], array("\x69\x6d\x61\147\x65", "\x61\x75\144\x69\x6f")) ? $_GPC["\x74\x79\x70\145"] : "\x69\x6d\x61\x67\x65"; goto jE77K; VbVZ_: $attachment = pdo_get("\x6c\x79\167\171\x77\x6c\137\172\x74\x62\x5f\141\164\x74\x61\143\150\x6d\x65\156\x74", array("\151\x64" => $id, "\163\164\157\162\145\137\x69\x64" => $store["\x69\144"])); goto EyT0K; ScKJm: load()->func("\143\x6f\155\155\165\x6e\151\143\141\x74\151\157\156"); goto VJU96; YqSme: if (!empty($_FILES["\x66\x69\154\x65"]["\164\155\160\137\156\141\x6d\x65"])) { goto QOQoq; } goto IDCJr; XbhkE: $session_store = json_decode(authcode($_GPC["\137\x5f\x73\145\x73\163\x69\157\x6e\137\x73\164\157\162\x65"]), true); goto UvkNC; qPL78: $result["\x6d\145\x73\x73\x61\x67\145"] = $file["\155\x65\x73\x73\141\x67\x65"]; goto IQm3y; ZT7AQ: iSWZ6: goto GNMLY; NwvPm: die(json_encode($result)); goto wB_wF; R42sr: if (is_error($remotestatus)) { goto xVJTH; } goto lH915; u3B6q: if (empty($_W["\x73\145\x74\x74\x69\x6e\147"]["\x72\x65\155\157\x74\x65"][$_W["\165\x6e\x69\x61\x63\x69\x64"]]["\x74\x79\x70\145"])) { goto QULu5; } goto RLBSE; uCkIm: if (!is_error($file)) { goto cwgeR; } goto zYfhs; Lq1Xq: qLd2K: goto xSckl; WBy49: if (is_error($result)) { goto R3Qdi; } goto WypRx; Zch36: $result["\163\x74\x61\164\x75\163"] = 0; goto Z8xpi; rHW35: cMh6i: goto LoSYt; MWVN1: GiSh_: goto ZYsTk; stO_B: qBSXk: goto JM3xd; VAMRe: die(json_encode($result)); goto f2HE4; a3tKL: if (is_error($thumbnail)) { goto qLd2K; } goto BLgp4; qC8Jr: goto wbOiD; goto wMwAN; RidcN: if (!empty($_FILES["\146\x69\x6c\x65"]["\156\x61\x6d\145"])) { goto BjBCq; } goto Yeq17; jUgod: die(json_encode($result)); goto WathC; atKJc: die(json_encode($info)); goto JNPgP; jEVHe: if (empty($id)) { goto qBSXk; } goto VbVZ_; tNs2M: $extension = strtolower($pathinfo["\x65\170\x74\145\x6e\x73\x69\157\156"]); goto liRDi; BMaI0: $result = file_delete($attachment["\x61\x74\x74\141\x63\150\x6d\x65\156\x74"]); goto wTcFc; rJLvc: $setting = $_W["\163\x65\164\164\151\x6e\x67"]["\165\x70\154\x6f\x61\x64"][$type]; goto Yrzhs; j2T59: if (!($_FILES["\146\151\154\145"]["\145\162\162\157\162"] != 0)) { goto Z1GQ8; } goto ZI2So; qAqxd: if (!($type = "\151\155\x61\147\x65")) { goto EkeyE; } goto AERyk; lFQqt: return message(error(1, $result["\155\x65\163\163\141\147\145"]), '', "\141\x6a\141\x78"); goto SRoeX; i_Jsq: die(json_encode($result)); goto vf8gn; n31qU: $_FILES["\x66\151\x6c\145"] = array("\156\x61\x6d\145" => $tempfilename . "\56" . $imagesize[1], "\x74\x6d\160\x5f\156\141\155\145" => $tempfile, "\145\162\162\157\162" => 0); goto YUq2q; Mk92A: $size = intval($_FILES["\x66\x69\x6c\x65"]["\x73\151\x7a\x65"]); goto O8R34; IAkB6: die(json_encode($info)); goto PtRQz; rrFz2: if (!empty($_FILES["\x66\x69\154\145"]["\x6e\x61\x6d\145"])) { goto zcChC; } goto lDbrE; sPV2v: global $_GPC, $_W; goto fuuGA; ir1_s: iajax(0, "\350\257\267\xe5\x85\x88\347\x99\xbb\xe9\231\206\357\274\201"); goto ja2VJ; H8Zpg: $imagesize = @getimagesize($tempfile); goto JnA9E; nKHtU: HDxOC: goto AapVZ; K0ibW: goto Z7tkz; goto JFkwk; ZI2So: $result["\145\x72\x72\157\162"]["\x6d\145\163\x73\141\x67\145"] = "\xe4\xb8\x8a\xe4\xbc\240\xe5\xa4\261\350\xb4\xa5\357\274\214\xe8\xaf\xb7\xe9\x87\x8d\xe8\257\225\357\274\x81"; goto c4zrf; yHj8U: P1GQo: goto e0KQ9; Ln2QR: return message(error("\x30"), '', "\x61\152\141\170"); goto seT2X; TchQH: $ext = strtolower($ext); goto Mk92A; dhv0Y: GkiZZ: goto VWj4U; bAnv1: exit; goto OQtXZ; R85y7: $result["\x6d\x73\147"] = "\350\xaf\xb7\351\x80\x89\346\213\xa9\xe8\xa6\x81\xe4\xb8\212\xe4\274\240\xe7\x9a\x84\xe5\233\276\xe7\211\x87\xef\xbc\x81"; goto OTIcd; FrULa: $result["\x73\x74\141\x74\x75\163"] = 0; goto kXRYy; qNFb5: $result["\163\x74\141\164\165\x73"] = 0; goto wPIaY; tPzlI: if (!is_error($file)) { goto HDxOC; } goto qPL78; z8oIN: $result["\x6d\163\x67"] = "\xe8\277\234\xe7\250\213\xe9\x99\204\xe4\xbb\xb6\344\270\x8a\xe4\xbc\240\xe5\244\xb1\xe8\264\245\xef\xbc\x8c\xe8\xaf\267\xe6\243\200\346\x9f\245\xe9\205\x8d\347\275\xae\xe5\271\266\351\207\215\xe6\x96\xb0\344\270\x8a\344\274\240"; goto bdj8x; CIMxF: $result["\x73\164\141\164\165\x73"] = 0; goto VAMRe; sPBF1: $info["\x69\144"] = pdo_insertid(); goto ESKxP; WypRx: pdo_delete("\x6c\x79\x77\x79\x77\x6c\137\172\164\142\137\141\x74\164\x61\143\150\x6d\x65\x6e\164", array("\151\x64" => $id)); goto SqcNB; IDCJr: $binaryfile = file_get_contents("\x70\x68\x70\72\x2f\x2f\x69\156\x70\165\164", "\162"); goto V154L; O8R34: $originname = $_FILES["\x66\x69\x6c\145"]["\156\x61\155\145"]; goto yEHcP; VWj4U: $ext = pathinfo($_FILES["\x66\x69\x6c\145"]["\156\x61\x6d\x65"], PATHINFO_EXTENSION); goto TchQH; yjKPp: $thumb = empty($setting["\164\150\x75\155\142"]) ? 0 : 1; goto lclTx; B808C: $store_id = $session_store["\x73\x74\x6f\x72\145\137\151\144"]; goto n4cLl; HhBuF: if ($_W["\163\145\x74\x74\x69\156\147"]["\162\x65\155\x6f\164\x65"]["\x74\171\160\x65"]) { goto XHg6L; } goto BMaI0; seT2X: oPViD: goto w23fg; SMC6z: $fullname = ATTACHMENT_ROOT . "\57" . $pathname; goto yjKPp; lDbrE: $result["\145\x72\x72\157\x72"]["\x6d\145\x73\x73\x61\147\145"] = "\350\257\267\351\200\211\xe6\213\251\xe8\246\x81\xe4\xb8\x8a\xe4\xbc\240\xe7\232\204\345\x9b\xbe\xe7\211\x87\357\xbc\x81"; goto R85y7; W7JB4: $result["\x73\x74\141\x74\x75\x73"] = 0; goto jUgod; RP8O3: $fullname = ATTACHMENT_ROOT . "\x2f" . $pathname; goto QlT4m; CcFvT: $store = pdo_get("\154\x79\167\171\167\x6c\137\172\x74\x62\x5f\x73\164\157\x72\145\x5f\141\143\x63\157\x75\156\x74", array("\x64\x65\x6c\x74\151\155\x65" => 0, "\x75\x6e\x69\141\143\x69\144" => $_W["\x75\156\x69\141\143\x69\x64"], "\151\144" => $store_id)); goto qOVmj; JLi4R: $pathname = $file["\x70\x61\x74\150"]; goto SMC6z; M41xP: $result["\x73\164\141\164\x75\163"] = 0; goto bHK9L; g8tWW: b1DEr: goto yHj8U; WaCcd: if (!($type == "\x61\165\x64\x69\x6f")) { goto Eyuy9; } goto RidcN; vf8gn: Z1GQ8: goto JDzAR; BLgp4: $filename = pathinfo($thumbnail, PATHINFO_BASENAME); goto ygO1r; qAXTv: QOQoq: goto rrFz2; o8fRH: qiCbM: goto ityOI; e0KQ9: $info = array("\156\141\155\x65" => $_FILES["\x66\151\x6c\145"]["\x6e\x61\155\145"], "\x65\x78\x74" => $ext, "\x66\151\x6c\145\x6e\x61\155\145" => $pathname, "\x61\x74\x74\141\143\x68\x6d\x65\x6e\x74" => $pathname, "\165\162\x6c" => tomedia($pathname), "\x69\x73\137\x69\155\141\147\145" => 1, "\x66\x69\154\x65\x73\x69\x7a\145" => filesize($fullname)); goto bCuWO; qOVmj: if (!(empty($store) || $store["\163\x74\x61\164\x75\x73"] === 0 || $store["\145\156\144\164\151\x6d\x65"] < TIMESTAMP)) { goto cMh6i; } goto ir1_s; f2HE4: BjBCq: goto JeurH; kcHAw: HK5cS: goto WBy49; OTIcd: $result["\x73\x74\x61\x74\165\163"] = 0; goto Hv9GE; HiqF1: $info["\x73\x74\x61\164\x65"] = "\123\x55\x43\103\x45\123\x53"; goto cPvd_; YUq2q: G4U63: goto TXJJ9; VJU96: load()->model("\141\143\143\157\165\x6e\164"); goto NWYoS; SAVVV: QULu5: goto TkET4; ja2VJ: exit; goto rHW35; f5a1K: tDcdi: goto Ln2QR; Hv9GE: die(json_encode($result)); goto nHF8A; JFkwk: NlW2N: goto CLkUg; JNPgP: Eyuy9: goto yOx9H; DXfA8: $size = filesize($fullname); goto VTJv6; Mb1ro: load()->model("\155\x63"); goto sPV2v; ZSiqi: load()->func("\x66\x69\154\145"); goto ScKJm; lclTx: $width = intval($setting["\x77\x69\144\x74\150"]); goto Y2fKn; SRoeX: goto oPViD; goto f5a1K; BP0Qn: $file = file_upload($_FILES["\x66\x69\x6c\145"], $type, $setting["\146\x6f\x6c\x64\x65\162"] . $filename, true); goto tPzlI; LoSYt: $act = in_array($_GPC["\141\x63\x74"], array("\x75\160\x6c\157\141\x64", "\144\145\154\x65\x74\x65")) ? $_GPC["\x61\x63\164"] : "\165\160\154\x6f\141\144"; goto YXjBj; Z8xpi: die(json_encode($result)); goto MLMQF; lH915: file_delete($pathname); goto gZN_t; gZN_t: $info["\x75\x72\154"] = tomedia($pathname); goto jpTK3; RCkMM: $result = array("\145\162\162\157\x72" => 1, "\x6d\x65\x73\x73\141\x67\145" => ''); goto UTMZF; OQtXZ: MAJsH: goto B808C; ki4Qz: xVJTH: goto nbXEL; C55lN: $remotestatus = file_remote_upload($pathname); goto R42sr; B3W01: zcChC: goto j2T59; qNwuT: $ext = strtolower($ext); goto aZ6TR; ifCVZ: $filename = file_random_name(ATTACHMENT_ROOT . "\x2f" . $setting["\x66\157\154\144\x65\x72"], $ext); goto BP0Qn; eubTv: if (!($act == "\x75\160\x6c\157\x61\x64")) { goto znCNS; } goto IB0_E; JM3xd: return message($result, '', "\141\152\x61\x78"); goto LoH98; oStGt: mkdirs(ATTACHMENT_ROOT . "\x2f\164\x65\x6d\160"); goto r7o6Z; g02wx: if (is_error($remotestatus)) { goto NlW2N; } goto DphDQ; J_034: @unlink($fullname); goto a3tKL; DphDQ: file_delete($pathname); goto otoey; Y2Qet: $thumbnail = file_image_thumb($fullname, '', $width); goto J_034; eX9Nx: if ($_GPC["\137\137\163\164\x6f\162\145\x5f\x69\144"]) { goto eYYVg; } goto XbhkE; cQc04: die(json_encode($result)); goto MWVN1; nZjc1: nBOE7: goto ItHci; pLApY: znCNS:
Function Calls
None |
Stats
MD5 | cd6c066cf9c7070341022914a83775aa |
Eval Count | 0 |
Decode Time | 88 ms |