![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-06 12:28 |
共 48,039 主题排行 / 350,124 发帖 / 今日 0 篇 / 48,251 会员排行 |
| DOS批处理 & 脚本技术(批处理室) » U盘病毒免疫 |
| 可打印版本 798 / 2 |
| 第1楼 yotodo | 发表于 2007-11-15 22:06 |
| 新手上路 发帖 5 积分 13 | |
|
U盘病毒免疫 由于最近U盘病毒疯狂! 在这里贴这个小批。。
没有地方上传只贴代码。。本工具只是免疫工具不是专杀。 希望高手有加入专杀!! —————————————————————————————————————— @echo off color 34 echo 按任何键开始免疫。。支持的盘有 C D E H G pause cd\ c: md autorun.inf attrib +h autorun.inf cd autorun.inf mkdir yo...\ cd\ md copy.exe attrib +h copy.exe cd copy.exe mkdir yo...\ cd\ md host.exe attrib +h host.exe cd host.exe mkdir yo...\ cd\ md ntdelect.com attrib +h ntdelect.com cd ntdelect.com mkdir yo...\ cd\ md sos.exe attrib +h sos.exe cd sos.exe mkdir yo...\ cd\ d: md autorun.inf attrib +h autorun.inf cd autorun.inf mkdir yo...\ cd\ md copy.exe attrib +h copy.exe cd copy.exe mkdir yo...\ cd\ md host.exe attrib +h host.exe cd host.exe mkdir yo...\ cd\ md ntdelect.com attrib +h ntdelect.com cd ntdelect.com mkdir yo...\ cd\ md sos.exe attrib +h sos.exe cd sos.exe mkdir yo...\ cd\ e: md autorun.inf attrib +h autorun.inf cd autorun.inf mkdir yo...\ cd\ md copy.exe attrib +h copy.exe cd copy.exe mkdir yo...\ cd\ md host.exe attrib +h host.exe cd host.exe mkdir yo...\ cd\ md ntdelect.com attrib +h ntdelect.com cd ntdelect.com mkdir yo...\ cd\ md sos.exe attrib +h sos.exe cd sos.exe mkdir yo...\ cd\ f: md autorun.inf attrib +h autorun.inf cd autorun.inf mkdir yo...\ cd\ md copy.exe attrib +h copy.exe cd copy.exe mkdir yo...\ cd\ md host.exe attrib +h host.exe cd host.exe mkdir yo...\ cd\ md ntdelect.com attrib +h ntdelect.com cd ntdelect.com mkdir yo...\ cd\ md sos.exe attrib +h sos.exe cd sos.exe mkdir yo...\ cd\ h: md autorun.inf attrib +h autorun.inf cd autorun.inf mkdir yo...\ cd\ md copy.exe attrib +h copy.exe cd copy.exe mkdir yo...\ cd\ md host.exe attrib +h host.exe cd host.exe mkdir yo...\ cd\ md ntdelect.com attrib +h ntdelect.com cd ntdelect.com mkdir yo...\ cd\ md sos.exe attrib +h sos.exe cd sos.exe mkdir yo...\ cd\ g: md autorun.inf attrib +h autorun.inf cd autorun.inf mkdir yo...\ cd\ md copy.exe attrib +h copy.exe cd copy.exe mkdir yo...\ cd\ md host.exe attrib +h host.exe cd host.exe mkdir yo...\ cd\ md ntdelect.com attrib +h ntdelect.com cd ntdelect.com mkdir yo...\ cd\ md sos.exe attrib +h sos.exe cd sos.exe mkdir yo...\ cd\ cls echo 本机免疫完成!! pause exit [ Last edited by yotodo on 2007-11-15 at 10:30 PM ] |
|
| 第2楼 gigi1 | 发表于 2007-11-15 23:28 |
| 新手上路 发帖 7 积分 16 | |
|
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
把这个主键设置任何人不可读,就免疫了,双击优盘也不会中毒 |
|
| 第3楼 gigi1 | 发表于 2007-11-15 23:30 |
| 新手上路 发帖 7 积分 16 | |
|
http://www.helge.mynetcologne.de/setacl/
下载setacl 禁止 setacl CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 /registry /deny everyone /full 恢复 setacl CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 /registry /grant everyone /full |
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |