Eu fico tão cansado em tentar me lembrar de todos os comandos shell para criar listas de palavras que eu fiz um script bash, que tenta tornar o processo o mais simples possível, se alguém estiver interessado. Duvido que alguém vai querer isso, mas eu decidi liberá-lo de qualquer maneira.
Você pode fazer o downloas, aqui:
http://tools.question-defense.com/wordlist_tools.sh
---------------- W O R D L I S T T O O L S M E N U --------------------
| V.2 |
| By Purehate |
| 1. Run the entire otimization script |
| 2. Sort a wordlist in alphabetical order |
| 3. Sort a wordlist in reverse alphabetical order |
| 4. Remove all duplicates form a wordlist |
| 5. Remove all whitespace from the begining of each line |
| 6. Remove all non ascii chars from a wordlist |
| 7. Remove all comments from a wordlist (except first line) |
| 8. Specify a min and max password length in a wordlist |
| 9. Manipulate a wordlist with the --rules fuction of john the ripper |
| 10. L33tify a wordlist |
| 11. Delete all lines that match a specific pattern from a file |
| 12. Create a wordlist with crunch |
| 13. Create a wordlist with wyd.pl |
| 14. Create a wordlist wordlist with CUPP |
| 15. Create a wordlist based on phonenumbers |
| 16. Combine a directory full of files into one big list |
| 17. Split a large text file into smaller files |
| 18. Capitalize the first letter of each line in a file |
| 19. Quit |
Select a operation from the menu:
C�digo-fonte do script
#!/bin/bash
##Begin Functions##
##Sort a list in alphabetice order##
f_forwardsort () {
echo
echo -en "\nEnter the full path to the password file: (ex. /home/loser/password.txt): "
read fsortin
echo
while [ ! -f $fsortin ]
do
echo
echo "File cannot be found or does not exist"
echo
echo -en "\nEnter the full path to the password file: (ex. /home/loser/password.txt):"
read fsortin
done
echo
echo -en "\nEnter the name of the output file: "
read fsortout
echo
echo -en "\nHit return to proccess the file: "
read return
if [ "$return" == "" ]; then
echo
/bin/cat $fsortin |sort > $fsortout
fi
cat $fsortout | while read line
do
count=$[ $count + 1 ]
done
echo -e "\n$fsortout should be located in the current directory"
echo
echo "Returning to main menu ......"
sleep 2
echo
}
##Sort a list in reverse alphabeticle order##
f_reversesort () {
echo
echo -en "\nEnter the full path to the password file: (ex. /home/loser/password.txt): "
read rsortin
echo
while [ ! -f $rsortin ]
do
echo
echo "File cannot be found or does not exist"
echo
echo -en "\nEnter the full path to the password file: (ex. /home/loser/password.txt):"
read rsortin
(continua na parte 2)
Traduzido e Adaptado por firebits
http://www.backtrack-linux.org/forum.../firebits.html


