关闭 sp_OACreate 与 xp_cmdshell
来源:互联网 发布:钢琴联系软件 编辑:程序博客网 时间:2024/06/11 10:51
sp_OACreate 与 xp_cmdshell 都是比较危险的存储过程,一般情况下应该禁用。
------------------ 关闭 Ole Automation Procedures -----------------------------sp_configure 'show advanced options', 1;GORECONFIGURE WITH OVERRIDE;GOEXEC sp_configure 'Ole Automation Procedures', 0;--开启1,关闭0GORECONFIGURE WITH OVERRIDE;GOEXEC sp_configure 'Ole Automation Procedures';GO--测试是否已关闭EXEC sp_OACreate------------------ 关闭 xp_cmdshell -----------------------------EXEC sp_configure 'show advanced options', 1;GORECONFIGURE WITH OVERRIDE;GOEXEC sp_configure 'xp_cmdshell', 0 --开启1,关闭0GORECONFIGURE WITH OVERRIDEGO--测试是否已关闭EXEC xp_cmdshell 'dir c:\*.*'
阅读全文
0 0
- 关闭 sp_OACreate 与 xp_cmdshell
- 启用与关闭xp_cmdshell
- 分享:sp_xp_cmdshell 开启与关闭xp_cmdshell功能
- SQL 不常用的一些命令sp_OACreate,xp_cmdshell,sp_makewebtask
- SQL 不常用的一些命令sp_OACreate,xp_cmdshell,sp_makewebtask
- SQL 不常用的一些命令sp_OACreate,xp_cmdshell,sp_makewebtask
- 关闭/开启XP_CMDSHELL
- 启用、关闭xp_cmdshell
- 删除与恢复xp_cmdshell
- SQL SERVER 启用和关闭xp_cmdshell
- xp_cmdshell
- xp_cmdshell
- xp_cmdshell
- xp_cmdshell
- XP_cmdshell
- xp_cmdshell
- XP_CMDSHELL
- XP_cmdshell
- HDU 2665-Kth number(主席树)
- spring boot
- UVA
- Maven3创建JavaWeb项目
- ORA-16038: log 3 sequence# 4 cannot be archived
- 关闭 sp_OACreate 与 xp_cmdshell
- 2selenium+python 基础知识
- Java线程创建的两种方式
- 流程图符号及流程图的例子
- [LintCode 480] 二叉树的所有路径(Python)
- Cpp-虚函数
- Android---RecyclerView之简单瀑布流实现
- Java安全学习笔记(十)-输出流的加密和解密
- Orange内的associate rule例子