android - 在Wi-Fi 热点模式下,如何获取周围的打开wifi 的终端设备列表
天蓬老师
天蓬老师 2017-04-17 11:05:21
0
5
1040

stackoverflow 上看到一个 Android:Hotspot is not detecting all ...

Android 手机可以通过读取/proc/net/arp 文件获取设备列表,但是这些设备是需要成功连上wifi 的。Ubuntu 上的hostapd 也可以。看系统日志,终端设备的MAC 地址是终端设备主动连接之后, dnsmasq 进程获得的。

有没有办法, 获取不一定会连上热点的周围所有设备列表?就是说能否让AP 主动扫描设备?

如果Android 上直接有办法更好,毕竟不需要电源,使用方便。如果是其它平台,PC或者修改路由器的固件(如OpenWrt, Tomato)达到目标的办法或者思路, 也非常欢迎。

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(5)
洪涛

Solved, as long as there is network communication, wireshark can hear the data, and the MAC addresses of both parties are visible.

On the Android platform, there is also a ported version of wireshark, Shark for Root

左手右手慢动作

May I ask what platform the poster implemented it on, an Android phone or a computer?

洪涛

I have this technology, and I am currently working on it for each client. It will not be made public for the time being. You can contact qq: 1413031398

PHPzhong

Passive WiFi Tracking http://edwardkeeble.com/2014/02/passive-wifi-tracking/ Written in PYTHON and can run on Android OpenWrt, you’re welcome. . .

伊谢尔伦

Currently I want to implement this function on openwrt, please communicate

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template