Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
imav
/
malwarelib
/
__pycache__
[ HOME ]
Exec
Submit
File Name : config.cpython-311.pyc
� 3RiN � �� � d Z ddlmZ G d� d� � Zej dej dej dej dej dej d ej d iZdZdZ d ZdZdxZ\ ZZZZZZZZZZZZdxZ\ ZZZ Z!Z"Z#Z$Z%Z&Z' G d� d� � Z( G d� d� � Z) G d� d� � Z* G d� d� � Z+ G d� de� � Z, G d� de� � Z- G d� d� � Z.d\ Z/Z0Z1 G d � d!� � Z2d"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 �: � e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dS ) �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.pyr r sT � � � � � �B�B� *���I� �H� �F� �J� �F�'�O� �F��D�/���r r zaibolit-on_demandzaibolit-backgroundzaibolit-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�pending�failed_to_submit) �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_protection� not_existc �L � e Zd Zd� Zedefd�� � Zedefd�� � ZdS )�MalwareEventc � � || _ d S �N)�title)�selfr9 s r �__init__zMalwareEvent.__init__� s � ��� � � r �returnc � � | j t v S r8 )r9 �SUCCESSFUL_EVENTS�r: s r � successfulzMalwareEvent.successful� s � ��z�.�.�.r c �, � | j t t fv S )z3Malware file was deleted or clean copy was restored)r9 �DELETED�RESTORED_FROM_BACKUPr? s r �malware_eliminatedzMalwareEvent.malware_eliminated� s � � �z�g�';�<�<�<r N)r r r r; �property�boolr@ rD r r r r6 r6 � sq � � � � � �� � � �/�D� /� /� /� �X�/� �=�D� =� =� =� �X�=� =� =r r6 c � � e Zd Zd� ZdS )�MalwareEventPostponedc �L � || _ || _ || _ || _ || _ d S r8 )�message�cause� initiator�post_action�action)r: rJ rK rL rM rN s r r; zMalwareEventPostponed.__init__� s* � ������ �"���&�������r N)r r r r; r r r rH rH � s# � � � � � �� � � � r rH c �( � e Zd ZdxZ\ ZZedediZdS )�Hash)�white�blackFTN)r r r �TYPES�WHITE�BLACK� IS_IGNOREDr r r rP rP � s* � � � � � �+�+�E�L�E�5����t�,�J�J�Jr rP c �Z � e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZeeeefZeefZeefZd 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_remote_restore_pending�cleanup_restore_startedr'