小山

付出最大努力,追求最高成就,享受最佳生活,收获无悔人生

博客园 首页 新随笔 联系 订阅 管理

SourceSafe 忘记用户名和密码怎么办?

一不小心将VSS 6 admin用户的密码忘记,找到以下信息

the secret is to hack the um.dat file to remove the Admin password
from offset 80 the bytes are (all numbers are hex)

0:80  55 55 bc 7f 41 64 6d 69 6e 00 00 00 00 00 00 00
0:90  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0:a0  00 00 00 00 90 6e 00 00 a8 01 00 00 00 00 00 00

Just load the um.dat file into a hex editor and change the bytes from =
offset 80 to exactly what is shown above. When the SourceSafe admin tool =
starts it believes that the admin password has never been set.

the hex values above are taken from a 'virgin' um.dat file

of course, you didn't get this from me....and ALWAYS backup first (just =
in case I'm wrong)

用中文解释一下

如果忘记了密码,打开你vss数据库所在的文件夹,打开data目录,
找到um.dat文件,用hex编辑器打开编辑它,从offset 80的55 55 开始
将值改为如上文所述的样子,然后保存,这样um.dat文件就回到了
初始状态(virgin ?  :)),然后打开vss admin,用admin用户登录,不需要
密码了。
-----------------------------------------------------
----------------------附带分享vss FAQ----------------

http://www.michaelis.net/SourceSafe/Faq.htm

posted on 2005-10-15 14:37  小山  阅读(3566)  评论(1)    收藏  举报