Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Truncated/empty SSIDs #16

Open
ghost opened this issue Apr 16, 2018 · 1 comment
Open

Truncated/empty SSIDs #16

ghost opened this issue Apr 16, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 16, 2018

This tool shows lots more devices than others I've tried. However, some SSIDs seem truncated ("direct..." in the example below):

[D] f0:34:04:b5:dc:8f (TctMobil) [-83] ==> 'SSID: '
f2:34:04:b6:ea:3e (RESOLVE-ERROR) [-86] ==> 'DIRECT-'
d0:87:e2:b4:37:ad (SamsungE) [-85] ==> 'kitl9reybhvs2i7'
d0:87:e2:b4:37:ad (SamsungE) [-85] ==> 'SSID: '
54:60:09:44:2f:ab (Google) [-83] ==> 'TP-LINK_27E1'
...

@bolbers
Copy link

bolbers commented Mar 2, 2019

Change after Line 185 to this:

    if "wlan_mgt" in pkt:
        nossid = False
        if not str(pkt.wlan_mgt.tag)[:38] == "Tag: SSID parameter set: Wildcard SSID":
            ssid = pkt.wlan_mgt.ssid
        else:
            nossid = True
    else:
        nossid = False
        if not str(pkt[3].tag)[:38] == "Tag: SSID parameter set: Wildcard SSID":
            ssid = pkt[3].ssid

Helped with my install.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant