Hacked By AnonymousFox
�
��go � �� � d Z ddlZddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZm
Z
mZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ ee� � Z G d
� dee
� � ZdS )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>
� N)�defaultdict)� getLogger)�Malware)�MessageType)�MessageSink�
MessageSource�expect)�MalwareScanType)�MalwareIgnorePath)�DetachedScanPlugin)�MalwareScanner)�recurring_checkc �� � e Zd Zd\ ZZdZdZd� Zd� Zd� Z d� Z
eej
� � d� � � Z eej � � d� � � Zed � � � Zd
� Zd� Z eej � � d� � � ZdS )
�Scanner)NNNc � � K � || _ || _ | j � | � � � � � | _ d S �N)�_loop�_sink�create_task�_recurring_scan�
_scan_task)�self�loop�sinks �T/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/plugins/scanner.py�
create_sourcezScanner.create_source/ s; � � � ���
���
��*�0�0��1E�1E�1G�1G�H�H����� c � �<