首页 » 默认不分类 » 友情链接欺骗,黑链的技术

友情链接欺骗,黑链的技术

本文只是揭露一下,并不是鼓励大家这样做,顺便鄙视这样做的人:
原理就是在动态网页中加入代码来判断浏览对象,主要分[机器人]和[真实用户]浏览。
ASP可以用以下代码来获取当前浏览用户的信息:
user-agent=request.servervariables(“http_user_agent”)
正常用户的user-agent一般为类似Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)这样之类的,如果是google蜘蛛去访问的时候,则user-agent信息为Googlebot/2.1+(+http://www.google.com/bot.html)
一、对于一些站长来说,就很容易通过这个来识别当前访问者是蜘蛛还是正常用户,然后来控制是否显示友情链接
二、对于一些黑客来说,用户浏览时就让其隐藏,机器人抓取时就让其显示,你还神不知鬼不觉的。

, , ,

转发到新浪微博 转发到新浪微博

目前这篇文章有44条评论(Rss)

  1. Ogrodzenia dla Koni | #1
    05/17/2012 at 08:04

    All material copied from another supply

  2. Cheap Web Design | #2
    05/17/2012 at 08:06

    You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complex and extremely broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  3. PetStep Pet Ramp | #3
    05/17/2012 at 08:21

    This is a good posting, I was wondering if I could use this write-up on my website, I will link it back to your website though. If this is a problem please let me know and I will take it down right away

  4. serivce | #4
    05/17/2012 at 08:22

    IXQYSM This is one awesome blog article.Much thanks again. Really Cool.

我要评论