标题: Microsoft SQL Server数据库SA权限总结 [打印本页] 作者: lbsong 时间: 2009-1-8 12:24 标题: Microsoft SQL Server数据库SA权限总结 需要准备的工具:
SQL Query Analyzer和SqlExec Sunx Version
第一部分:
去掉xp_cmdshell保护系统的具体分析:
语句如下:
1.去掉xp_cmdshell扩展过程的方法是使用如下语句:
以下为引用的内容:
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]'