[英]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.