This script is designed to decrypt passwords stored in an SQLite database from the LDAP table using AES encryption in CBC mode. It is specifically tailored for use with a predefined encryption key and IV (initialization vector) as per the provided C# encryption logic.
Install the cryptography library using pip:
pip install cryptography
Before running the script, ensure that the SQLite database file is correctly referenced in the script. Modify the database connection string if needed: