This repo is a complete re-write of wifite
, a Python script for auditing wireless networks.
Wifite runs existing wireless-auditing tools for you. Stop memorizing command arguments & switches!
Wifite is designed to use all known methods for retrieving the password of a wireless access point (router). These methods include:
Run wifite, select your targets, and Wifite will automatically start trying to capture or crack the password.
Wifite is designed specifically for the latest version of Kali Linux. ParrotSec is also supported.
Other pen-testing distributions (such as BackBox or Ubuntu) have outdated versions of the tools used by Wifite. Do not expect support unless you are using the latest versions of the Required Tools, and also [patched wireless drivers that support injection]().
First and foremost, you will need a wireless card capable of "Monitor Mode" and packet injection (see this tutorial for checking if your wireless card is compatible and also this guide). There are many cheap wireless cards that plug into USB available from online stores.
Second, only the latest versions of these programs are supported and must be installed for Wifite to work properly:
Required:
python
: Wifite is compatible with both python2
and python3
.iwconfig
: For identifying wireless devices already in Monitor Mode.ifconfig
: For starting/stopping wireless devices.Aircrack-ng
suite, includes:
airmon-ng
: For enumerating and enabling Monitor Mode on wireless devices.aircrack-ng
: For cracking WEP .cap files and WPA handshake captures.aireplay-ng
: For deauthing access points, replaying capture files, various WEP attacks.airodump-ng
: For target scanning & capture file generation.packetforge-ng
: For forging capture files.Optional, but Recommended:
tshark
: For detecting WPS networks and inspecting handshake capture files.reaver
: For WPS Pixie-Dust & brute-force attacks.
wash
tool can be used to detect WPS networks if tshark
is not found.bully
: For WPS Pixie-Dust & brute-force attacks.
--bully
to use Bully instead of Reaver.reaver
cannot after cracking WPS PIN.coWPAtty
: For detecting handshake captures.pyrit
: For detecting handshake captures.hashcat
: For cracking PMKID hashes.
hcxdumptool
: For capturing PMKID hashes.hcxpcaptool
: For converting PMKID packet captures into hashcat
's format.git clone https://github.com/derv82/wifite2.git
cd wifite2
sudo ./Wifite.py
To install onto your computer (so you can just run wifite
from any terminal), run:
sudo python setup.py install
This will install wifite
to /usr/sbin/wifite
which should be in your terminal path.
Note: Uninstalling is not as easy. The only way to uninstall is to record the files installed by the above command and remove those files:
sudo python setup.py install --record files.txt \
&& cat files.txt | xargs sudo rm \
&& rm -f files.txt
--pmkid
)--wps-only --pixie
)--wps-only --no-pixie
)--no-wps
)pyrit
, tshark
, cowpatty
, and aircrack-ng
(when available)-c <channel>
--no-deauths
-5
switch).
aireplay-ng
)--cracked
)
--crack
)Comparing this repo to the "old wifite" @ https://github.com/derv82/wifite
wifite
was bad about this).--verbose
option (expandable to -vv
or -vvv
) shows which commands are executed & the output of those commands.--wept
, --wpst
, and other confusing switches).
wifite -h -v
wifite
's arguments.Cracking WPS PIN using reaver
's Pixie-Dust attack, then fetching WPA key using bully
:
Cracking WPA key using PMKID attack:
Decloaking & cracking a hidden access point (via the WPA Handshake attack):
Cracking a weak WEP password (using the WEP Replay attack):
Cracking a pre-captured handshake using John The Ripper (via the --crack
option):