-
-
Save shmaltorhbooks/a4ccfe383849f31c590d98ff478a5c6f 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