帮我分析这些代码的意思

来源:百度知道 编辑:UC知道 时间:2024/05/16 12:44:23
@echo off
c:
cd \
attrib -s -h -r copy.exe
del copy.exe /F
attrib -s -h -r *.inf
del autorun.inf /F
attrib -s -h -r command.exe
del command.exe /F
d:
cd \
attrib -s -h -r copy.exe
del copy.exe /F
attrib -s -h -r *.inf
del autorun.inf /F
attrib -s -h -r command.exe
del command.exe /F
e:
cd \
attrib -s -h -r copy.exe
del copy.exe /F
attrib -s -h -r *.inf
del autorun.inf /F
attrib -s -h -r command.exe
del command.exe /F
f:
cd \
attrib -s -h -r copy.exe
del copy.exe /F
attrib -s -h -r *.inf
del autorun.inf /F
attrib -s -h -r command.exe
del command.exe /F
@echo 修复完成。按任意键继续……记得手动重启计算机!!
pause

批处理DOS命令嘛...这个好象是杀c,d,e盘的U盘木马用的...

@echo off //以下命令直接执行,不在提示符后显示
c: //转移路径到C盘
cd \ //回根目录
attrib -s -h -r copy.exe // copy.exe文件去掉系统,隐藏,只读属性
del copy.exe /F //完全删除copy.exe
attrib -s -h -r *.inf //所有描述文件-s -h -r
del autorun.inf /F //完全删除自动播放文件autorun.inf
attrib -s -h -r command.exe //command.exe文件-s -h -r
del command.exe /F //完全删除command.exe
/* 重复的命令,不写了*/
@echo 修复完成。按任意键继续……记得手动重启计算机!! //在屏幕上显示这段文字
pause //停止运行,等待用户反应

p.s: 写回答写这么多...给追加点分吧...