我可以从HTTP请求中找到无线接入点的BSSID(MAC地址)吗? [英] Can I find the BSSID (MAC address) of a wireless access point from an HTTP request?

查看:376
本文介绍了我可以从HTTP请求中找到无线接入点的BSSID(MAC地址)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设某人正在设置无线连接到互联网的咖啡店,他们会向johnsveryownserver.com发送HTTP请求。服务器端,有什么方法可以确定它们所连接的无线接入点的MAC地址? (请注意,我对他们机器的MAC地址不感兴趣。)

Let's say someone is setting in a coffee shop wireless connected to the internet and they send an HTTP request to johnsveryownserver.com. Server-side, is there any way that I can determine the MAC address of the wireless access point that they are connected to? (Note that I am not interested in the MAC address of their machine.)

如果我不能用普通的旧HTTP请求执行此操作,我能做些什么吗?在浏览器中(例如通过javascript)扫描任何附近的无线接入点的MAC地址?这甚至可能更好,因为我可以收集附近的所有无线MAC地址。

If I can't do this with a plain old HTTP request, is there anything I can do in-browser (e.g. via javascript) in order to scan for the MAC addresses of any nearby wireless access points? This might even be better because I can collect all nearby wireless MAC addresses.

我试图避免让用户下载插件或独立的可执行文件。

I'm trying to avoid having the user download a plugin or an independent executable.

推荐答案

不,你不能。使用插件是您唯一的选择(可能使用Java,但这超出了我的专业领域)。

No, you can't. Using a plugin is your only option (it may be possible with Java, but that's outside my area of expertise).

这篇关于我可以从HTTP请求中找到无线接入点的BSSID(MAC地址)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆