Skip to main content

Access KWallet files without KDE desktop

Project description

About

A Python script to dump contents of a .kwl kwallet file for accessing passwords away from KDE desktop. Should work on wallets created on KDE 4 (written on KDE 4.10).

The output is not polished because it serves a simple utility - to get passwords when not around a KDE desktop. Pipe the output to grep to make it more usable.

If you are looking to get Chrome passwords out of this - it’ll be a bit difficult because Chrome stores the passwords in a serialized blob and you’ll have to decipher that format. For everything else - Firefox, Telepathy, Amarok, Wifi passwords, other apps which store passwords - it works perfectly fine.

Install

Easiest way to install is to use pip which will fetch the dependencies automatically

pip install kwallet-dump

Output

  • Fields:

    • Type of KWallet entry - there are 3 - Password, Binary Data and Map. The sample output here shows the third format

    • Folder name

    • Key name

    • Value - Value is a tuple when entry type is a Map

  • Sample Output:

    [3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('usernameField', '')]
    [3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('username', 'user')]
    [3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('passwordField', '')]
    [3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('password', 'password')]
    [3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('httpRealm', 'DD-WRT')]
    [3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('hostname', 'http://192.168.1.1')]
    [3, 'Firefox', 'admin,,DD-WRT,http://192.168.1.1', ('formSubmitURL', '')]

Requirements

  • Python 2 or 3

  • pycrypto (for decoding Blowfish)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kwallet-dump-1.0.2.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file kwallet-dump-1.0.2.tar.gz.

File metadata

File hashes

Hashes for kwallet-dump-1.0.2.tar.gz
Algorithm Hash digest
SHA256 39ecf3b2d3f36469b54ebadbf81581ffb53bfa57519599cdd63e860b2689cfb0
MD5 ef6f3ce4854ddd1240612e040da38311
BLAKE2b-256 9fefecc9a0da1ecd0cbbc1dddbbc3286fee7b550ebdc19c582c71dd0545513e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page