Check if the wireless network card supports monitor mode

Check whether the wireless network card supports the monitoring mode.

When implementing the wireless penetration test, it is usually necessary to set the wireless network card to the monitoring mode to monitor all traffic passing through its network card. For many users, the university IT masters do not know how to determine whether their wireless network card supports monitoring. As a result, a lot of time is wasted doing useless operations. To help users provide work efficiency, you can use the iw list command to check whether the wireless network card supports monitoring before using the wireless network card to save unnecessary time. The execution commands are as follows: After executing the above command,

iw list
will output all the function information of the device. As shown below:
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short long limit: 2
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac: 1)
                * WEP104 (00-0f-ac: 5)
                * TKIP (00-0f-ac: 2)
                * CCMP-128 (00-0f-ac: 4)
                * CCMP-256 (00-0f-ac: 10)
                * GCMP -128 (00-0f-ac: 8)
                * GCMP-256 (00-0f-ac: 9)
        Available Antennas: TX 0 RX 0
        Supported interface modes: #Supported interface modes
                 * IBSS
                 * managed
                 * AP
                 * AP / VLAN
                 * monitor #monitoring mode
                 * mesh point
... // Omit some content /// ...
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports low priority scan.
        Device supports scan flush.
        Device supports AP scan.
        Device supports per-vif TX power setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Device supports configuring vdev MAC-addr on create.
        Supported extended features:
                * [ RRM ]: RRM
                * [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
The output information includes a part of Supported interface modes, you can view the working mode supported by the wireless network card. If the listed mode has monitor, it means monitoring is supported. Otherwise, it is not supported.

Published 1037 original articles · praised 231 · 1.38 million views

Guess you like

Origin blog.csdn.net/u014621518/article/details/105439976