# wifite2
[wifite2](https://github.com/derv82/wifite2) is great for snagging wifi handshakes.

## Install pre-reqs
```
sudo apt-get install net-tools aircrack-ng -y
```

!!!info
Sometimes wifite gets dump about understanding the tool pre-requistes that you've installed.  For example, even when I installed `hcxdumptool` and `hcxpcaptool` wifite didn't know where to find them.  this fixed it for me:

```
sudo ln -s ~/hcxdumptool/hcxdumptool /usr/local/bin/hcxdumptool
sudo ln -s ~/hcxpcaptool/hcxpcaptool /usr/local/bin/hcxpcaptool
```
!!!

## Install wifite2
```
git clone https://github.com/derv82/wifite2.git
cd wifite2
```

## Run wifite and filter for specific wireless network
```
sudo python3 Wifite2.py -e "My specific network"
```

!!!tip
Add the `--clients-only` flag to only attack networks with clients!
!!!

## Run wifite and filter for specific BSSID *and* channel *and* channel
```
sudo python3 Wifite2.py -c 777 --bssid 00:11:22:33:44:55
```

## Run wifite and filter for specific wireless network - and only do PMKID attack
```
sudo python3 Wifite2.py -e "My specific network" --pmkid --pmkid-timeout 300
```

*The `--pmkid-timeout` is optional; the default timeout is 30 seconds
