Giter Site home page Giter Site logo

decrypt-chrome-passwords's People

Contributors

alient12 avatar declval avatar ohyicong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

decrypt-chrome-passwords's Issues

PIP Install (Py2 && Py3)

Description:

Having originally attempted to write my own version of this in Node.JS, I decided to write the actual decryption using this repo.
Unfortunately I've come across a pip issue that is ultimately the same using python 2 and python 3 as well, saying the following:

# using py2 with slight requirements modification
pip2 install -r requirements.txt                                                                                                                     
ERROR: Invalid requirement: u'alabaster=0.7.12' (from line 4 of requirements.txt)
Hint: = is not a valid operator. Did you mean == ?

# using py3 with a straight copy from the repo requirements file
pip3 install -r requirements.txt                                                                                                                       
ERROR: Invalid requirement: 'alabaster=0.7.12=pyhd3eb1b0_0' (from line 5 of requirements.txt)
Hint: = is not a valid operator. Did you mean == ?

System

OS: Debian 10
PIP version: 20.3.4 (python 3.9/2.7)

Note:

I haven't done much in python for a while now, but I'm assuming that getting versions with PIP uses == instead of = as the Hint indicates

Unable to decrypt

[ERR] Unable to decrypt, Chrome version <80 not supported. Please check.
I got this erros to try decryp old user data .

My old windows can´t boot its possible decrypt old data files?

Inexperienced at Python, trying to recover my passwords. I need help

Hey, so I recently deleted my chrome's cache and history using a browser extension but apparently that deleted my passwords too and they weren't synced to my google account. Fortunately using a program called Shadow Explorer I was able to have a copy of the User Data folder prior to deletion. Now from my basic understanding the Local State file should be in JSON format. However when I try to open it using notepad its just blank (even though there seems to be a file size of 50KB). And opening it with visual studio shows weird characters. What should I do ? I would appreciate any help.
png1
png2

Passwords blank in CSV

Hello @ohyicong

Great work on this, huge fan of what's applied here and how you explained it. The script runs great, generates the CSV but the password field is blank.

If I run it via cmd to get the print out, I have a stack of utf-8 codec errors. Chrome is on the latest version and I am using Python 3.10.5

Edit: I forgot to mention the LoginData file was lifted from another machine entirely. I assume maybe it's looking for the machine ID of where it came from. Any way I can edit that to focus on my machine?

image

Any pointers as to why this would be printing the url and usernames but not the passwords?

Thank you

Extract passwords remotely

How to decrypt a remote machine via local network? Do I need to run it on the remote machine or can I run it locally to get access to remote passwords?
I tested it on my machine and extracted the passwords saved locally, but I want it remotely, how can I do that?

Program not showing password

Good morning. I'm having an issue where the password field is blank and I'm getting two errors.
They are "'utf-8' codec can't decode byte" and "[ERR] Unable to decrypt, Chrome version <80 not supported." I don't know what's causing them and the file originated from my computer. Thank you for your time.

Not grabbing all passwords / none

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!

Adopt this for Microsoft Edge (Chromium-based)

How would it be different for Edge??? I could find the "Local State" file @ \AppData\Local\Microsoft\Edge\User Data, but I can't find the database. Could you please point me in the right direction? Thx!!!

No module named win32crypt

Running the main file returns that the win32crypt module has not been installed, pip install win32crypt returns that there is no known win32 distribution, using the requirements.txt throws an error that = is not a valid operator and changing to == returns that there are no matching distributions for sqlite

Passwords not showing

In the decrypted_password.csv file, it only shows only this "index,url,username,password" it doesnt return any passwords. i have passwords saved on my password manager for test purposes but it doesnt retrieve any please help

Is chrome fixing this?

Does chrome intent to fix this? is there a CVE or bug on the chrome project for this?

PyCrypto 2.x is unmaintained, obsolete, and contains security vulnerabilities

Also, it doesn't work on current python:

michael@joyola:~/dl/chrome_password_grabber$ python3 chrome.py 
Traceback (most recent call last):
  File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 157, in <module>
    main()
  File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 151, in main
    chrome_pwd = Chrome()
                 ^^^^^^^^
  File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 113, in __init__
    self.chrome_os = ChromeLinux()
                     ^^^^^^^^^^^^^
  File "/srv/scratch/users/michael/Downloads/chrome_password_grabber/chrome.py", line 90, in __init__
    self.key = kdf.PBKDF2(my_pass, salt, length, iterations)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/michael/.local/lib/python3.11/site-packages/Crypto/Protocol/KDF.py", line 117, in PBKDF2
    for j in xrange(count-1):
             ^^^^^^
NameError: name 'xrange' is not defined. Did you mean: 'range'?

xrange() has never been a thing in python3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.