- The computer should have access to the phone via adb.
- Note that root is required to fetch the key, which is needed for decryption.
- To install the requirements just run the following.
pip3 install -r requirements.txt
extractor.py
will get the files msgstore.db.crypt12
and key
.
python3 extractor.py
decrypter.py
assumes that the files msgstore.db.crypt12
and key
are on the same directory as decrypter.py
and will output msgstore.db
.
python3 decrypter.py
To specify other paths pass them as parameters.
python3 decrypter.py --key my_key --input crypted_database.db.crypt12 --output decrypted_database.db