Thursday 4 April 2013

creating wordlist,crunch,generating passwordlist

Hello guys....i think everyone must be surfing the entire web in search of password list to be used in Dictionary attack,hmm for Ex. as per me much needed for cracking WPA & WPA2 authentication in WiFi  hacking!!!Right???
So in this tutorial we will create our own word-list by using the tool called "crunch" in backtrack.
Crunch is a tool used for creating password list & also it can be used to compress the output file in various formats.
So now...what??
Let's start....
Fire up your BACKTRACK machine ,goto bash & type:-

cd /pentest/exploits/password/crunch

If not there you can download it from
www.sourceforge.net/projects/crunch-wordlist/
to install it..hit the under below commands:-

1. tar -zxf crunch-3.2.tgz (3.2 is the version of crunch,it might be changed if updated)

2./crunch-3.2

3.make install
Now if it get installed successfully ,then type the commands in the bash to generate the list:-

cd /pentest/exploits/password/crunch
First let's see the syntax of crunch:-
 ./crunch [min.Length] [max. Length] [character set] -o /root/Desktop/wordlist.txt

It will create a file on Desktop by name wordlist.txt .In  example below we will see basic usage of crunch:-

./crunch 1 2 1234567890 - o /root/Desktop/wordlist.txt

it will create a word-list of min. 1 & max 2 number digit & save the output file on Desktop

Now we will be creating the password list of mobile numbers which starts with "9" .ex 9838222454(its not my gf number)
here we go:-

crunch # ./crunch 10 10 -f charset.lst numeric -t 9%%%%%%%%% -o wordlist.txt


It will create all the numbers starting with "9"(you might know that min & max digit of mobile is 10 without country-code).

You can also add special symbols too & explore it  to know how to compress the output file we are getting.