Skip to content

Query Apple's Find My network 🍎🐍

License

Notifications You must be signed in to change notification settings

SpaceInvaderTech/AppleCollector

 
 

Repository files navigation

AppleCollector

Query Apple's Find My network, based on all the hard work of OpenHaystack, @vtky, @hatomist and others.

This is a fork of great work from @biemster and modified to have device locations sent to an endpoint.

Prerequisites

XCode or Command Line Tools, latest pip (pip3 install -U pip, otherwise cryptography will not install).

pip3 install -r requirements.txt

Scripts

main.py will query Apple's Find My network based on private keys fetched from an API and can send locations to an API.

passwd.sh will get a one time password for iCloud and store it in $HOME/.haypass.

example.cron.sh is an example script for running main.py.

launched.AppleCollector.plist is for periodically running cron.sh.

Setup:

mkdir -p ~/Library/LaunchAgents
cp launched.AppleCollector.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/launched.AppleCollector.plist

About

Query Apple's Find My network 🍎🐍

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 95.2%
  • Shell 4.8%