Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64
User : palandch ( 1163)
PHP Version : 7.1.33
Disable Function : NONE
Directory :  /opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/model/instance.py
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,
)

Spamworldpro Mini