This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |