Code Monkey home page Code Monkey logo

swoopy's Introduction

Swoopy

A Python 2.X script to swoop and decrypt passwords from Chrome's local storage.

Requirements & Expectations

Swoopy was written for Python 2.X, not for Python 3.X.

Swoopy expects that the Chrome passwords to decrypt are stored in the file "%HOMEPATH%\AppData\Local\Google\Chrome\User Data\Default\Login Data", which is the default location that Chrome stores them. Chromium stores them elsewhere.

Swoopy must be run on the same computer that "Login Data" was created/encrypted on.

swoopy's People

Contributors

karthikeyankc avatar l3oxy avatar

Stargazers

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

Watchers

 avatar  avatar

swoopy's Issues

error line 6

hello,

when launching your script, i got this error :

File "g:\Google Drive\pw.py", line 6
data_path = os.path.expanduser('~') + "\AppData\Local\Google\Chrome\User Data\Default"
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 28-29: truncated \UXXXXXXXX escape

any idea ?
(using windows 10 and python 3.x)

Key not valid for use in specified state

OS: Windows 7 x64 (in a virtual machine)
Python: 2.7.15

Running Swoopy on a 'Login Data' file from a different computer results in the below error.
This is the same error as issue #1 , but after reading the entirety of that issue I am not aware of how to resolve this.

Traceback (most recent call last):
  File "C:\Users\Test\code\Swoopy-master\Swoopy-master\Swoopy.py", line 23, in <module>
    pwd = win32crypt.CryptUnprotectData(pwd, None, None, None, 0) #This returns a tuple description and the password
error: (-2146893813, 'CryptProtectData', 'Key not valid for use in specified state.')

Does anyone know if there is a way to augment Swoopy so that it can work on a foreign 'Login Data' file (i.e. one captured from a previous computer)?

The credentials for the foreign Windows box are known, but I am unsure how to hard-code them into Swoopy to get past this error.

Ubuntu

Hi

I am unable to use in Ubuntu system
following error comes.
Traceback (most recent call last):
File "Swoopy.py", line 3, in
import win32crypt
ImportError: No module named win32crypt

Thanks

Windows 10 support

This script does not work on Windows 10 64-bit and Chrome 58.0.3029.110 (64-bit)
I am getting the following error:

  File "Swoopy.py", line 23, in <module>
    pwd = win32crypt.CryptUnprotectData(pwd, None, None, None, 0) #This returns a tuple description and the password
pywintypes.error: (-2146893813, 'CryptProtectData', 'Key not valid for use in specified state.')

But script still works on Windows 7 32bit and latest chrome.

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.