Hacked By AnonymousFox

Current Path : /opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/__pycache__/config.cpython-311.pyc

�

��g���dZddlmZGd�d��Zejdejdejdejdejdej	d	ej
d
iZdZdZ
d
ZdZdxZ\
ZZZZZZZZZZdxZ\	ZZZZZ Z!Z"Z#Z$Gd�d��Z%Gd�d��Z&Gd�d��Z'Gd�d��Z(Gd�de��Z)Gd�de��Z*Gd�d��Z+d\Z,Z-Z.d S)!u

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.


This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
See the GNU General Public License for more details.


You should have received a copy of the GNU General Public License
 along with this program.  If not, see <https://www.gnu.org/licenses/>.

Copyright © 2019 Cloud Linux Software Inc.

This software is also available under ImunifyAV commercial license,
see <https://www.imunify360.com/legal/eula>
�)�Enumc�:�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dS)
�MalwareScanTypez8The type of a scan represents how and why it is executedzmalware-responsez	on-demand�realtime�manual�
background�rescanzrescan-outdated�modsec�user�restore_from_backupN)�__name__�
__module__�__qualname__�__doc__�MALWARE_RESPONSE�	ON_DEMAND�REALTIME�MANUAL�
BACKGROUND�RESCAN�RESCAN_OUTDATED�MODSEC�USER�RESTORE_FROM_BACKUP���K/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/config.pyrrsT������B�B�*���I��H�
�F��J�
�F�'�O��F��D�/���rrzaibolit-on_demandzaibolit-backgroundzaibolit-userzaibolit-rescanzaibolit-realtimezaibolit-restore_from_backup�app_version_detectorzaibolit-hsdb_makerzaibolit-restore_originalz!/opt/alt/php-internal/usr/bin/php)
�deleted�found�added_to_ignore�deleted_from_ignore�submitted_for_analysis�cleanup_done�cleanup_removed�restored_original�restore_from_backup_started�restored_from_backup)	�failed_to_delete�failed_to_restore_from_backup�failed_to_ignore�failed_to_delete_from_ignore�failed_to_cleanup�failed_to_restore_original�unable_to_cleanup�failed_to_store_original�requires_myimunify_protectionc�L�eZdZd�Zedefd���Zedefd���ZdS)�MalwareEventc��||_dS�N)�title)�selfr6s  r�__init__zMalwareEvent.__init__�s
����
�
�
r�returnc��|jtvSr5)r6�SUCCESSFUL_EVENTS�r7s r�
successfulzMalwareEvent.successful�s���z�.�.�.rc�,�|jttfvS)z3Malware file was deleted or clean copy was restored)r6�DELETED�RESTORED_FROM_BACKUPr<s r�malware_eliminatedzMalwareEvent.malware_eliminated�s���z�g�';�<�<�<rN)r
rrr8�property�boolr=rArrrr3r3�sq����������/�D�/�/�/��X�/��=�D�=�=�=��X�=�=�=rr3c��eZdZd�ZdS)�MalwareEventPostponedc�L�||_||_||_||_||_dSr5)�message�cause�	initiator�post_action�action)r7rGrHrIrJrKs      rr8zMalwareEventPostponed.__init__�s*�������
�"���&�������rN)r
rrr8rrrrErE�s#����������rrEc�(�eZdZdxZ\ZZedediZdS)�Hash)�white�blackFTN)r
rr�TYPES�WHITE�BLACK�
IS_IGNOREDrrrrMrM�s*������+�+�E�L�E�5����t�,�J�J�JrrMc�N�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
eeeefZeefZdS)
�MalwareHitStatuszh
    The current state of a resource (a file or a db),
    defined by the latest scans and actions.
    r �cleanup_pending�cleanup_startedr$r%�%cleanup_requires_myimunify_protection�cleanup_restore_pending�cleanup_restore_startedr'r(N)r
rrr�FOUND�CLEANUP_PENDING�CLEANUP_STARTED�CLEANUP_DONE�CLEANUP_REMOVED�%CLEANUP_REQUIRES_MYIMUNIFY_PROTECTION�CLEANUP_RESTORE_PENDING�CLEANUP_RESTORE_STARTED�RESTORE_FROM_BACKUP_STARTEDr@�CLEANUP�
RESTORABLErrrrUrU�s~��������
�E�(�O�(�O�!�L�(�O�	0�*�
8��8��#@��2������O�G���0�J�J�JrrUc��eZdZdZdZdZdS)�QueuedScanState�stopped�running�queuedN)r
rrrhrirjrrrrgrg�s�������G��G�
�F�F�Frrgc��eZdZdZdZdS)�MalwareScanResourceType�file�dbN)r
rr�FILE�DBrrrrlrl�s�������D�	
�B�B�Brrlc��eZdZdZdZdZdS)�ExitDetachedScanTypezHow/why detached scan ended.rh�abortedN)r
rrr�STOPPED�ABORTEDrrrrrrr�s ������&�&��G��G�G�Grrr)�notify�cleanup�cleanup_on_scheduleN)/r�enumrrrrrrrrr�AIBOLIT_SCAN_INTENSITY_KEY�"APP_VERSION_DETECTOR_INTENSITY_KEY�HSDB_MAKER_INTENSITY_KEY�RESTORE_ORIGINAL_INTENSITY_KEY�PHP_PATHr;r?r[�ADDED_TO_IGNORE�DELETED_FROM_IGNORE�SUBMITTED_FOR_ANALYSISr^r_�RESTORED_ORIGINALrcr@�
FAILED_EVENTS�FAILED_TO_DELETE�FAILED_TO_RESTORE_FROM_BACKUP�FAILED_TO_IGNORE�FAILED_TO_DELETE_FROM_IGNORE�FAILED_TO_CLEANUP�FAILED_TO_RESTORE_ORIGINAL�UNABLE_TO_CLEANUP�FAILED_TO_STORE_ORIGINAL�REQUIRES_MYIMUNIFY_PROTECTIONr3rErMrUrgrlrr�NOTIFYrd�CLEANUP_ON_SCHEDULErrr�<module>r�s;����*������&0�&0�&0�&0�&0�&0�&0�&0�T��2��� 4���.���,��#�%5���0��'�)F���&<�"�/��!;��.�������	���������4
��
���!�� �����!�=�=�=�=�=�=�=�=���������-�-�-�-�-�-�-�-�.1�.1�.1�.1�.1�.1�.1�.1�b�����d���������d����
��������(�$���$�$�$r

Hacked By AnonymousFox1.0, Coded By AnonymousFox