Skip to content
macOS/iOS database location scraper to extract location data
Python
Branch: master
Clone or download
mac4n6 Bug Fix
Fix issue where KML would parse duplicate entries showing coords 0.0,0.0.
Latest commit 75ae310 Sep 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Updated Jul 5, 2017
mac_location_scraper.py Bug Fix Sep 7, 2018

README.md

Mac Locations Scraper

Dump the contents of the location database files on iOS and macOS.

iOS:

/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)

macOS:

/var/folders/zz/zyxvpxvq6csfxvn_n00000sm00006d/C/

  • cache_encryptedA.db
  • lockCache_encryptedA.db

Usage:

python mac_locations_scraper.py -output {k, c, e} <directory_of_dbs>

Output Options:

  • k - KML
  • c - CSV
  • e - Everything (KML & CSV)

Requirements:

SimpleKML - https://simplekml.readthedocs.io/en/latest/

Related Information:

http://www.mac4n6.com/

You can’t perform that action at this time.