Linux: wepcrack quick howto
This article presents the steps to follow in order to use wepcrack (wifi / wep crack).
Before starting, you need the following:
- Linux’s wireless tools (iwconfig, etc.)
We first need to configure the wireless card to listen for all packets it can receive:
iwconfig wlan0 mode Monitor wconfig wlan0 channel wpriv wlan0 monitor_type 1 fconfig wlan0 up
We now need to dump packet and store them to a file. Be ware that a lot of packets are needed in order to make wep key crack possible.
airodump wlan0 wlan.pcap
We can now use aircrack on the previously generated file (see aircrack usage). For example, to search a 128 bits wep key use a 2 cores cpu:
aircrack -p 2 -n 128 packetsFile.cap
Link to this post!