All Projects → priyankchheda → Chrome_password_grabber

priyankchheda / Chrome_password_grabber

Licence: gpl-3.0
Get unencrypted 'Saved Password' from Google Chrome

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Chrome password grabber

alfred-chrome-history
Search your Google Chrome history in Alfred
Stars: ✭ 169 (-65.3%)
Mutual labels:  google-chrome
Wpt
Test suites for Web platform specs — including WHATWG, W3C, and others
Stars: ✭ 3,573 (+633.68%)
Mutual labels:  google-chrome
Lynket Browser
🌐 A better browser for Android using the Custom Tab protocol. Previously called Chromer.
Stars: ✭ 364 (-25.26%)
Mutual labels:  google-chrome
Auto Chrome 2
A program that lets you automate mundane and repetitive tasks in a proxy chrome browser. presets include Rarible and Opensea minting automation. make your own presets for anything inside chrome.
Stars: ✭ 17 (-96.51%)
Mutual labels:  google-chrome
Kiosk
Allows any URL to be loaded as a fullscreen kiosk.
Stars: ✭ 293 (-39.84%)
Mutual labels:  google-chrome
Chrome Remote Interface
Chrome Debugging Protocol interface for Node.js
Stars: ✭ 3,603 (+639.84%)
Mutual labels:  google-chrome
docker-images
Docker images for Katalon Studio and other frameworks
Stars: ✭ 110 (-77.41%)
Mutual labels:  google-chrome
1click Webpage Screenshot
Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
Stars: ✭ 406 (-16.63%)
Mutual labels:  google-chrome
Chromote
Simple wrapper to drive Google Chrome from Python
Stars: ✭ 309 (-36.55%)
Mutual labels:  google-chrome
Supreme Auto Checkout
Supreme Auto Checkout is a free Google Chrome extension bot to checkout automatically on Supreme online shops
Stars: ✭ 348 (-28.54%)
Mutual labels:  google-chrome
crypto-currencies-values-ext
Google Chrome extension to show crypto currencies values 💰📈
Stars: ✭ 19 (-96.1%)
Mutual labels:  google-chrome
Xdebug Helper For Chrome
Easily activate PHP debugging, profiling and tracing with this Xdebug Chrome extension
Stars: ✭ 270 (-44.56%)
Mutual labels:  google-chrome
Chrome Charset
An extension used to modify the page default encoding for Chromium 55+ based browsers.
Stars: ✭ 346 (-28.95%)
Mutual labels:  google-chrome
Chrome-Dino-Runner
🐱‍🐉 A Replica of the hidden Dinosaur Game from Chrome Browser Offline mode build using Python and PyGame.
Stars: ✭ 22 (-95.48%)
Mutual labels:  google-chrome
Chromepass
Chromepass - Hacking Chrome Saved Passwords
Stars: ✭ 364 (-25.26%)
Mutual labels:  google-chrome
eshteb
Reduces the anger of an Iranian when typing in the wrong language!
Stars: ✭ 42 (-91.38%)
Mutual labels:  google-chrome
Cleanflight Configurator
Google chrome/chromium based configuration tool for the cleanflight firmware
Stars: ✭ 311 (-36.14%)
Mutual labels:  google-chrome
Chrome Har Capturer
Capture HAR files from a Chrome instance
Stars: ✭ 423 (-13.14%)
Mutual labels:  google-chrome
Chromelens
Chrome DevTools extension for web accessibility development
Stars: ✭ 379 (-22.18%)
Mutual labels:  google-chrome
Chromerepl
A Sublime Text plugin to execute JavaScript in Google Chrome
Stars: ✭ 347 (-28.75%)
Mutual labels:  google-chrome

Chrome-Password-Grabber

Get unencrypted 'Saved Password' from Google Chrome

Introduction

Like other browsers Chrome also has built-in login password manager functionality which keeps track of the login secrets of all visited websites. Whenever user logins to any website, he/she will be prompted to save the credentials for later use and if user chooses so, then the username & passwords will be stored in internal login database. So next time onwards whenever user visits that website, he/she will be automatically logged in using these stored credentials which saves hassle of entering the credentials every time.

Chrome stores all the sign-on secrets into the internal database file called 'Web data' in the current user profile folder. Newer version has moved the login passwords related database into new file named 'Login Data'.This database file is in SQLite format and contains number of tables storing different kind of data such as auto complete, search keyword, ie7logins etc in addition to login secrets.

The logins table mainly contains the information about sign-on secrets such as website URL, username, password fields etc. All this information is stored in the clear text except passwords which are in encrypted format.

Windows Implementation

Google Chrome encrypt the password with the help of CryptProtectData function, built into Windows. Now while this can be a very secure function using a triple-DES algorithm and creating user-specific keys to encrypt the data, it can still be decrypted as long as you are logged into the same account as the user who encrypted it.The CryptProtectData function has a twin, who does the opposite to it; CryptUnprotectData, which... well you guessed it, decrypts the data. And obviously this is going to be very useful in trying to decrypt the stored passwords.

Mac/Linux Implementation

Encryption Scheme: AES-128 CBC with a constant salt and constant iterations. The decryption key is a PBKDF2 key generated with the following:

  • salt is b'saltysalt'
  • key length is 16
  • iv is 16 bytes of space b' ' * 16
  • on Mac OSX:
    • password is in keychain under Chrome Safe Storage
      • I use the excellent keyring package to get the password
      • You could also use bash: security find-generic-password -w -s "Chrome Safe Storage"
    • number of iterations is 1003
  • on Linux:
    • password is peanuts
    • number of iterations is 1

Python Implementation (Working)

Usage

>>> from chrome import Chrome
>>> chrome_pwd = Chrome()
>>> chrome_pwd.get_login_db
'/Users/x899/Library/Application Support/Google/Chrome/Default/'
>>> chrome_pwd.get_password(prettyprint=True)
{
	"data": [
		{
			"url": "https://x899.com/",
			"username": "admin",
			"password": "[email protected]$$w0rD"
		},
		{
			"url": "https://accounts.google.com/",
			"username": "[email protected]",
			"password": "@[email protected]$$m0rC1"
		}
	]
}

Contribute

Feel free to contribute. Please Follow PEP8 Guidelines.

TO DO:

  • Cookie support
  • Updating database password directly
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].