Skip to content

Instantly share code, notes, and snippets.

@psychowood
psychowood / keepassalong.pl
Last active Dec 7, 2017 — forked from gatlin/keepassalong.pl
A script to convert a CSV exported from KeePass(X) to a .kdb format.
View keepassalong.pl
#!/usr/bin/env perl
#You need to install File::KeePass module, with cpan or manually
#have a look here if you need help: http://www.thegeekstuff.com/2008/09/how-to-install-perl-modules-manually-and-using-cpan-command/
use v5.14;
use strict;
use warnings;
use File::KeePass;
View ExportChromePasswords.js
//Go to chrome://settings/passwords and run in console
//Tested on Chrome v62
//You will get lots of "Error in event handler for passwordsPrivate.onPlaintextPasswordRetrieved: TypeError: Cannot read property 'origin' of undefined"
var decryptedRow="";
var pm = PasswordManagerImpl.getInstance();
var pl;
var getNextPassword = function(index) {
pm.getPlaintextPassword(pl[index].loginPair, function(pwd) {