Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 975 Bytes

ReadMe.md

File metadata and controls

27 lines (15 loc) · 975 Bytes

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