Vѣ5
?:; d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
mZ ddlm
Z
ee Z 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 .
Copyright © 2019 Cloud Linux Software Inc.
This software is also available under ImunifyAV commercial license,
see
) getLogger)
ConfigFile)Malware)
MessageSource)recurring_checkScope)cxsc ` e Zd Zej Zd Zd Zd Z e e
j d ZdS )InotifyScanc d | _ d S N)_enable_taskselfs I/opt/imunify360/venv/lib/python3.11/site-packages/imav/plugins/inotify.py__init__zInotifyScan.__init__$ s c K || _ || _ | j | | _ d S r
)_loop_sinkcreate_task
_check_enabler )r loopsinks r
create_sourcezInotifyScan.create_source' s>
J2243E3E3G3GHHr c h K | j (| j | j d {V d S d S r
)r cancelr s r shutdownzInotifyScan.shutdown- sM ($$&&&########## )(r c K t j r1t j r't ddd d S d S d S )NMALWARE_SCANNINGenable_scan_inotifyF)r cxswatch_runningConfigINOTIFY_ENABLEDr setr s r r zInotifyScan._check_enable2 s_ !! Of&<