Created
July 30, 2012 13:11
-
-
Save melpomene/3206773 to your computer and use it in GitHub Desktop.
Truecrypt brute force script
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 | |
# Before use: | |
# * Put line seperated wordlist in file 'wordlist' | |
# * Change device /dev/sdX to the drive/file you want to brute force | |
# Call with 'sudo tc-brute.sh < wordlist'. | |
while read line | |
do | |
if truecrypt -t -k "" --protect-hidden=no --non-interactive /dev/sdX -p $line | |
then | |
echo "$line" | |
echo "Success! sdb" | |
exit 0 | |
fi | |
done | |
echo "Failed." | |
exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment