A python script for guessing TrueCrypt passphrases, if you forgot your passphrase but can remember its mnemonic.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
johnny.py

README.md

Johnny

A simple Python script for "recovering" a mnemonic-based TrueCrypt encryption passphrase via bruteforce based on its mnemonic.

Synopsis

Several years ago I wrote this for the unfortunate scenario of having forgotten a TrueCrypt passphrase but remembering the mnemonic (i.e. the passphrase is the first letter of each word in a sentence, translated to L337-speak). Rather than guessing every possible passphrase, I wrote this script to do the guessing for me.

Invocation

./johnny.py path/to/truecrypt_container [possible first characters] [possible second characters] [...]

Each group of characters must be quoted as necessary to avoid funny stuff happening in whatever shell environment you're using. Guesses roughly one passphrase per second (limited by the speed of TrueCrypt, not Python).

More: http://blogofthedemitri.blogspot.com/2011/04/if-you-forgot-your-truecrypt-passphrase.html

Disclaimer

This was intended for personal use only; I cannot be held responsible for any usage with intentions that could be considered illegal or malicious.

License

http://www.gnu.org/copyleft/gpl.html