'-----------------病毒專殺VBS模板源碼開始----------------- on error resume next msgbox "本專殺有ycosxhack提供http://hi.baidu.com/ycosxhack!",64,"xxx病毒專殺" '本專殺模板有ycosxhack(余弦函數)制作,我的博客:http://hi.baidu.com/ycosxhack,歡迎討論。
'-----------------病毒進程結束模塊開始----------------- set w=getobject("winmgmts:") set p=w.execquery("select * from win32_process where name='rundll.exe'") for each i in p i.terminate next '-----------------病毒進程結束模塊終止-----------------
'-----------------插入型dll病毒釋放模塊開始----------------- set WSHShell=wscript.createobject("wscript.shell") WSHShell.run("ps /e * hook.dll"),0,true '請將第三方程序ps.exe與本專殺放在同一目錄下 '-----------------插入型dll病毒釋放模塊終止-----------------
'-----------------病毒文件刪除模塊開始----------------- set fso=createobject("scripting.filesystemobject") set del=wscript.createobject("wscript.shell") d1=del.ExpandEnvironmentStrings("%temp%/rundll.exe") d2=del.ExpandEnvironmentStrings("%SystemRoot%/rundll86.exe") d3=del.ExpandEnvironmentStrings("%SystemRoot%/system32/rundll86.exe") set v1=fso.getfile(d1) set v2=fso.getfile(d2) set v3=fso.getfile(d3) set v4=fso.getfile("d:/virus/virus.exe") '沒涉及到環境變量的可以直接這樣寫。 v1.attributes=0 v2.attributes=0 v3.attributes=0 v4.attributes=0 v1.delete v2.delete v3.delete v4.delete '-----------------病毒文件刪除模塊終止-----------------