Program V:=
{goto main; //跳转到main处后执行程序
1234567
Subroutine infect-executable:
{loop; //定义值
file:=get-random-executable-file; //执行文件
if(first-line-of-file=1234567)goto loop
compress file; //执行文件
prepend V to file;}
subtoutine do-damage:=
{whatever damage is to be done}
Subroutine trigger-pulled:= //如果被启动
{return true if some condition holds} / /返回编辑程序
}
main: main-program:=
{
{infect-executable; //用于破坏程序
If trigger-pulled then do-damamge; //执行压缩文件
goto next;}
next uncompress rest-of-file; //破坏除压缩文件的所有文件
}
给病毒伪代码添加注释
最新推荐文章于 2023-08-01 23:58:43 发布