Skip to content

Instantly share code, notes, and snippets.

View electrojit's full-sized avatar

Jitesh Patel electrojit

View GitHub Profile
@electrojit
electrojit / decrypt_sqlite.py
Created February 10, 2023 12:35 — forked from zuccaro/decrypt_sqlite.py
decrypts sqlite3 databases that are encrypted with System.Data.SQLite
def decryptSystemDataSQLite(file, password):
""" Decrypts a sqlite3 database encrypted with System.Data.SQLite """
"""
System.Data.SQLite has built-in encryption that uses the Windows
Cryptography API, which is cool when you are on Windows but if you aren't,
you are shit outta luck working with these databases.
PyCrypto to the rescue! It works on most platforms.
Thanks to dlitz for making this kick-ass easy to use crypto lib.