首 页文章中心黑客工具黑吧学院技术论坛安全培训免费频道最近更新瑞星在线杀毒黑吧百度繁體中文
  设为首页
加入收藏
发布作品
   
栏目导航
· 漏洞利用 · 脚本注入
· 入侵实例 · 编程代码
· 逆向工程
热门文章
· 如何封别人QQ
· 充QQ币的疯狂——宽...
· 免费得QB
· 400秒远程攻破你的Q...
· [图文] QQ免费建400个群
· [组图] 给你一台永远不关机...
· [注意] QQ宠物砸蛋秘诀
· 再次有机会免费获得...
· 想的挂QQvip的进
· 在QQ中将自己从对方...
相关文章
SA密码破解
作者:佚名  来源:转载  发布时间:2007-5-5 2:35:40  发布人:黑客动画吧

减小字体 增大字体

0)停掉你现有的数据库服务。
1)新建一个实例,就是重新安装一次sql server,以下称为new
2)把你旧的数据库实例(以下称为old)的master.mdf , master.ldf copy到一个文件夹
3) 在new中,通过attach db的方式把文件夹中的两个文件加为new中的数据库,当然名称和位置在添加的时候都要改的。
4)在new 中,通过语句的方式,把master中的表sysxlogins 中sa的密码更新到你刚添加的数据库(old中的master)的表sysxlogins中对应的sa 的密码字段。
5)把你刚添加的数据库(old中的master)在new中detachdb,然后把文件覆盖掉old中对应文件(覆盖前把文件备份)
6)重新启动old服务器,看是否可行
7)卸载new服务器

http://www.mssqlcity.com/FAQ/Trouble/error_259.htm
http://www.mssqlcity.com/FAQ/Devel/AmendSysTb.htm

How can I resolve the error 259?
Answer:
This is the error 259 message text:
--------------------------------------------------------------------------------
Ad hoc updates to system catalogs are not enabled. The system administrator
must reconfigure SQL Server to allow this.
--------------------------------------------------------------------------------
You will get the error 259 when you tried to modify the system catalogs directly while the allow updates system configuration option is set to 0. To work around the error 259, you should set the allow updates option to 1 by using the sp_configure system stored procedure.
Check this link for more details:
How can I edit the system tables manually?
--------------------------------------------------------------------------------
Answer:

It is not recommended to do, but it is possible. You should set the allow updates option to 1 by using the sp_configure system stored procedure.

This is the example:

sp_configure 'allow updates', 1
GO
RECONFIGURE WITH OVERRIDE
GO

Read about the sp_configure system stored procedure in SQL Server Books Online

Code:
--------------------------------------------------------------------------------
sp_configure 'allow updates', 1
GO
RECONFIGURE WITH OVERRIDE
GO
--------------------------------------------------------------------------------
use master_old
update sysxlogins set password=NULL where name='sa'
select name,password from sysxlogins
[ ] [返回上一页] [打 印] [收 藏]
上一篇文章:指定权限运行程序
下一篇文章:编写漏洞扫描器
 
关于本站 - 网站帮助 - 广告合作 - 下载声明 - 网站导航 - 作品发布
互联网备案登记:粤ICP备05008775号
友情提示:浏览本站,请使用IE6.0浏览,并将分辩率设置为1024*768 为佳
Copyright © 2002-2005 Hack58.Com. All Rights Reserved .