Server IP : 192.158.238.246 / Your IP : 18.216.129.37 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/model/ |
Upload File : |
import defence360agent.model.tls_check as tls_check # actual database connection is done during runtime, to prevent # 'locking protocol' error when bringing database connection though # fork() (during demonization) # See https://stackoverflow.com/questions/46331178/causes-of-sqlite3-operationalerror-locking-protocol-exception # noqa E501 db = tls_check.SqliteDatabaseWrapper( None, pragmas=[("journal_mode", "wal"), ("foreign_keys", "ON")], regexp_function=True, )