跨多个 Windows 平台收集 wifi bssid 和 rssi 数据的最有效方法
我正在尝试收集 Windows 上的 wifi Bssid 和 Rssi 信息,并且正在寻找最可靠的方法来跨尽可能多的 Windows 版本执行此操作。 在 Vista 中,可以轻松地通过无线 LAN API 使用 Win32 调用。 该 API 存在于 XP SP2(有时)和 SP3 上,但据我所知,它不支持在这些平台上收集 Bssid 信息。
理想情况下,我想要一种在所有版本的 XP 上都可以使用它的方法。 (我猜 Windows 95 / 98 / ME 根本没有希望)。 任何编程语言或命令行工具都可以。 有什么指点吗? 谢谢。
I'm trying to collect wifi Bssid and Rssi information on Windows, and am looking for the most reliable way to do that across as many versions of Windows as possible. With Vista it's easy using Win32 calls with the Wireless LAN API. That API exists on XP SP2 (sometimes) and SP3, but as far as I can tell it doesn't support gathering Bssid information on those platforms.
Ideally, I'd like a way to get it on all versions of XP. (I'm guessing there's just no hope at all for Windows 95 / 98 / ME). Any programming language or commandline tool will do. Any pointers? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
你可以尝试这个命令行工具,“netsh wlan shownetworks mode=Bssid”,我试过了,它适用于我这篇文章的Win7原版https://stackoverflow.com/a/187867/1767800
但是 netsh wlan 不适用于 Windows XP。 作为替代,您可以尝试 http://www xp sp2 和 sp3 上的 .symantec.com/connect/articles/how-capture-and-deploy-wlan-profiles。
You can try this command line tool,"netsh wlan show networks mode=Bssid",I'v tried , it works on my Win7 original from this post https://stackoverflow.com/a/187867/1767800
However netsh wlan doesn't work on windows xp. And as the substitution you can try http://www.symantec.com/connect/articles/how-capture-and-deploy-wlan-profiles on xp sp2 and sp3.
好吧,你无法从 Windows 获取该信息(根据我的理解)。 我来自路由器本身。 但我猜测是 Wireshark 和 nmap。
Well, you can't get that information(from my understanding) from windows. I comes from the router itself. But Wireshark and nmap would be my guess.
这是不正确的,Windows 提供了获取这些信息的可能性。 坏消息:没有一种这样的方法,而是必须根据操作系统使用不同的 API 和接口。
但您不必重新发明轮子,libwlocate 已经包含您正在寻找的功能: http://libwlocate.git.sourceforge.net/git/gitweb.cgi?p=libwlocate/libwlocate;a=树;f=master;h=22427173ce6fa394bc6014d9f109f6ed12b9f25f;hb=HEAD
That's not correct, Windows provides the possibility to get these information. The bad news: there is not ONE such way but different APIs and Interfaces which have to be used depending on the operating system.
But you do not have to re-invent the wheel, the libwlocate already contains the functions you are looking for: http://libwlocate.git.sourceforge.net/git/gitweb.cgi?p=libwlocate/libwlocate;a=tree;f=master;h=22427173ce6fa394bc6014d9f109f6ed12b9f25f;hb=HEAD