Damn it! 又忘記VSS Admin的密碼了!

lastwinner發表於2008-10-06

前不久剛忘記,重置了,並修改了密碼,現在卻又再次忘記了,ft!

不得以再次使用下面的招數重置VSS Admin密碼:()

This is F.Y.I. if you have forgotten a VSS admin password:

From time to time, there have been questions about forgotten admin
passwords, and the usual answer has been to contact Microsoft. Fortunately,
there is an easier way. Here is a step-by-step guide:

The best place to do this, is in an empty VSS database. Save the data\um.dat
file here, and get a copy of the data\um.dat file from the database where
the admin password is lost. Verify that you are prompted for a password when
opening VSS Admin on this database.

With a good binary data editor, like UltraEdit-32, replace the 2 bytes just
before "Admin" with BC 7F, and the 2 bytes at offset +32 bytes counting from
the A in Admin with 90 6E. In a database where Admin is the first entry, the
(decimal) offsets are 130, 131 for the first 2 bytes, (the 'A' in Admin has
offset 132), and 164, 165 for the last 2 bytes. When Admin is not the first
entry (VSS saves users alphabetically), these offsets are +64 per user
before Admin. You can also easily test that this is the needed change by
saving um.dat before and after setting the Admin password in an empty VSS
database, and (binary) compare the before and after um.dat files (this is
how we found this hack anyway). Now verify with VSS admin that there is no
password prompt anymore, and then copy the fixed um.dat file back to the
database where the problem occurred.

 

下面還有一段C程式程式碼就不貼了,有需要的自己點上面的連結去檢視^_^

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29867/viewspace-467970/,如需轉載,請註明出處,否則將追究法律責任。

相關文章