KeePass (or any desktop pw manager?) Helper
This script will generate password files in plain text. ITS NOT SECURE.
I needed help remembering my full KeePass Master Password. I could remember parts of it and which keys were likely used. So I built these scripts to help out!
AND IT WORKED!!
This is not a “password cracker”! You must know the beginning of the password and a set of characters that the remaining password could entail.
How to use
pip install -r requirements.txt.
permutations.pyand enter the beginning portion of the password you remember as the
Enter a separate set of characters for the
firstthrough nth positions.
- All possible permutations of these characters will be concatenated with
rem_pwand written to a file to be used by the
If you think the
first position after the
rem_pw portion was either a 1, 2, 3 or 4, set the
first array as the strings shown below.
Perform the same for each additional set.
NOTE: The longer the set and the more sets you have will increase the numbers of permutations.
first = ['1', '2', '3', '4'] second = ['!', '@', '#', '$'] third = ['1', '2', '3', '4'] fourth = ['!', '@', '#', '$'] fifth = ['1', '2', '3', '4'] sixth = ['!', '@', '#', '$']
- Execute the
output.txtfile with all permutations will be generated in the same folder.
pw_prog.pyand enter values for
keepass_app(the actual KeePass
keepass_db(the KeePass database you want open).
a. OPTIONAL: Enter any keywords to ignore. Of use only if you have some header, etc.
- NOTE: You cannot work on the computer while the program is running. This is where the
countervariable comes into play.