Skip to content

Instantly share code, notes, and snippets.

View zuccaro's full-sized avatar

Tony Zuccaro zuccaro

View GitHub Profile
@zuccaro
zuccaro / decrypt_sqlite.py
Last active June 18, 2023 02:13
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.