A simple Python script for "recovering" a mnemonic-based TrueCrypt encryption passphrase via bruteforce based on its mnemonic.
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.
./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).
This was intended for personal use only; I cannot be held responsible for any usage with intentions that could be considered illegal or malicious.