Hacked By AnonymousFox

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

�

��g��v�dZddlmZddlmZddlmZmZm	Z	ddl
mZddlm
Z
ddlmZGd�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�eZdZdZejZeee	e
g��eddd��dd�����ZdS)rz�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��}tjg|����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�SCOPErrrrrr�rrrr!sq��������
�K�E��W�R�$�	�"�#�#�	�T�)�[�"2�3�3����4�3�$�#���rrN)r�"imav.malwarelib.rpc.endpoints.baser�MaliciousEndpointsAV� defence360agent.rpc_tools.lookupr�,defence360agent.feature_management.constantsrrr�)defence360agent.feature_management.lookupr�defence360agent.utilsr	�imav.malwarelib.subsys.malwarer
r!rr�<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