Reply to post: Re: Did you knew ?

Facebook Android app caught seeking 'superuser' clearance

Jamie Jones Silver badge

Re: Did you knew ?

I forgot to mention: Whilst "cat /proc/net/arp" will give you the mac of the router, to find your own mac, again, WITHOUT any special privileges, open a socket to AF_NETLINK, or from the command line:

iplink

If that doesn't exist, download a "busybox" binary, and type "busybox iplink"

So there you have it: MACs of both the router and your own device. - without permissions - at least as far as Lollipop.

As I said, look at android from a Linux point of view, rather than from an android point of view - you'll be surprised.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon