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 /* ---------------------------- - Php Obfuscator 2.0.13 - - on 2023-..
Decoded Output download
<?php
/* ----------------------------
- Php Obfuscator 2.0.13 -
- on 2023-07-14 15:55:42 -
----------------------------
*/
goto xy3r8; XJgHU: const APP_VERSION = "1.7.4-cr1"; goto yd5Wa; c9neN: function get_terms_child_of($KuBmb) { goto QfH6T; jUudb: $LUUxI = []; goto LA7M6; QfH6T: $YzGEl = $KuBmb["child_of"]; goto OyHBp; LA7M6: foreach ($elWHO as $taAQ3) { goto Q2IcK; Sfq8Q: EnHYt: goto H7xbO; OcRjl: $LUUxI[] = $taAQ3; goto Sfq8Q; H7xbO: a_oRS: goto JIiIX; Q2IcK: if (!in_array($YzGEl, get_ancestors($taAQ3->term_id, "category"))) { goto EnHYt; } goto OcRjl; JIiIX: } goto PjeHF; PjeHF: eqbgX: goto n7_e1; y2o5N: return $elWHO; goto sjqwx; m5mLO: if (!empty($YzGEl)) { goto Q3BF2; } goto y2o5N; OyHBp: unset($KuBmb["child_of"]); goto D3SS_; sjqwx: Q3BF2: goto jUudb; n7_e1: return $LUUxI; goto MZrqw; D3SS_: $elWHO = get_terms($KuBmb); goto m5mLO; MZrqw: } goto uyakM; z0xeX: set_time_limit(120); goto XJgHU; R2ctR: $BG7l6 = "rws"; goto RXC8r; eNjam: if (isset($_POST["data"])) { goto XtkRu; } goto LT3RT; TTo1y: header("Content-Type: application/json"); goto Y746B; yd5Wa: const PUB_TYPE_NEWS = "N"; goto k0qKK; thSQG: const SECTIONS = array(PUB_TYPE_NEWS => "news", PUB_TYPE_VIDEO => "video", PUB_TYPE_VOD => "vod"); goto Ng1Or; N8awi: $xbIu1->commit(); goto gC4GF; W0q0Y: $bEMHr = ["section" => "root", "post_status" => "publish", "post_type" => "video", "post_format" => "standard", "post_author" => 14, "post_image" => 36800, "root_category" => null, "aux_taxonomy_name" => null, "prepend_place" => false]; goto pmRmB; QZTHC: $QmmyJ = []; goto WAHyO; XzQd6: XtkRu: goto Ftq02; t0pQp: gZF7e: goto r2GvG; pmRmB: if (is_int($bEMHr["post_author"])) { goto IsIJ3; } goto LQUUS; qf31b: $QmmyJ["RWS"] = ["ERROR_RWS_TOKEN_EXPIRED"]; goto AV0Ox; xy3r8: ini_set("display_errors", "on"); goto z0xeX; npzJt: define("WP_USE_THEMES", false); goto CVJIg; Nke4M: $KnPcW = ["token_key" => "eLx3adcvIZOzUgSD2Atr", "embed_src" => "https://webtools-%s.msvdn.net/embed/%s", "embed_html" => "<div class="bitcream-vod-embed-container" style="position: relative; padding-bottom: 56.25%%; height: 0; overflow: hidden; max-width:100%%;">
<iframe \xa webkitAllowFullScreen \xa mozallowfullscreen \xa allowfullscreen \xa src="%s"
title="0"
byline="0"
portrait="0" \xa frameborder="0" \xa allow="autoplay"
style="position: absolute; top: 0; left: 0; width: 100%%; height: 100%%;">\xa </iframe>
</div>"]; goto dc_H0; LQUUS: $QmmyJ["RWS"] = ["ERROR_RWS_POST_AUTHOR_NOT_VALID"]; goto b900O; e36Mb: $xbIu1 = new PDO(sprintf("mysql:host=%s;dbname=%s;", DB_HOST, DB_NAME), DB_USER, DB_PASSWORD); goto R2ctR; LT3RT: $QmmyJ["RWS"] = ["ERROR_RWS_MISSING_JSON"]; goto MR91u; k0qKK: const PUB_TYPE_VIDEO = "V"; goto wHzik; MR91u: goto cRBdf; goto XzQd6; PT4hQ: if (!function_exists("wp_generate_attachment_metadata")) { require "../wp-admin/includes/image.php"; } goto zEYkH; Ftq02: $zz8x7 = $_GET["token"] == sha1($_POST["data"] . $KnPcW["token_key"] . $_GET["expire"]); goto f0V0H; MCg20: $Z4gXG = $xbIu1->prepare("INSERT INTO {$BG7l6}_items SET rws_id = :rws_id, wp_id = :wp_id, img_id = :img_id, mod_date = :mod_date"); goto xMd3G; JTtSe: $lz9Ag = json_decode($_POST["data"]); goto W0q0Y; gC4GF: cRBdf: goto TTo1y; taWOc: goto cRBdf; goto t0pQp; dc_H0: if ($KnPcW) { goto gZF7e; } goto XCl8a; XCl8a: $QmmyJ["RWS"] = ["ERROR_RWS_MISSING_CONFIG"]; goto taWOc; r2GvG: $YoqO1 = $_POST["type"]; goto JTtSe; AV0Ox: goto cRBdf; goto c99If; PcHVO: goto cRBdf; goto EjqR1; RGCev: $QmmyJ["RWS"] = ["ERROR_RWS_TOKEN_INVALID"]; goto PcHVO; uyakM: function set_field_post_meta($Nvbpn, $REMvA, $CrOoE) { goto Xdgxf; IGk8w: if (!(count($poQai = explode(">", $KnPcW["{$REMvA}_meta_key"])) > 1)) { goto RXMPA; } goto ALOwY; jGm3b: eiL5_: goto bfpFb; NpQw1: if (empty($KnPcW["{$REMvA}_meta_key"])) { goto eiL5_; } goto mcitk; WXC2g: $Mf75d = $poQai[0]; goto K358B; cimts: update_post_meta($Nvbpn, $Mf75d, $Z5MVw); goto jGm3b; d_IfA: $Z5MVw = $CrOoE; goto IGk8w; K358B: $Z5MVw = json_encode([$poQai[1] => $CrOoE]); goto uTeg4; OCxyx: $Z5MVw = [$poQai[1] => $CrOoE]; goto sPAAP; i1riH: if (!(count($poQai = explode(".", $KnPcW["{$REMvA}_meta_key"])) > 1)) { goto mQ1YN; } goto WXC2g; sPAAP: RXMPA: goto i1riH; mcitk: $Mf75d = $KnPcW["{$REMvA}_meta_key"]; goto d_IfA; uTeg4: mQ1YN: goto cimts; Xdgxf: global $KnPcW; goto NpQw1; ALOwY: $Mf75d = $poQai[0]; goto OCxyx; bfpFb: } goto e36Mb; RXC8r: $uRNC9 = $xbIu1->prepare("SELECT * FROM {$BG7l6}_items WHERE rws_id = :rws_id"); goto MCg20; wHzik: const PUB_TYPE_VOD = "O"; goto thSQG; Tq04J: IsIJ3: goto JUsj9; ol61h: if (!$HuUht) { goto FQ6yh; } goto qf31b; jlliB: foreach ($lz9Ag as $NBVjW) { goto ItSBL; YyXd2: eV0Ex: goto Hcvom; eGV6k: $BixdT = $O8bnO["tmp_name"]; goto eaKS8; d1KVv: if ($XOxOW = wp_insert_post($BQnoW)) { goto Vn6y_; } goto zs5d3; cGPBm: if ($Z4gXG->execute(["rws_id" => $NBVjW->id, "wp_id" => $XOxOW, "img_id" => $jym_E, "mod_date" => $NBVjW->modDate])) { goto iT2T1; } goto Xp1Mg; hxkO5: $cD1Ok = get_post($WZpkk->wp_id); goto PrOCp; sIaSf: $QmmyJ[$NBVjW->id][] = ["ERROR_WP_IMG_" . $jym_E ? "UPDATE" : "INSERT"]; goto s8TV2; Hcvom: CtomS: goto LEvAg; ZKUQy: set_post_format($XOxOW, $bEMHr["post_format"]); goto OeOoX; H_1Zo: if ($J5fQ1->execute(["rws_id" => $NBVjW->id, "img_id" => $jym_E, "mod_date" => $NBVjW->modDate])) { goto sNJYG; } goto BtutW; PGW8E: $wZSjJ .= "." . end(explode(".", $O8bnO["name"])); goto ArrJ2; gQv5k: WrpQM: goto ktxBm; zs5d3: $QmmyJ[$NBVjW->id][] = ["ERROR_WP_POST_" . $Htevx[$NBVjW->id]]; goto dEG7W; LEvAg: set_post_thumbnail($XOxOW, $jym_E ?: $bEMHr["post_image"]); goto lqu22; PrOCp: ipzGV: goto ZSVL8; IXzzt: eiWge: goto iDVeJ; bbXV4: wp_delete_attachment($WZpkk->img_id, true); goto YyXd2; qZ63H: IYlZ3: goto Ip6hi; zdScf: $SIC2N = sprintf($KnPcW["embed_src"], $Jn7i5[1], $Jn7i5[2]); goto bPON7; TNjNP: if (!($Htevx[$NBVjW->id] == "UPDATE")) { goto rjbHW; } goto I3UwK; paHn9: $Osa1E = count($FNabm) == 1 ? $FNabm[0]->ID : $bEMHr["post_author"]; goto pZX0I; OrAlk: $BQnoW = ["post_title" => $NBVjW->title, "post_content" => $AT6Kl, "post_date" => $NBVjW->addDate, "post_modified" => $NBVjW->modDate, "post_author" => $Osa1E, "post_status" => $bEMHr["post_status"], "post_type" => $bEMHr["post_type"], "tags_input" => $wEYmj]; goto TNjNP; ItSBL: $uRNC9->execute(["rws_id" => $NBVjW->id]); goto fJNS9; uuA61: update_post_meta($XOxOW, "embed_md", $n6J00); goto W1rc4; I3UwK: $BQnoW += ["ID" => $WZpkk->wp_id]; goto YOmtP; JWZRd: $Htevx[$NBVjW->id] = "INSERT"; goto qhd3h; rUcrH: kses_remove_filters(); goto d1KVv; Xp1Mg: $QmmyJ[$NBVjW->id][] = ["ERROR_RWS_INSERT", $Z4gXG->errorInfo()[2]]; goto QdpYE; n8UIP: Vn6y_: goto ZKUQy; fJNS9: $WZpkk = $uRNC9->fetchObject(); goto JWZRd; ZMtpT: $Htevx[$NBVjW->id] = "UPDATE"; goto hxkO5; eaKS8: $N3f4J = time(); goto SlZOu; pZX0I: $wZi2Z = get_posts(["post_type" => "programma", "name" => $NBVjW->category]); goto YeNkx; yz4wD: update_post_meta($XOxOW, "cr1_video_embed", $NBVjW->videolink); goto uuA61; fp00m: goto be36t; goto gQv5k; QScN4: ScMCA: goto YrScp; Ip6hi: $wEYmj = [!empty($NBVjW->aux_taxonomy) ? $NBVjW->aux_taxonomy : $NBVjW->category]; goto ddHos; YOmtP: rjbHW: goto rUcrH; s8TV2: goto be36t; goto QScN4; W1rc4: update_post_meta($XOxOW, "video_type_selector", "md"); goto To_6C; yyjIP: if (!($zQH_7["error"] != '')) { goto WrpQM; } goto Z8oON; bPON7: $n6J00 = sprintf($KnPcW["embed_html"], $SIC2N); goto hipvz; ySsFr: be36t: goto VmMUC; YrScp: $f6UwZ = wp_generate_attachment_metadata($jym_E, $zQH_7["file"]); goto USMJf; USMJf: wp_update_attachment_metadata($jym_E, $f6UwZ); goto yJr_K; Fys2s: if ($jym_E = wp_insert_attachment($JY_El, $zQH_7["file"])) { goto ScMCA; } goto sIaSf; vpBcP: cOU0h: goto ySsFr; SlZOu: $wZSjJ = sanitize_file_name("{$NBVjW->id}_{$NBVjW->title}_{$N3f4J}"); goto PGW8E; iDVeJ: $OMPWK = $wZi2Z[0]->ID; goto qZ63H; dEG7W: goto be36t; goto n8UIP; lqu22: if ($Htevx[$NBVjW->id] == "UPDATE") { goto x1NEy; } goto cGPBm; Z8oON: $QmmyJ[$NBVjW->id][] = ["ERROR_WP_IMG_UPLOAD", $zQH_7["error"]]; goto fp00m; on1Yg: $jym_E = null; goto mNWD6; QdpYE: iT2T1: goto Fde5D; jaUbX: sNJYG: goto vpBcP; zPfe5: $OMPWK = $bEMHr["post_category"]; goto c9Fea; qhd3h: if (!($WZpkk !== false)) { goto ipzGV; } goto ZMtpT; Fde5D: goto cOU0h; goto Ny0b0; ZSVL8: $FNabm = get_users(["search_columns", "display_name", "search" => $NBVjW->author]); goto paHn9; OeOoX: if (!(!empty(trim($NBVjW->videolink)) && preg_match("/^https?:\/\/(\w+)\.msvdn.net\/vod\/(\w+)/", $NBVjW->videolink, $Jn7i5))) { goto qZAbV; } goto zdScf; YeNkx: if (count($wZi2Z) == 1) { goto eiWge; } goto zPfe5; ddHos: $AT6Kl = $NBVjW->description; goto OrAlk; Ny0b0: x1NEy: goto H_1Zo; To_6C: $EuJ2s[$NBVjW->id] = get_permalink($XOxOW); goto on1Yg; c9Fea: goto IYlZ3; goto IXzzt; ktxBm: $JY_El = array("post_mime_type" => $zQH_7["type"], "post_title" => $UUNdy, "post_parent" => $XOxOW, "post_status" => "inherit"); goto Fys2s; ArrJ2: $zQH_7 = wp_upload_bits($wZSjJ, null, file_get_contents($BixdT)); goto yyjIP; mNWD6: if (!($O8bnO = $_FILES["imgs:{$NBVjW->id}"])) { goto CtomS; } goto eGV6k; oHzJc: update_post_meta($XOxOW, "programma", [(string) $OMPWK]); goto yz4wD; yJr_K: if (!($WZpkk->img_id && $WZpkk->img_id != $bEMHr["post_image"])) { goto eV0Ex; } goto bbXV4; hipvz: qZAbV: goto oHzJc; BtutW: $QmmyJ[$NBVjW->id][] = ["ERROR_RWS_UPDATE", $J5fQ1->errorInfo()[2]]; goto jaUbX; VmMUC: } goto YwUYL; c99If: FQ6yh: goto npzJt; CVJIg: require "../wp-load.php"; goto PT4hQ; iiW1g: $xbIu1->beginTransaction(); goto jlliB; zEYkH: function alter_post_modification_time($iqLMF, $WQ3q7) { goto vcM9P; b_AMr: GCtr0: goto cKhYZ; aGvxh: $iqLMF["post_modified"] = $WQ3q7["post_modified"]; goto b_AMr; vcM9P: if (empty($WQ3q7["post_modified"])) { goto GCtr0; } goto aGvxh; cKhYZ: return $iqLMF; goto TUKlw; TUKlw: } goto XOcc5; gw7Jh: if ($zz8x7) { goto PFGIe; } goto RGCev; b900O: goto cRBdf; goto Tq04J; xMd3G: $J5fQ1 = $xbIu1->prepare("UPDATE {$BG7l6}_items SET mod_date = :mod_date, img_id = :img_id WHERE rws_id = :rws_id"); goto iiW1g; XOcc5: add_filter("wp_insert_post_data", "alter_post_modification_time", 99, 2); goto c9neN; Ng1Or: $Htevx = []; goto QZTHC; EjqR1: PFGIe: goto ol61h; JUsj9: if (is_int($bEMHr["post_image"])) { goto qRkC9; } goto Ab2Xv; WAHyO: $EuJ2s = []; goto Nke4M; v0pWP: goto cRBdf; goto IKp3S; f0V0H: $HuUht = time() > intval($_GET["expire"]); goto gw7Jh; IKp3S: qRkC9: goto eNjam; Ab2Xv: $QmmyJ["RWS"] = ["ERROR_RWS_POST_IMAGE_NOT_VALID"]; goto v0pWP; YwUYL: isQqg: goto N8awi; Y746B: echo json_encode(["version" => APP_VERSION, "section" => $bEMHr["section"], "status" => count($QmmyJ) == 0 ? "OK" : "KO", "actions" => $Htevx, "errors" => $QmmyJ, "links" => $EuJ2s], JSON_PRETTY_PRINT); ?>
Did this file decode correctly?
Original Code
<?php
/* ----------------------------
- Php Obfuscator 2.0.13 -
- on 2023-07-14 15:55:42 -
----------------------------
*/
goto xy3r8; XJgHU: const APP_VERSION = "\61\56\67\x2e\64\x2d\143\x72\x31"; goto yd5Wa; c9neN: function get_terms_child_of($KuBmb) { goto QfH6T; jUudb: $LUUxI = []; goto LA7M6; QfH6T: $YzGEl = $KuBmb["\143\x68\151\x6c\x64\x5f\x6f\x66"]; goto OyHBp; LA7M6: foreach ($elWHO as $taAQ3) { goto Q2IcK; Sfq8Q: EnHYt: goto H7xbO; OcRjl: $LUUxI[] = $taAQ3; goto Sfq8Q; H7xbO: a_oRS: goto JIiIX; Q2IcK: if (!in_array($YzGEl, get_ancestors($taAQ3->term_id, "\143\x61\x74\x65\x67\157\x72\x79"))) { goto EnHYt; } goto OcRjl; JIiIX: } goto PjeHF; PjeHF: eqbgX: goto n7_e1; y2o5N: return $elWHO; goto sjqwx; m5mLO: if (!empty($YzGEl)) { goto Q3BF2; } goto y2o5N; OyHBp: unset($KuBmb["\x63\x68\x69\x6c\144\x5f\x6f\x66"]); goto D3SS_; sjqwx: Q3BF2: goto jUudb; n7_e1: return $LUUxI; goto MZrqw; D3SS_: $elWHO = get_terms($KuBmb); goto m5mLO; MZrqw: } goto uyakM; z0xeX: set_time_limit(120); goto XJgHU; R2ctR: $BG7l6 = "\x72\x77\163"; goto RXC8r; eNjam: if (isset($_POST["\x64\141\164\141"])) { goto XtkRu; } goto LT3RT; TTo1y: header("\x43\157\x6e\x74\145\156\x74\55\124\171\x70\x65\72\40\141\160\160\154\x69\143\141\164\x69\x6f\156\x2f\x6a\x73\x6f\156"); goto Y746B; yd5Wa: const PUB_TYPE_NEWS = "\116"; goto k0qKK; thSQG: const SECTIONS = array(PUB_TYPE_NEWS => "\x6e\145\x77\x73", PUB_TYPE_VIDEO => "\166\151\x64\x65\x6f", PUB_TYPE_VOD => "\166\157\144"); goto Ng1Or; N8awi: $xbIu1->commit(); goto gC4GF; W0q0Y: $bEMHr = ["\163\x65\x63\x74\151\x6f\156" => "\162\157\157\164", "\x70\x6f\163\x74\x5f\x73\164\x61\164\165\x73" => "\x70\x75\142\x6c\x69\x73\150", "\160\157\x73\x74\137\164\171\160\145" => "\x76\151\x64\145\157", "\160\x6f\163\164\x5f\146\157\x72\155\x61\164" => "\163\164\141\x6e\x64\x61\x72\144", "\x70\x6f\163\164\x5f\x61\x75\164\150\x6f\162" => 14, "\160\x6f\163\164\137\x69\x6d\x61\147\x65" => 36800, "\x72\x6f\157\164\x5f\x63\x61\164\x65\147\157\x72\x79" => null, "\x61\x75\170\137\164\x61\x78\157\x6e\x6f\x6d\171\x5f\156\x61\x6d\145" => null, "\160\162\x65\160\145\156\x64\x5f\160\154\141\x63\x65" => false]; goto pmRmB; QZTHC: $QmmyJ = []; goto WAHyO; XzQd6: XtkRu: goto Ftq02; t0pQp: gZF7e: goto r2GvG; pmRmB: if (is_int($bEMHr["\160\x6f\163\x74\x5f\x61\165\x74\x68\x6f\162"])) { goto IsIJ3; } goto LQUUS; qf31b: $QmmyJ["\122\127\123"] = ["\x45\x52\122\117\122\x5f\122\x57\123\137\124\x4f\x4b\x45\116\x5f\105\x58\x50\x49\122\x45\104"]; goto AV0Ox; xy3r8: ini_set("\144\x69\163\160\x6c\141\x79\137\145\162\x72\x6f\162\x73", "\157\x6e"); goto z0xeX; npzJt: define("\x57\120\x5f\125\123\105\137\x54\110\105\x4d\105\123", false); goto CVJIg; Nke4M: $KnPcW = ["\164\157\x6b\145\x6e\137\x6b\x65\171" => "\145\114\x78\x33\x61\x64\143\x76\x49\132\x4f\172\x55\x67\123\x44\62\x41\164\x72", "\x65\155\142\x65\x64\x5f\163\x72\143" => "\150\x74\164\160\x73\x3a\x2f\57\167\x65\142\x74\157\157\x6c\163\x2d\45\163\56\x6d\x73\x76\x64\x6e\x2e\156\x65\164\57\145\155\142\x65\144\x2f\45\x73", "\145\x6d\142\x65\x64\x5f\x68\164\x6d\x6c" => "\74\144\151\x76\x20\x63\154\x61\x73\x73\x3d\x22\x62\x69\164\x63\162\x65\141\155\55\x76\157\x64\55\145\155\x62\145\x64\55\143\157\156\x74\x61\151\x6e\145\x72\42\40\x73\x74\x79\x6c\x65\x3d\x22\160\x6f\163\151\164\x69\157\156\72\40\162\x65\154\x61\164\151\x76\145\x3b\x20\x70\141\144\x64\x69\156\x67\55\142\x6f\164\x74\x6f\x6d\72\40\x35\66\x2e\x32\x35\45\45\x3b\40\x68\x65\x69\x67\x68\x74\72\x20\x30\x3b\40\x6f\166\145\162\x66\x6c\x6f\167\72\40\150\151\x64\144\145\x6e\x3b\40\x6d\x61\x78\55\167\151\144\164\150\72\61\x30\60\45\45\73\x22\76\12\x20\40\x20\40\74\x69\146\x72\141\x6d\x65\40\xa\40\x20\40\40\x20\x20\x20\40\167\145\x62\153\x69\164\x41\154\154\x6f\167\x46\x75\x6c\x6c\123\143\162\145\145\x6e\x20\xa\x20\x20\40\x20\x20\40\x20\40\155\157\x7a\141\x6c\154\157\167\146\165\154\x6c\163\x63\162\x65\145\x6e\x20\xa\x20\x20\40\x20\40\40\40\40\x61\154\x6c\x6f\167\146\165\x6c\x6c\163\x63\162\145\x65\x6e\40\xa\40\x20\40\x20\40\x20\x20\x20\x73\162\143\75\x22\45\163\x22\12\40\x20\40\40\x20\x20\x20\40\x74\x69\x74\154\x65\75\x22\x30\x22\40\12\x20\x20\x20\x20\40\40\x20\40\142\171\x6c\x69\156\145\75\x22\x30\x22\40\12\x20\40\40\40\x20\x20\40\40\x70\157\162\164\162\141\151\x74\x3d\x22\x30\42\x20\xa\40\40\x20\x20\40\x20\x20\40\x66\x72\x61\155\145\x62\157\x72\x64\x65\x72\75\x22\60\x22\40\xa\x20\x20\40\40\x20\x20\x20\40\x61\154\x6c\x6f\167\x3d\42\141\x75\164\x6f\160\x6c\141\x79\42\40\12\40\x20\40\40\40\40\40\40\x73\x74\171\x6c\145\x3d\42\160\x6f\163\151\164\151\157\x6e\72\40\141\142\x73\157\x6c\165\164\x65\73\x20\164\157\160\x3a\x20\60\x3b\40\154\145\x66\164\x3a\40\x30\73\x20\167\x69\144\x74\150\x3a\x20\x31\60\60\45\x25\73\40\150\145\151\x67\150\x74\x3a\40\61\x30\x30\x25\x25\x3b\42\x3e\xa\40\40\x20\x20\74\57\x69\x66\x72\x61\155\145\76\12\74\57\x64\151\166\76"]; goto dc_H0; LQUUS: $QmmyJ["\122\x57\x53"] = ["\105\122\122\x4f\x52\137\x52\127\x53\137\120\117\123\124\137\101\125\x54\110\x4f\x52\137\x4e\x4f\x54\x5f\126\x41\114\x49\104"]; goto b900O; e36Mb: $xbIu1 = new PDO(sprintf("\155\171\x73\x71\x6c\x3a\150\157\163\164\x3d\45\x73\73\x64\142\156\141\155\x65\x3d\45\x73\x3b", DB_HOST, DB_NAME), DB_USER, DB_PASSWORD); goto R2ctR; LT3RT: $QmmyJ["\x52\x57\x53"] = ["\x45\122\122\117\x52\137\x52\x57\123\x5f\x4d\111\123\123\x49\x4e\x47\137\x4a\123\117\x4e"]; goto MR91u; k0qKK: const PUB_TYPE_VIDEO = "\126"; goto wHzik; MR91u: goto cRBdf; goto XzQd6; PT4hQ: if (!function_exists("\167\160\x5f\x67\145\x6e\x65\x72\141\x74\145\137\141\164\x74\x61\x63\150\155\145\x6e\x74\x5f\155\x65\164\x61\x64\x61\x74\x61")) { require "\56\x2e\57\167\160\x2d\141\x64\155\151\x6e\x2f\x69\156\143\x6c\x75\144\x65\x73\x2f\151\x6d\x61\147\x65\x2e\x70\150\160"; } goto zEYkH; Ftq02: $zz8x7 = $_GET["\x74\157\153\145\x6e"] == sha1($_POST["\144\x61\164\141"] . $KnPcW["\x74\157\x6b\145\156\x5f\x6b\x65\171"] . $_GET["\x65\170\x70\151\x72\x65"]); goto f0V0H; MCg20: $Z4gXG = $xbIu1->prepare("\111\116\x53\105\x52\124\x20\111\x4e\124\x4f\40{$BG7l6}\137\x69\164\145\155\x73\x20\123\105\x54\x20\x72\167\163\x5f\151\x64\40\x3d\x20\x3a\x72\x77\163\x5f\151\x64\x2c\40\167\x70\x5f\151\144\x20\x3d\40\x3a\167\160\137\151\x64\54\x20\x69\155\147\137\151\x64\x20\x3d\x20\x3a\151\155\x67\137\x69\x64\54\40\x6d\157\144\137\144\141\164\x65\x20\75\40\72\x6d\157\x64\137\144\x61\x74\x65"); goto xMd3G; JTtSe: $lz9Ag = json_decode($_POST["\x64\x61\164\x61"]); goto W0q0Y; gC4GF: cRBdf: goto TTo1y; taWOc: goto cRBdf; goto t0pQp; dc_H0: if ($KnPcW) { goto gZF7e; } goto XCl8a; XCl8a: $QmmyJ["\x52\x57\x53"] = ["\x45\x52\x52\117\x52\x5f\x52\x57\x53\x5f\115\111\123\x53\111\x4e\x47\137\x43\x4f\x4e\106\111\x47"]; goto taWOc; r2GvG: $YoqO1 = $_POST["\164\171\160\x65"]; goto JTtSe; AV0Ox: goto cRBdf; goto c99If; PcHVO: goto cRBdf; goto EjqR1; RGCev: $QmmyJ["\122\x57\123"] = ["\x45\122\122\x4f\x52\137\122\127\123\x5f\x54\x4f\x4b\105\116\137\111\116\x56\x41\114\111\104"]; goto PcHVO; uyakM: function set_field_post_meta($Nvbpn, $REMvA, $CrOoE) { goto Xdgxf; IGk8w: if (!(count($poQai = explode("\76", $KnPcW["{$REMvA}\x5f\155\145\x74\x61\x5f\x6b\x65\171"])) > 1)) { goto RXMPA; } goto ALOwY; jGm3b: eiL5_: goto bfpFb; NpQw1: if (empty($KnPcW["{$REMvA}\137\x6d\x65\164\x61\x5f\x6b\x65\171"])) { goto eiL5_; } goto mcitk; WXC2g: $Mf75d = $poQai[0]; goto K358B; cimts: update_post_meta($Nvbpn, $Mf75d, $Z5MVw); goto jGm3b; d_IfA: $Z5MVw = $CrOoE; goto IGk8w; K358B: $Z5MVw = json_encode([$poQai[1] => $CrOoE]); goto uTeg4; OCxyx: $Z5MVw = [$poQai[1] => $CrOoE]; goto sPAAP; i1riH: if (!(count($poQai = explode("\56", $KnPcW["{$REMvA}\x5f\155\145\164\x61\137\153\145\171"])) > 1)) { goto mQ1YN; } goto WXC2g; sPAAP: RXMPA: goto i1riH; mcitk: $Mf75d = $KnPcW["{$REMvA}\137\155\145\164\141\137\x6b\145\171"]; goto d_IfA; uTeg4: mQ1YN: goto cimts; Xdgxf: global $KnPcW; goto NpQw1; ALOwY: $Mf75d = $poQai[0]; goto OCxyx; bfpFb: } goto e36Mb; RXC8r: $uRNC9 = $xbIu1->prepare("\x53\x45\114\x45\x43\124\40\x2a\40\106\122\117\x4d\40{$BG7l6}\137\151\164\x65\x6d\163\x20\x57\x48\x45\122\105\40\162\x77\x73\x5f\x69\144\x20\x3d\x20\x3a\x72\x77\163\137\151\144"); goto MCg20; wHzik: const PUB_TYPE_VOD = "\117"; goto thSQG; Tq04J: IsIJ3: goto JUsj9; ol61h: if (!$HuUht) { goto FQ6yh; } goto qf31b; jlliB: foreach ($lz9Ag as $NBVjW) { goto ItSBL; YyXd2: eV0Ex: goto Hcvom; eGV6k: $BixdT = $O8bnO["\164\155\x70\x5f\x6e\x61\x6d\145"]; goto eaKS8; d1KVv: if ($XOxOW = wp_insert_post($BQnoW)) { goto Vn6y_; } goto zs5d3; cGPBm: if ($Z4gXG->execute(["\162\167\x73\137\151\x64" => $NBVjW->id, "\167\160\137\x69\144" => $XOxOW, "\x69\155\x67\137\x69\144" => $jym_E, "\155\x6f\144\137\x64\x61\164\x65" => $NBVjW->modDate])) { goto iT2T1; } goto Xp1Mg; hxkO5: $cD1Ok = get_post($WZpkk->wp_id); goto PrOCp; sIaSf: $QmmyJ[$NBVjW->id][] = ["\105\x52\122\117\x52\x5f\x57\x50\137\x49\115\107\137" . $jym_E ? "\125\x50\104\x41\x54\105" : "\111\116\x53\105\x52\124"]; goto s8TV2; Hcvom: CtomS: goto LEvAg; ZKUQy: set_post_format($XOxOW, $bEMHr["\x70\x6f\163\x74\137\x66\157\x72\x6d\x61\x74"]); goto OeOoX; H_1Zo: if ($J5fQ1->execute(["\x72\167\163\137\151\144" => $NBVjW->id, "\x69\x6d\147\137\x69\x64" => $jym_E, "\x6d\157\x64\x5f\x64\141\x74\x65" => $NBVjW->modDate])) { goto sNJYG; } goto BtutW; PGW8E: $wZSjJ .= "\56" . end(explode("\56", $O8bnO["\x6e\x61\x6d\145"])); goto ArrJ2; gQv5k: WrpQM: goto ktxBm; zs5d3: $QmmyJ[$NBVjW->id][] = ["\105\x52\x52\117\122\x5f\127\x50\x5f\120\x4f\123\x54\x5f" . $Htevx[$NBVjW->id]]; goto dEG7W; LEvAg: set_post_thumbnail($XOxOW, $jym_E ?: $bEMHr["\x70\x6f\163\x74\x5f\151\x6d\141\147\145"]); goto lqu22; PrOCp: ipzGV: goto ZSVL8; IXzzt: eiWge: goto iDVeJ; bbXV4: wp_delete_attachment($WZpkk->img_id, true); goto YyXd2; qZ63H: IYlZ3: goto Ip6hi; zdScf: $SIC2N = sprintf($KnPcW["\x65\155\x62\145\x64\x5f\x73\162\x63"], $Jn7i5[1], $Jn7i5[2]); goto bPON7; TNjNP: if (!($Htevx[$NBVjW->id] == "\x55\x50\x44\x41\124\105")) { goto rjbHW; } goto I3UwK; paHn9: $Osa1E = count($FNabm) == 1 ? $FNabm[0]->ID : $bEMHr["\x70\157\163\x74\137\141\165\164\150\157\x72"]; goto pZX0I; OrAlk: $BQnoW = ["\160\x6f\163\164\137\164\x69\164\x6c\x65" => $NBVjW->title, "\160\x6f\x73\164\137\143\157\x6e\164\x65\156\164" => $AT6Kl, "\160\x6f\x73\x74\x5f\x64\x61\164\x65" => $NBVjW->addDate, "\160\x6f\x73\164\x5f\155\x6f\x64\151\x66\x69\145\x64" => $NBVjW->modDate, "\160\x6f\163\164\x5f\x61\x75\164\150\x6f\x72" => $Osa1E, "\x70\x6f\163\x74\x5f\x73\164\141\164\165\x73" => $bEMHr["\x70\x6f\163\x74\137\163\164\141\164\x75\163"], "\x70\x6f\163\x74\x5f\x74\171\160\145" => $bEMHr["\160\157\163\164\x5f\x74\x79\160\x65"], "\164\141\x67\163\137\x69\x6e\x70\x75\x74" => $wEYmj]; goto TNjNP; ItSBL: $uRNC9->execute(["\x72\167\163\x5f\151\x64" => $NBVjW->id]); goto fJNS9; uuA61: update_post_meta($XOxOW, "\145\x6d\x62\x65\144\137\155\144", $n6J00); goto W1rc4; I3UwK: $BQnoW += ["\111\104" => $WZpkk->wp_id]; goto YOmtP; JWZRd: $Htevx[$NBVjW->id] = "\111\x4e\x53\x45\x52\124"; goto qhd3h; rUcrH: kses_remove_filters(); goto d1KVv; Xp1Mg: $QmmyJ[$NBVjW->id][] = ["\x45\122\122\x4f\x52\x5f\122\x57\x53\137\x49\x4e\x53\x45\122\x54", $Z4gXG->errorInfo()[2]]; goto QdpYE; n8UIP: Vn6y_: goto ZKUQy; fJNS9: $WZpkk = $uRNC9->fetchObject(); goto JWZRd; ZMtpT: $Htevx[$NBVjW->id] = "\x55\x50\104\101\124\x45"; goto hxkO5; eaKS8: $N3f4J = time(); goto SlZOu; pZX0I: $wZi2Z = get_posts(["\160\x6f\163\164\x5f\164\171\x70\145" => "\x70\x72\157\x67\x72\141\155\155\141", "\x6e\141\x6d\x65" => $NBVjW->category]); goto YeNkx; yz4wD: update_post_meta($XOxOW, "\x63\162\x31\137\x76\151\144\145\157\x5f\x65\x6d\142\x65\144", $NBVjW->videolink); goto uuA61; fp00m: goto be36t; goto gQv5k; QScN4: ScMCA: goto YrScp; Ip6hi: $wEYmj = [!empty($NBVjW->aux_taxonomy) ? $NBVjW->aux_taxonomy : $NBVjW->category]; goto ddHos; YOmtP: rjbHW: goto rUcrH; s8TV2: goto be36t; goto QScN4; W1rc4: update_post_meta($XOxOW, "\166\x69\x64\x65\x6f\137\x74\x79\160\145\x5f\x73\145\x6c\x65\143\x74\x6f\162", "\x6d\x64"); goto To_6C; yyjIP: if (!($zQH_7["\x65\x72\x72\x6f\162"] != '')) { goto WrpQM; } goto Z8oON; bPON7: $n6J00 = sprintf($KnPcW["\145\x6d\x62\x65\144\137\150\164\155\x6c"], $SIC2N); goto hipvz; ySsFr: be36t: goto VmMUC; YrScp: $f6UwZ = wp_generate_attachment_metadata($jym_E, $zQH_7["\146\x69\154\145"]); goto USMJf; USMJf: wp_update_attachment_metadata($jym_E, $f6UwZ); goto yJr_K; Fys2s: if ($jym_E = wp_insert_attachment($JY_El, $zQH_7["\x66\x69\154\x65"])) { goto ScMCA; } goto sIaSf; vpBcP: cOU0h: goto ySsFr; SlZOu: $wZSjJ = sanitize_file_name("{$NBVjW->id}\137{$NBVjW->title}\137{$N3f4J}"); goto PGW8E; iDVeJ: $OMPWK = $wZi2Z[0]->ID; goto qZ63H; dEG7W: goto be36t; goto n8UIP; lqu22: if ($Htevx[$NBVjW->id] == "\125\x50\104\x41\x54\105") { goto x1NEy; } goto cGPBm; Z8oON: $QmmyJ[$NBVjW->id][] = ["\x45\x52\x52\117\x52\x5f\x57\120\137\x49\115\x47\137\x55\x50\x4c\117\101\104", $zQH_7["\x65\x72\162\x6f\162"]]; goto fp00m; on1Yg: $jym_E = null; goto mNWD6; QdpYE: iT2T1: goto Fde5D; jaUbX: sNJYG: goto vpBcP; zPfe5: $OMPWK = $bEMHr["\x70\x6f\163\x74\137\x63\x61\x74\145\147\157\162\x79"]; goto c9Fea; qhd3h: if (!($WZpkk !== false)) { goto ipzGV; } goto ZMtpT; Fde5D: goto cOU0h; goto Ny0b0; ZSVL8: $FNabm = get_users(["\x73\145\141\x72\x63\150\x5f\143\x6f\x6c\x75\x6d\x6e\163", "\144\151\x73\x70\154\x61\171\137\x6e\141\155\145", "\x73\x65\141\162\143\x68" => $NBVjW->author]); goto paHn9; OeOoX: if (!(!empty(trim($NBVjW->videolink)) && preg_match("\x2f\136\150\164\164\x70\x73\x3f\x3a\x5c\x2f\134\x2f\x28\134\x77\x2b\51\134\56\155\x73\166\144\x6e\x2e\x6e\145\164\x5c\57\x76\x6f\144\x5c\57\x28\x5c\167\x2b\51\x2f", $NBVjW->videolink, $Jn7i5))) { goto qZAbV; } goto zdScf; YeNkx: if (count($wZi2Z) == 1) { goto eiWge; } goto zPfe5; ddHos: $AT6Kl = $NBVjW->description; goto OrAlk; Ny0b0: x1NEy: goto H_1Zo; To_6C: $EuJ2s[$NBVjW->id] = get_permalink($XOxOW); goto on1Yg; c9Fea: goto IYlZ3; goto IXzzt; ktxBm: $JY_El = array("\x70\x6f\163\x74\137\x6d\151\x6d\x65\x5f\x74\171\160\x65" => $zQH_7["\x74\171\x70\x65"], "\160\x6f\x73\164\x5f\x74\x69\164\154\145" => $UUNdy, "\x70\x6f\163\x74\x5f\160\x61\x72\145\x6e\164" => $XOxOW, "\160\157\163\164\137\x73\x74\x61\x74\x75\163" => "\151\156\150\x65\x72\151\x74"); goto Fys2s; ArrJ2: $zQH_7 = wp_upload_bits($wZSjJ, null, file_get_contents($BixdT)); goto yyjIP; mNWD6: if (!($O8bnO = $_FILES["\x69\155\x67\x73\x3a{$NBVjW->id}"])) { goto CtomS; } goto eGV6k; oHzJc: update_post_meta($XOxOW, "\160\x72\157\x67\162\x61\155\155\x61", [(string) $OMPWK]); goto yz4wD; yJr_K: if (!($WZpkk->img_id && $WZpkk->img_id != $bEMHr["\x70\157\x73\x74\x5f\x69\x6d\x61\147\145"])) { goto eV0Ex; } goto bbXV4; hipvz: qZAbV: goto oHzJc; BtutW: $QmmyJ[$NBVjW->id][] = ["\x45\x52\x52\117\x52\137\x52\127\123\137\x55\x50\x44\101\124\x45", $J5fQ1->errorInfo()[2]]; goto jaUbX; VmMUC: } goto YwUYL; c99If: FQ6yh: goto npzJt; CVJIg: require "\x2e\56\57\167\x70\55\154\x6f\141\144\x2e\160\150\160"; goto PT4hQ; iiW1g: $xbIu1->beginTransaction(); goto jlliB; zEYkH: function alter_post_modification_time($iqLMF, $WQ3q7) { goto vcM9P; b_AMr: GCtr0: goto cKhYZ; aGvxh: $iqLMF["\x70\157\x73\x74\x5f\x6d\x6f\144\x69\x66\x69\x65\x64"] = $WQ3q7["\160\x6f\x73\x74\137\x6d\x6f\144\151\146\x69\145\144"]; goto b_AMr; vcM9P: if (empty($WQ3q7["\x70\157\163\164\x5f\x6d\157\x64\151\146\x69\145\144"])) { goto GCtr0; } goto aGvxh; cKhYZ: return $iqLMF; goto TUKlw; TUKlw: } goto XOcc5; gw7Jh: if ($zz8x7) { goto PFGIe; } goto RGCev; b900O: goto cRBdf; goto Tq04J; xMd3G: $J5fQ1 = $xbIu1->prepare("\125\x50\x44\101\x54\x45\40{$BG7l6}\x5f\151\x74\x65\155\x73\40\x53\x45\124\x20\x6d\157\x64\x5f\144\x61\164\x65\40\75\40\72\155\x6f\144\x5f\x64\141\x74\145\x2c\40\151\155\147\137\x69\144\40\x3d\40\72\x69\155\x67\137\x69\144\x20\x57\x48\105\x52\105\x20\x72\x77\163\137\x69\x64\40\75\x20\x3a\162\167\x73\137\x69\144"); goto iiW1g; XOcc5: add_filter("\x77\x70\137\151\x6e\163\x65\162\164\137\x70\157\x73\x74\137\x64\141\x74\x61", "\141\x6c\x74\145\x72\x5f\160\x6f\163\x74\137\x6d\x6f\144\151\146\151\x63\141\164\x69\x6f\x6e\x5f\x74\151\155\145", 99, 2); goto c9neN; Ng1Or: $Htevx = []; goto QZTHC; EjqR1: PFGIe: goto ol61h; JUsj9: if (is_int($bEMHr["\x70\157\163\164\137\151\x6d\x61\147\145"])) { goto qRkC9; } goto Ab2Xv; WAHyO: $EuJ2s = []; goto Nke4M; v0pWP: goto cRBdf; goto IKp3S; f0V0H: $HuUht = time() > intval($_GET["\145\170\x70\151\162\145"]); goto gw7Jh; IKp3S: qRkC9: goto eNjam; Ab2Xv: $QmmyJ["\122\127\x53"] = ["\x45\x52\122\x4f\122\137\122\x57\x53\x5f\x50\117\123\x54\137\111\x4d\101\x47\105\x5f\116\x4f\x54\137\126\x41\x4c\x49\104"]; goto v0pWP; YwUYL: isQqg: goto N8awi; Y746B: echo json_encode(["\x76\145\162\x73\151\157\x6e" => APP_VERSION, "\163\145\143\x74\x69\157\156" => $bEMHr["\163\145\x63\x74\151\x6f\x6e"], "\x73\x74\141\x74\165\x73" => count($QmmyJ) == 0 ? "\117\113" : "\x4b\117", "\141\x63\164\x69\157\x6e\x73" => $Htevx, "\x65\162\162\157\x72\163" => $QmmyJ, "\154\151\156\x6b\x73" => $EuJ2s], JSON_PRETTY_PRINT);
Function Calls
None |
Stats
MD5 | dcbee0825932bd30ad5ee5367057be50 |
Eval Count | 0 |
Decode Time | 65 ms |