标题:这是一个震荡波检测程序。[讨论]
只看楼主
l654321
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2006-5-7
 问题点数:0 回复次数:0 
这是一个震荡波检测程序。[讨论]
为何不能运行呢??哪位高手能指点一下。


Private Sub Form_Load()

Dim findfolder, delreg

Set fso = wscript.CreateObject("scripting.filesystemobject")

Set wsh = wscript.CreateObject("wscript.shell")

findfolder = fso.getspecialfolder(1)

If (fso.fileexist(findfolder & "\avserver.exe")) = flase Then

delreg = wsh.regread("HKLM\software\microsoft\windows\currentversion\run\avserver.exe")

If Err.Number <> 0 Then

MsgBox "电脑中没有种“振荡波”", 64, "GOOD"

wscript.quit

Else

If (MsgBox("已经中“振荡波”病毒,是否清除?", vbYesNo, "BAD")) = vbYes Then

Call kill

Call del

wsh.regdelete "HKLM\software\microsoft\windows\currentversion\run\avserve.exe"

MsgBox "注册表中的加载项已经清除!", 64, "清除"

End If

End If

End If

End

End Sub

Sub del()

Set fso = wscript.CreateObject("scripting.filesystemobject")

getfolder = fso.getspecialfolder(1)

fso.deletefile (getfolder & "\avserve.exe")

End Sub

Sub kill()

Set wsh = wscript.CreateObject("wscript.shell")

wsh.run "cmd.exe/c kill.bat"

wscript.sleep 1200

End Sub

搜索更多相关主题的帖子: 震荡波 exactly Set wscript 
2006-05-13 13:25



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-63839-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.909462 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved