Hacked By AnonymousFox
�
��g � �v � d Z ddlmZ ddlmZ ddlmZmZm Z ddl
mZ ddlm
Z
ddlmZ G d� d e� � Zd
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>
� )�MaliciousEndpoints)�bind)�AV�FULL� AV_REPORT)�feature)�Scope)�HackerTrapHitsSaverc �v � e Zd ZdZej Z eee e
g� � eddd� � dd�� � � � ZdS )r z�Ignore malicious files.
Additianally to what `MaliciousEndpointsAV.malicious_move_to_ignore()`
does, this endpoint also removes sumbitted filenames from
malware_standalone_b64.list.`
�malware� maliciouszmove-to-ignoreNc � � K � | � ||� � � d {V ��}t j g |�� � � d {V �� t |� � S )N)�files_to_add�files_to_remove)�_malicious_move_to_ignorer
�update_sa_hits�len)�self�ids�user�ignoreds �e/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/advanced/rpc/endpoints/malicious.py�malicious_move_to_ignorez+MaliciousEndpoints.malicious_move_to_ignore+ sz � � � � �6�6�s�D�A�A�A�A�A�A�A�A��!�0��W�
�
�
�
�
�
�
�
�
�
� �7�|�|�� )N)
�__name__�
__module__�__qualname__�__doc__r �IM360�SCOPEr r r r r r � r r r r ! sq � � � � � �� �
�K�E��W�R�$� �"�#�#� �T�)�[�"2�3�3�� � � 4�3� $�#�� � r r N)r �"imav.malwarelib.rpc.endpoints.baser �MaliciousEndpointsAV� defence360agent.rpc_tools.lookupr �,defence360agent.feature_management.constantsr r r �)defence360agent.feature_management.lookupr �defence360agent.utilsr �imav.malwarelib.subsys.malwarer
r! r r �<module>r) s� ��� �*� � � � � � 2� 1� 1� 1� 1� 1� L� L� L� L� L� L� L� L� L� L� =� =� =� =� =� =� '� '� '� '� '� '� >� >� >� >� >� >�� � � � �-� � � � � r
Hacked By AnonymousFox1.0, Coded By AnonymousFox