Dump the contents of the location database files on iOS and macOS.
/private/var/root/Library/Caches/locationd/
- cache_encryptedA.db
- lockCache_encryptedA.db
- cache_encryptedB.db
/private/var/mobile/Library/Caches/com.apple.routined/
- cache_encryptedB.db
- CoreRoutine.sqlite (iOS 10)
/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C/
- cache_encryptedA.db
- lockCache_encryptedA.db
python mac_locations_scraper.py -output {k, c, e} <directory_of_dbs>
- k - KML
- c - CSV
- e - Everything (KML & CSV)
SimpleKML - https://simplekml.readthedocs.io/en/latest/