aircrack-ng / mdk4

MDK4
GNU General Public License v3.0
638 stars 113 forks source link

Ghosting options #28

Open akballow opened 5 years ago

akballow commented 5 years ago

I can not seem to get ghosting to work. —ghost 2000,54,10

Complains that tx power is higher then device max. Device current is 30, max is 39.

—ghost 2000,54,-10

Works but values says the values will range from -10 to 0db, continues to change power from 5tx to 49tx randomly.

Not sure if I am doing it right

aircrack-ng commented 5 years ago

Could you give more details, such as exact command ran, results, and expected results, for each of them?

Regarding txpower, it is variable on the card, depending on the rate (and thus modulation)

v0rtex77 commented 4 years ago

Hello, I have issues trying the command as well, here's some information that might help: (I am using an Alfa AWUS036AC (AC1200) with the gordboy/8812au driver on kali 2019.3 (5.2.0))

root@kali:~# uname -a Linux kali 5.2.0-kali2-amd64 #1 SMP Debian 5.2.9-2kali1 (2019-08-22) x86_64 GNU/Linux

root@kali:~# airmon-ng

PHY Interface Driver Chipset

phy1 wlan0 8812au Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter

root@kali:~# iwconfig lo no wireless extensions.

wlan0 IEEE 802.11b ESSID:"" Nickname:"WIFI@REALTEK" Mode:Monitor Frequency:5.6 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=0/100 Signal level=-100 dBm Noise level=0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

root@kali:~# iw wlan0 set txpower fixed 3000 root@kali:~# mdk4 wlan0 d --ghost 2000,54,-10 -b blacklist.txt Can't get TX power from card: : Operation not permitted Ghosting has been activated: You forget to osdep_init_txpowers()! Change Bitrate from 1 to 54 MBit, You forget to osdep_init_txpowers()! Change TX Power from -10 to 0 dBm, every 2000 milliseconds Can't set random TX power since no TX power is known to me :( Periodically re-reading blacklist/whitelist every 3 seconds

Can't set random TX power since no TX power is known to me :(

algreen702021 commented 3 years ago

Using mdk4 got same warning: osdep_init_txpowers()