Graybyt3 Was Here
Linux cloud.locucionar.com 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
Apache
91.191.211.241
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
imav
/
plugins
/
__pycache__
[ HOME ]
Exec
Submit
mr_proper.cpython-311.pyc
� 1�\h� � � � d Z ddlmZ ddlmZmZmZ ddlmZ ddl m Z ddlmZ ddl mZ ddlmZmZmZ dd lmZ 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> � )� getLogger)�expect� MessageSource�MessageSink)�MessageType)�recurring_check)� check_lock)�MalwareDetachedDirCleaner)�OutdatedHistoryCleaner�OutdatedHitsCleaner�OutdatedScansCleaner)�UncompletedScansCleanerc �d � e Zd ZeeeegZd� Zd� Z d� Z eej � � d� � � Zd� ZdS )�MrProperc �0 � d | _ d | _ g | _ d S �N)�_loop�_sink�_tasks)�selfs �K/opt/imunify360/venv/lib/python3.11/site-packages/imav/plugins/mr_proper.py�__init__zMrProper.__init__7 s � ��� ��� ������ c � � K � || _ || _ | j D ]j}| j � | j � t t d|j |j �� � |j � � � � � � � � �kd S )NT)�check_period_first�check_lock_period� lock_file)r r �CLEANERSr �append�create_taskr r �PERIOD� LOCK_FILE�cleanup)r �loop�sink�cleaners r � create_sourcezMrProper.create_source<