https://github.com/thomasthelen/dump-chrome-accounts
Dumps accounts stored in Google Chrome to Dropbox or disk
https://github.com/thomasthelen/dump-chrome-accounts
google-chrome hacking hacking-tool password-manager
Last synced: 2 months ago
JSON representation
Dumps accounts stored in Google Chrome to Dropbox or disk
- Host: GitHub
- URL: https://github.com/thomasthelen/dump-chrome-accounts
- Owner: ThomasThelen
- License: unlicense
- Created: 2020-08-17T02:51:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-17T03:49:28.000Z (almost 6 years ago)
- Last Synced: 2025-02-28T08:44:38.298Z (over 1 year ago)
- Topics: google-chrome, hacking, hacking-tool, password-manager
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dump Chrome Accounts
[](https://www.codacy.com/manual/ThomasThelen/dump-chrome-accounts?utm_source=github.com&utm_medium=referral&utm_content=ThomasThelen/dump-chrome-accounts&utm_campaign=Badge_Grade)
[](https://www.python.org/)
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
Dumps accounts stored in Google Chrome to Dropbox or disk
## Background
Google Chrome stores saved account information in a sqllite database stored at ``a``. The database stores the passwords in an encrypted form. The passwords are encrypted using the Win32 method, `CryptProtectData`. The passwords can be decrypted using `CryptUnprotectData`, as long as it's done on the same user account that was used to encrypt them.
## Usage
Create an instance of the `ChromeAccountDatabase` class to load and parse the database.
`chrome_database = ChromeAccountDatabase()`
To show the accounts inside the database, print the `ChromeAccountDatabase` object
`print(chrome_database)`
To upload the accounts to Dropbox, pass the API key to `ChromeAccountDatabase::to_dropbox`
` chrome_database.to_dropbox(API_KEY)`
To save locally as a csv with a defualt filename
`chrome_database.to_csv()`
or specify a custom filepath,
`chrome_database.to_csv()`
To get the accounts as a string stream,
`csv_stream: StringIO = chrome_database.to_csv(as_stream=True)`