picklepete / pyicloud

A Python + iCloud wrapper to access iPhone and Calendar data.
MIT License
2.57k stars 452 forks source link

Fetching airtags ? #338

Open NebzHB opened 3 years ago

NebzHB commented 3 years ago

Hello,

i see you're fetching devices from https://fmipmobile.icloud.com/fmipservice/device/ and friends from https://fmipmobile.icloud.com/fmipservice/friends/.

did you tried https://fmipmobile.icloud.com/fmipservice/object/ or https://fmipmobile.icloud.com/fmipservice/objects/ to fetch the new airtags ? or maybe another url...

that would be nice to locate these new devices :D

hhf42 commented 3 years ago

I second this, adding the ability to get location of AirTags and other objects would be great!

hhf42 commented 3 years ago

We were having a discussion on the subject over at openhaystack and it does not look good, because the tracking is done completely different... https://github.com/seemoo-lab/openhaystack/issues/63

Sn0wfreezeDev commented 3 years ago

As mentioned by @hhf42 AirTag tracking is handled very differently. You would need to jailbreak your iPhone or MacBook and read out some weirdly encoded keys. We did that in the past, but Apple has changed to storage format 3 times in the last year. So we stopped handling those keys a while ago.

Check out our paper if you are interested on how this works with AirTags: https://arxiv.org/abs/2103.02282

NCO3 commented 3 years ago

Hmm... what a pity. But what if A*** introduces supporting the airtag position in the icloud web interface, which is not the case yet. This would make things easier, wouldn't it?