ohyicong / decrypt-chrome-passwords

851 stars 185 forks source link

Not grabbing all passwords / none #9

Closed rjceledon closed 1 year ago

rjceledon commented 1 year ago

I was testing for a deployment and the script wasn't grabbing the only password I had stored, after debugging found that this line was causing issues, as the result of "url" variable was empty for my case, only username and ciphertext were filled. I created this password in Chrome by adding it manually.

Line 87:

if(url!="" and username!="" and ciphertext!=""):

Had to replace it as:

if(ciphertext!=""):

And it worked like a charm, thanks!

syzdeek commented 1 year ago

I have the same problem.. Also replaced it like @rjceledon but in output it didn't show the url. obraz

ohyicong commented 1 year ago

Hi, this is not an issue. It is my intended logic as it doesn't make sense to decrypt the password if chrome didn't save its url link. Thanks for the feedback.