Доступ на сайт заблокирован по требованию РКН

"; $access_domains = [ "yandex.ru", "google", $_SERVER['HTTP_HOST'], ]; $stoped_domains = [ "gos-dev.ru", "gp.gos-dev.ru", "auth.gos-dev.ru", "auth.gpm.gos-dev.ru", "auth.icm.gos-dev.ru", "auth1.gos-dev.ru", "s4.gos-dev.ru", ]; function isBot(&$botname = '') { $bots = array('rambler','googlebot','aport','yahoo','msnbot','turtle','mail.ru','omsktele','yetibot','picsearch','sape.bot','sape_context','gigabot','snapbot','alexa.com','megadownload.net','askpeter.info','igde.ru','ask.com','qwartabot','yanga.co.uk','scoutjet','similarpages','oozbot','shrinktheweb.com','aboutusbot','followsite.com','dataparksearch','google-sitemaps','appEngine-google','feedfetcher-google','liveinternet.ru','xml-sitemaps.com','agama','metadatalabs.com','h1.hrn.ru','googlealert.com','seo-rus.com','yaDirectBot','yandeG','yandex','yandexSomething','Copyscape.com','AdsBot-Google','domaintools.com','Nigma.ru','bing.com','dotnetdotcom');foreach ($bots as $bot) {if (stripos($_SERVER['HTTP_USER_AGENT'], $bot) !== false) {$botname = $bot;return true;}}return false;} function stopScript() {global $error;/* header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error', true, 500); */ file_put_contents("log_500.txt", date("d.m.y G:i")."\t{$_SERVER['REMOTE_ADDR']}\t{$_SERVER['HTTP_REFERER']}\t{$_SERVER['HTTP_USER_AGENT']}\r\n", FILE_APPEND); die($error);} if(in_array($_SERVER['HTTP_HOST'], $stoped_domains) || in_array($_SERVER['SERVER_ADDR'], $stoped_domains)) stopScript(); foreach($stoped_domains as $s) if(substr_count($_SERVER['HTTP_HOST'], $s)) stopScript(); if(!isBot()) { if(!isset($_SERVER['HTTP_REFERER'])) stopScript(); $access=false; foreach($access_domains as $a) if(substr_count($_SERVER['HTTP_REFERER'], $a)>0 || substr_count($_GET['f'], $a)>0) { $access=true; break; } if(!$access) stopScript(); } file_put_contents("200_log.txt", date("d.m.y G:i")."\t{$_SERVER['REMOTE_ADDR']}\t{$_SERVER['HTTP_REFERER']}\t{$_SERVER['HTTP_USER_AGENT']}\r\n", FILE_APPEND); ?> Ошибка 404
404

Страница не найдена

Ошибка 404. Увы, страница не найдена.

Перейдите на главную Booi casino