或者

百度快照劫持代码1

作者:ok营销 浏览:281 发布时间:2016-08-16
分享 评论 0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "%HTMLlat1;%HTMLsymbol;%HTMLspecial;..."> <html xmlns="XHTMLnamespace  "> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> <% 定义方法函数 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,"baiduspider",1) > 0 then GetBot="baidu" end if end function %> <style type="text/css"> <!-- .STYLE1 {color: #FF0000} --> </style> </head> <body> <table width="751" height="512"> <tr> <td height="132" bgcolor="#00CCFF"><div align="center">网页头文件(可以是导航栏、图片获其他内容)</div></td> </tr> <tr><td height="311">网页内容部分</td> </tr> <% if GetBot="baidu" or GetBot="google" then Response.Write "<a href='http://www.seojn.com'>(友链一)优化之家</a>" else Response.Write"不做处理,或输出任意" end if %> <tr><td bgcolor="#CCCCCC"><div align="center">友情链接部分</div></td> </tr> </table> </body> </noframes></html>