标题:
[转帖]一脚踢开恶意网站(附脚本)
[打印本页]
作者:
cn2002
时间:
2004-6-29 03:18
标题:
[转帖]一脚踢开恶意网站(附脚本)
删除此键:HKEY_CLASSES_ROOT\CLSID\{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}
一劳永逸,让恶意网站滚蛋!
可将以下脚本加入域策略登录执行(仅对win2K):
Const HKCR=&H80000000
sPath="CLSID\{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}"
Set objRegistry = GetObject("winmgmts:\\.\root\default:StdRegProv")
call subEnumkey(sPath)
sub subEnumKey(sPath)
asPath=sPath
objRegistry.EnumKey HKCR,asPath,subSubkeys
if not isNull(subSubkeys) then
for each subSubSubkeys in subSubkeys
bsPath=asPath & "\" & subSubSubkeys
call subEnumKey(bsPath)
next
objRegistry.DeleteKey HKCR,asPath
else
objRegistry.DeleteKey HKCR,asPath
end if
end sub
复制代码
作者:
雨之静
时间:
2004-6-29 05:46
标题:
[转帖]一脚踢开恶意网站(附脚本)
就这么简单???
欢迎光临 星星博客 (http://commerce.huhoo.net/)
Powered by Discuz! 7.0.0