How to do it...

There are two ways in order to get the password for WPA protected networks; we will use fluxion in the following way:

  1. From the command line, ensure that your wireless adapter is in the monitor mode:
root@kali:~/wireless# iw dev        phy#0        Interface wlan0                ifindex 4                wdev 0x1                addr 6e:1d:0b:80:36:2b                type monitor                channel 13 (2472 MHz), width: 20 MHz (no HT), center1: 2472 MHz                txpower 20.00 dBm
  1. From the command line, we will need to download fluxion from Git:
root@kali:~/wireless# git clone into 'fluxion'...remote: Counting objects: 2646, done.remote: Total 2646 (delta 0), reused 0 (delta 0), pack-reused 2646Receiving objects: 100% (2646/2646), 26.13 MiB | 3.44 MiB/s, done.Resolving ...

Get Kali Linux Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.