Skip to content

Instantly share code, notes, and snippets.

@psychowood
psychowood / keepassalong.pl
Last active December 7, 2017 10:31 — forked from gatlin/keepassalong.pl
A script to convert a CSV exported from KeePass(X) to a .kdb format.
#!/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;
@psychowood
psychowood / ExportChromePasswords.js
Last active December 7, 2017 09:06 — forked from Marqin/ExportChromePasswords.js
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) {