pex.db

Package Contents

class pex.db.DB

Bases: object

Main class of pex.db module.

This main class of pex.db module is intended for providing implementations of some database parsing methods.

static parse_addressbook(database: str) list

Parse Apple iOS addressbook database.

Parameters:

database (str) – path to the database to parse

Return list:

list of entries from addressbook database

static parse_safari_history(database: str) list

Parse Apple iOS Safari history database.

Parameters:

database (str) – path to the database to parse

Return list:

list of entries from Safari history database

static parse_safari_bookmarks(database: str) list

Parse Apple iOS Safari bookmarks database.

Parameters:

database (str) – path to the database to parse

Return list:

list of entries from Safari bookmarks database

static parse_whatsapp_chat(database: str, partner: str) list

Parse WhatsApp chat database for specified partner.

Parameters:
  • database (str) – path to the database to parse

  • partner (str) – partner to parse chat for

Return list:

list of entries from WhatsApp chat database for specified partner

static parse_sms_chat(database: str, partner: str, imessage: bool = True) list

Parse Apple SMS or iMessage chat database for specified partner.

Parameters:
  • database (str) – path to the database to parse

  • partner (str) – partner to parse chat for

  • imessage (bool) – is chat from iMessage or not

Return list:

list of entries from Apple SMS or iMessage chat database for specified partner

static parse_voicemail_chat(database: str) list

Parse Apple iOS voicemail chat database.

Parameters:

database (str) – path to the database to parse

Return list:

list of entries from Apple iOS voicemail database