求一些厉害的vbs整人程序代码
发布网友
发布时间:2022-04-23 16:16
我来回答
共2个回答
热心网友
时间:2023-09-16 16:18
首先创建 文本文档,将以下代码复制。on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""说我是只猪,不说就一分钟关你机,不信,试试···"" ",0 ,true
dim a
do while(a <> "我是只猪")
a = inputbox ("说我是只猪,就不关机,速度,说 ""我是只猪"" ","说不说","不说",8000,7000)
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
loop
msgbox chr(13) + chr(13) + chr(13) + "哈哈你是只猪"
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈"复制好代码后,修改文件名.txt 更改为.vbe。大功告成!
热心网友
时间:2023-09-16 16:18
a杨小羊b 的代码精简版
set ws = createobject("wscript.shell")
ws.run "shutdown -r -t 60 -c ""说我是只猪,不说就一分钟关你机,不信,试试···"" ",0
do while(a <> "我是只猪")
a = inputbox ("说我是只猪,就不关机,速度,说 ""我是只猪"" ","说不说","不说",8000,7000)
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
loop
msgbox chr(13) + chr(13) + chr(13) + "哈哈你是只猪"
ws.run "shutdown -a",0
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈"
' 关机的破解的方法:shutdown -a,只要还的延时就能解除关机。
' 结束wscript.exe进程就能结束所有的vbs