VSS里的用户权限设置跟本只是好看而已,一无是处!
(方法二)
还有一个更为简单的方法,也是VSS最大的BUG,都不用修改用户信息文件!
想用哪个用户登入都可以,不用密码!(包括管理员(Admin)账号)。
以Admin登入为例,具体方法如下:
1,新建Windows用户,名称为Admin。
2,以Admin登陆Windows。
结果打开vss,默认就以Admin为账号登陆进去了,不用输入密码!(注:VSS的Admin当然是设置了密码了)
还有一个更为简单的方法,也是VSS最大的BUG,都不用修改用户信息文件!
想用哪个用户登入都可以,不用密码!(包括管理员(Admin)账号)。
以Admin登入为例,具体方法如下:
1,新建Windows用户,名称为Admin。
2,以Admin登陆Windows。
结果打开vss,默认就以Admin为账号登陆进去了,不用输入密码!(注:VSS的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
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.
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)
in case I'm wrong)
用中文解释一下:
如果忘记了密码,打开你vss数据库所在的文件夹,打开data目录,找到um.dat文件,用hex编辑器打开编辑它,从offset 80的55 55 开始将值改为如上文所述的样子,然后保存,这样um.dat文件就回到了初始状态(virgin ? :)),然后打开vss admin,用admin用户登录,不需要密码了!
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/