How does iOS app Fing get MAC Address?

前端 未结 3 548
挽巷
挽巷 2020-12-15 00:30

I known Apple stopped MAC address API since iOS 7. But I just found the app Fing can get MAC address. How could it happen?

If I use samillar way to get MAC address

相关标签:
3条回答
  • 2020-12-15 01:01

    What Fing does is it pings each IP on the network and builds the ARP Cache and then it reads the Mac Address from the Arp Cache table.

    0 讨论(0)
  • 2020-12-15 01:13

    Here is my own answer after half year.

    It is possible to check ARP table on iOS device to get iOS device MAC address, technically. See this: How do I query the ARP table on iPhone?

    However, the App Store will reject your App by this. But, people said fetch the host, router and other device's MAC address will be fine. I haven't proved it yet.

    0 讨论(0)
  • 2020-12-15 01:18

    Fing can only get the device's MAC address if the device is connected to a WiFi network. I suspect it implements an ARP scan on the local network and matches the known local IP address to determine the local MAC address.

    There are some questions that address capturing ARP data here and here

    0 讨论(0)
提交回复
热议问题