How to install coWPAtty 4.6 on Ubuntu?
Cowpatty
Cowpatty is a great tool for cracking WPA/WPA2 keys via either a dictionary attack or via rainbow tables. All it needs to see it a client connect to the network (this is called a "handshake").
First we need to download the required files. If you already have them you can skip them.
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libpcap0.8-dev
sudo apt-get install libdigest-hmac-perl
Next Download cowpatty 4.6
wget http://wirelessdefence.org/Contents/Files/cowpatty-4.6.tgz
md5sum cowpatty-4.6.tgz
extract and move into the directory using the following
tar -xvf cowpatty-4.6.tgz
cd cowpatty-4.6
Next we need to download the patch and patch the source code.
wget http://proton.cygnusx-1.org/~edgan/cowpatty/cowpatty-4.6-fixup16.patch
patch < cowpatty-4.6-fixup16.patch
Next we will compile and install it and then test it
make
sudo make install
cd ..
cowpatty
If all goes well you should see the cowpatty help menu:
cowpatty 4.6 - WPA-PSK dictionary attack.
cowpatty: Must supply a pcap file with -r
Usage: cowpatty [options]
-f Dictionary file
-d Hash file (genpmk)
-r Packet capture file
-s Network SSID (enclose in quotes if SSID includes spaces)
-c Check for valid 4-way frames, does not crack
-h Print this help information and exit
-v Print verbose information (more -v for more verbosity)
-V Print program version and exit

says does not look like tar archive, not in gzip format
ReplyDeleteand this is the only post ive found for a working repository for cowpatty...and all worked fine til I tried to extract the cowpatty tgz
ReplyDelete