我一直试图使用ioctl来获取我的wifi连接的状态,但是遇到了一个问题:每当我做#include <linux/wireless.h>时,gcc都会产生许多错误。/usr/include/linux/wireless.h:869:18: error: field ‘src_addr’ has incomplete type ^
/usr/include/linux&
我正在使用Kali linux。我已经通过apt-获取更新和apt-get升级更新了所有工具和服务。我在用空气破解技术来控制我的无线局域网网络。我想用回放的方式来删除任何连接到我的移动热点的设备。我使用airodump-ng -c [channel of router] --bssid [bssid of router] wlan0mon显示连接到该路由器的设备的详细信息。然后,我使用aireplay-ng --deauth 0 60 -a [bssid of router] wlan0mon断开连接到该路由器的所有设备。