Profile name may not be the same as SSID!
akaleeroy opened this issue · comments
basically the script just executes
netsh wlan show profile name=[SSID] key=clear
The profile name may not hold the same value as the SSID! Sometimes the SSIDs have unspecific names and I don't know what I'm connected to. So I rename them to something useful in Manage wireless networks.
The SSID is useful too, so we shouldn't just discard it and replace with Profile. That means introducing a choice...
And God forbid if the Profile name has special characters in it, such as double-quotes "
, hashes #
, dashes -
or UTF8 characters:
Is there any way to tell them apart though? I.e. if you can get the SSID
using another method?
I fixed it in wifi-password after all, made more sense there:
akaleeroy/wifi-password@f5634ee
wifi-name remains the same, returning SSID, and wifi-password/lib/win.js derives the
profile name from the SSID.
…On Oct 6, 2017 12:58, "Kevin Mårtensson" ***@***.***> wrote:
Is there any way to tell them apart though? I.e. if you can get the SSID
using another method?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AD4Vbpv9chqJWJw0kqxmV1xeNjcaG8zjks5spfnZgaJpZM4Pls8O>
.