简体   繁体   English

如何从客户端获取接入点的 BSSID?

[英]How to get BSSID of Access Point from client?

I am developing a Django application and I need to know to which access point the client/user is connected to.我正在开发一个 Django 应用程序,我需要知道客户端/用户连接到哪个接入点

By searching in the internet I found out that I can find it using the BSSID of the access point.通过在互联网上搜索,我发现我可以使用接入点的BSSID找到它。

The problem is I am unable to find a way to get that BSSID.问题是我无法找到获取该 BSSID 的方法。

So, I want to know is there any information in the request object of Django.所以,我想知道Django的请求object中是否有任何信息。

If not, is there any other way to get the BSSID using JavaScript .如果没有,是否有任何其他方法可以使用JavaScript获取 BSSID。

(Note: Please share any way that can be helpful to me). (注意:请分享任何对我有帮助的方法)。

If all those can't work can we set some configurations in the access point and use them to find the client access point (Yes, I have the option to set them as we are developing this application to be run on a organization server).如果所有这些都不起作用,我们可以在接入点中设置一些配置并使用它们来查找客户端接入点(是的,我可以选择设置它们,因为我们正在开发此应用程序以在组织服务器上运行)。

Any information will be appreciated .任何信息将不胜感激

Thank you in advance .提前谢谢你

JavaScript itself does not allow for this (at least if ran in a browser env). JavaScript 本身不允许这样做(至少如果在浏览器环境中运行)。 It could still be possible if you fully control the user's device, but you'd have to run a workaround for that.如果您完全控制用户的设备,它仍然是可能的,但您必须为此运行解决方法。 Ie you could store the time of connection and IP and have the workaround application monitor for connections to your site.即,您可以存储连接时间和 IP 并使用变通方法应用程序监视器来连接到您的站点。 Then you could have them store the connection and IP too, to allow you to compare these.然后你可以让他们存储连接和 IP,让你比较这些。

Tl;dr: not possible in a browser env. Tl; dr:在浏览器环境中不可能。

Edit: It may actually be possible via a concept from the hacking community.编辑:实际上可以通过黑客社区的概念来实现。 See this Question's top answer on the SE's Security forum 在 SE 的安全论坛上查看此问题的最佳答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以从HTTP请求中找到无线访问点的BSSID(MAC地址)? - Can I find the BSSID (MAC address) of a wireless access point from an HTTP request? 我可以检索计算机通过浏览器连接的访问​​点的BSSID吗? - Can I retrieve BSSID of an access point that my computer connected to through browser? 如何从登录Google登录(仅限客户端的应用程序)中正确获取访问令牌? - How to properly get Access Token from logged in Google Sign In (client-side only app)? 如何从浏览器访问客户端PC上的设备 - How to access devices on a client PC from a browser 如何从客户端访问服务器端WebControl? - How to access a server side WebControl from Client? 如何使用javascript访问来自客户端的html请求? - How to access html requests from client with javascript? 从Keycloak访问令牌获取客户端会话ID - Get client session id from Keycloak access token 高图-如何从工具提示访问点的多轴类别 - Highcharts - how to access category of multiple axis of the point from tooltip 如何从mapbox数据集中获取点周围特定半径内的特征? - How to get features in a certain radius around point from mapbox dataset? 如何根据距给定点的距离得到边界框? - How to get bounding box based on distance from given point?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM