관리-도구
편집 파일: scanner.cpython-311.pyc
� ��g� � �� � d Z ddlZddlZddlZddlZddlmZmZmZm Z m Z ddlmZ ddl mZ ddlmZ ddlmZ dd lmZmZmZmZ ej e� � Z G d � d� � 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)�Dict�Iterator�List�Optional�Tuple)�ScanFailedError)�Core)�MessageType� )�AiBolit)� DirectAiBolit�PrepareFileList� ScanResult� event_hookc � � e Zd Zdd�Zd� Zd� Zd� Zd� Zd� Zd � Z d � Z d� Zdee d eeee ee f fd�ZdS )�MalwareScannerNFc �� � |pt j | _ || _ || _ d | _ d | _ t j � � | _ || _ d | _ d | _ t j � � | _ d S �N)�Config�TMPDIR�_tmpdir�_sink�_hooks�aibolit�_task�asyncio�get_event_loop�_loop� _current_task�_future_result�Lock�_is_running)�self�tmpdir�sink�hookss �Q/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/scan/scanner.py�__init__zMalwareScanner.__init__'