X7ROOT File Manager
Current Path:
/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/model
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
model
/
📁
..
📄
__init__.py
(963 B)
📁
__pycache__
📄
analyst_cleanup.py
(3.4 KB)
📄
event_hook.py
(1.74 KB)
📄
icontact.py
(1.16 KB)
📄
infected_domain.py
(4.24 KB)
📄
instance.py
(481 B)
📄
messages_to_send.py
(1.37 KB)
📄
simplification.py
(5.01 KB)
📄
tls_check.py
(1.29 KB)
Editing: 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, )
Upload File
Create Folder