Here is a little script I want to share with you. I called it "Giga Wordlist Creator", it merges and automatically optimize your wordlists for wpa cracking, I hope it can be useful for those who are interested in wpa cracking.
First thing to do is download Giga Wordlist Creator. Put it in /usr/bin, so you can use it from anywhere you're located in the shell, then right click on it, properties, permissions, is executable, yes.
Now you can open a shell and launch the script with:
Here is the menu, with the 4 steps that will make your personnal big wordlist for wpa cracking:Code:wordlist.sh
To be really efficient, you have to follow the steps in order. Here is a little explanation about how it works and what it makes:
--> 1 Merge all your wordlists files
Just give the script the path to a folder that contains a lot of wordlists files, and it will merge them all into a single big wordlist named Mega-dico.txt. This file will be created in a folder called Giga-wordlist that the script will create on the desktop of your Backtrack 3.
--> 2 Modify the dictionary with John The Ripper
Using JTR, the script will create about 50 differents variants of each password contained in your Mega-dico.txt file that you previously created on the step 1. It will output the result in /root/Desktop/Giga-wordlist/Mega-dico-john.txt, JTR makes variants this way, here is by example the result of the differents variants with the word "remote":
So the chances to crack the passphrase are greater, as you got many variants that can be used.1remote
--> 3 Optimize the dictionary for WPA cracking
The script will reduce your wordlist, removing passwords shorter than 8 characters and more than 63 characters, which is the min and max size of a WPA passphrase. Output file: /root/Desktop/Giga-wordlist/Mega-dico-wpa.txt
--> 4 Sort and remove duplicates
Finally, the script will remove duplicates, and sort the passwords in alphabetical order which, as i read I don't remember where, can make the crack a little more efficient. Output file: /root/Desktop/Giga-wordlist/Giga-wordlist.txt
You can easily edit the script and modify the paths and file names, if you prefer not to output the files on your desktop. After following the 4 steps, you will get your personnal optimized wordlist for wpa cracking.
You can get more details about the script on my french website here:
Giga Wordlist Creator: script d'optimisation automatique des dicos (in french)
The same url, but translated in english with google translation
I want to say thx to -=Xploit'z=- who gave us some useful commands that the script is using. I hope this little tool will help