New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command-line option for Npcap/wlanhelper #1256

Open
ManiAm opened this Issue Jun 29, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ManiAm

ManiAm commented Jun 29, 2018

Wlanhelper is a very useful tool for retrieving information about WLAN adapters in a windows machine. There is no option, however, to list all available WLAN adapters with their capabilities. One (feature) suggestion would be to define a new option like L for this purpose. This option is very useful especially when the user has many different WLAN adapter installed and want to check the capabilities of each adapter (very similar to to my last post in #1234 that I called wlanhelper on each individual adapter and it was painful). This feature is very easy to impediment. In fact I have added it into the wlanHelper code and I can send a pull request if you are interested. The output looks like the following:

1. Wi-Fi Adapter
        Name: Wi-Fi 2
        GUID: 99a33870-708e-4cdd-ae8a-0654af1a6f31
        Description: 1x1 11bgn Wireless LAN PCI Express Half Mini Card Adapter
        State: "connected"
        Channel: 1
        Freq: 1
        Operation Modes: Extensible Station, Extensible AP, WFD_device, WFD_owner, WFD_client, Monitor
        Operation Mode: "Extensible Station (ExtSTA)"
        Supported modu: ht, hrdsss, erp, unknown or any, unknown or any, unknown or any
        Modulation: unknown or any
2. Wi-Fi Adapter
        Name: Wi-Fi 3
        GUID: e47bf137-2c3f-45e6-a47d-b5bdfb3eda9e
        Description: ASUS USB-AC51 USB Wireless adapter #2
        State: "disconnected"
        Channel: 1
        Freq: 1
        Operation Modes: Extensible Station, Extensible AP, WFD_device, WFD_owner, WFD_client, Monitor
        Operation Mode: "Extensible Station (ExtSTA)"
        Supported modu: hrdsss, ofdm, erp, ht
        Modulation: ofdm
3. Wi-Fi Adapter
        Name: Wi-Fi 4
        GUID: 8752bd72-1b38-4c4d-8ee4-d93e5fdac546
        Description: NETGEAR A6100 WiFi Adapter
        State: "disconnected"
        Channel: 1
        Freq: 1
        Operation Modes: Extensible Station, WFD_device, WFD_owner, WFD_client
        Operation Mode: "Extensible Station (ExtSTA)"
        Supported modu: ht, erp, hrdsss, vht, ht, ofdm
        Modulation: hrdsss
4. Wi-Fi Adapter
        Name: Wi-Fi 5
        GUID: e0c38e96-84cb-494c-8f08-20847f467371
        Description: Edimax AC1200 MU-MIMO WiFi USB 3.0 Adapter
        State: "disconnected"
        Channel: 1
        Freq: 1
        Operation Modes: Extensible Station, WFD_device, WFD_owner, WFD_client
        Operation Mode: "Extensible Station (ExtSTA)"
        Supported modu: ht, erp, hrdsss, vht, ht, ofdm
        Modulation: hrdsss
5. Wi-Fi Adapter
        Name: Wi-Fi 8
        GUID: 33466e84-772a-4fd5-8a2e-0ddbc397f03d
        Description: Linksys WUSB6100M
        State: "disconnected"
        Channel: 0
        Freq: 4294967295
        Operation Modes: Extensible Station, Extensible AP, WFD_device, WFD_owner, WFD_client, Monitor
        Operation Mode: "Extensible Station (ExtSTA)"
        Supported modu: hrdsss, ofdm, erp, ht, vht
        Modulation: ihv (-1)
6. Wi-Fi Adapter
        Name: Wi-Fi 7
        GUID: e83321be-778c-433d-b77f-abb009ba1bd5
        Description: TP-LINK Wireless USB Adapter
        State: "disconnected"
        Channel: 1
        Freq: 1
        Operation Modes: Extensible Station, Extensible AP, WFD_device, WFD_owner, WFD_client, Monitor
        Operation Mode: "Extensible Station (ExtSTA)"
        Supported modu: hrdsss, ofdm, erp, ht
        Modulation: ofdm
7. Wi-Fi Adapter
        Name: Wi-Fi 6
        GUID: e7ab7fb2-53d2-4e38-994d-1492afaf2504
        Description: D-Link DWA-171 Wireless AC Dual Band Adapter
        State: "disconnected"
        Channel: 1
        Freq: 1
        Operation Modes: Extensible Station, WFD_device, WFD_owner, WFD_client
        Operation Mode: "Extensible Station (ExtSTA)"
        Supported modu: ht, erp, hrdsss, vht, ht, ofdm
        Modulation: hrdsss
  1. The output is more user-friendly. The title for each entry starts with Wi-Fi adapter indicating that we are only listing the WLAN adapter not BT or Ethernet or etc.

  2. Then we list different capabilities and information for that adapter like its name, GUID, and so in.

  3. I do not know why did you use names like master and managed for listing the operating mode. Why not using access point, station, extensible station and so on. In fact for listing the operation mode, you use the actual term like Extensible Station (ExtSTA).

https://github.com/nmap/npcap/blob/1329082e00a57846823f20c1b4edcdb3ae9b2701/packetWin7/WlanHelper/WlanHelper/Tool.cpp#L673

  1. Supported operation modes now include Wi-Fi direct too.

@ManiAm ManiAm changed the title from New command-line option for wlanhelper to New command-line option for npcap/wlanhelper Jun 29, 2018

@ManiAm ManiAm changed the title from New command-line option for npcap/wlanhelper to New command-line option for Npcap/wlanhelper Jun 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment