Sindbad~EG File Manager

Current Path : /proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/migrations/
Upload File :
Current File : //proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/migrations/094_ignore_cagefs_proc.py

"""
This migration adds /usr/share/cagefs-skeleton/proc/
to ignore for malware scanning
"""


def migrate(migrator, database, fake=False, **kwargs):
    if not fake:
        MalwareIgnorePath = migrator.orm["malware_ignore_path"]
        MalwareIgnorePath.get_or_create(path="/usr/share/cagefs-skeleton/proc")


def rollback(migrator, database, fake=False, **kwargs):
    pass

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists