svn - Extract TortoiseSVN saved password -
is there way extract credentials saved tortoisesvn?
short answer: can use tortoisesvn password decrypter display cached credentials, including passwords.
long answer: here's how tool works.
the credentials saved in subdirectories of %appdata%\subversion\auth\
. listed this previous answer are:
svn.simple
contains credentials basic authentication (username/password)svn.ssl.server
contains ssl server certificatessvn.username
contains credentials username-only authentication (no password needed)
the first directory 1 of interest. appears contain files names guids; 1 each repository you've saved credentials.
the passwords in these files encrypted windows data protection api. tool above uses sample code obviex interface api , perform decryption.
in order work, must have access same windows user account running under when checkmarked "save authentication" checkbox. because windows data protection api uses encryption key tied windows account. if lose account (or, believe, if administrator resets password) no longer able decrypt passwords (except perhaps using brute force / third party tool). having new windows account same username/password (or sid's) not sufficient.
Comments
Post a Comment