I read the post How can I programmatically get the MAC address of an iphone, but I am still not sure if I can do it with any devices other than an Iphone that are connected to the same WIFI network. I can be able to get a list of IP address from these devices on the same WIFI network, so can I retrieve every mac address from each IP address ?
Asked
Active
Viewed 1,300 times
0
-
@RicardoSánchez-Sáez It looks like the other question is talking about the MAC address and IP address of the device the program is running on. This question is asking about devices over the network. – Mike Aug 24 '13 at 01:38
-
You may be right after all. I'll delete my answer and the duplicate flag. Not sure how to get MAC addresses of devices connected to the same network. Maybe you can check `ng-airodump` source code and see if you can translate their approach to iOS. – Ricardo Sanchez-Saez Aug 24 '13 at 01:44
1 Answers
1
You would have to just sniff the network for it, read random packets for header infomation. If you don't want to reinvent the wheel, apps like netstumbler and ethereal should be able to do what you want (they are both open source)

Dani
- 1,220
- 7
- 22
-
by saying sniff the network for it. did you mean making a tcp connection and then get the header information ? – peter Aug 23 '13 at 18:26
-
If it's unencrypted or you have the key, you can just sniff wireless packets directly using something like airodump. – Dani Aug 23 '13 at 18:34