Skip to content
macOS/iOS database location scraper to extract location data
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
mac_location_scraper.py

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.