j ysj ݤj J# Accept-Encoding,User-Agent ͗-nZibu
KEY: https://avaliareassessoria.com.br/Ven-SS/root/proc/self/cwd/opt/imunify360/venv/lib/python3.11/site-packages/imav/plugins/__pycache__/malware_filters.cpython-311.opt-1.pyc
HTTP/1.1 200 OK
Date: Sat, 12 Sep 2026 05:05:50 GMT
Server: Apache
Last-Modified: Wed, 05 Aug 2026 11:20:25 GMT
Accept-Ranges: bytes
Content-Length: 6669
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: text/plain
sja d Z ddlZddlZddlmZ ddlmZ ddlmZm Z ddl
mZ ddlm
Z
mZ ddlmZmZ dd lmZ ej e Z G d
de 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 .
Copyright © 2019 Cloud Linux Software Inc.
This software is also available under ImunifyAV commercial license,
see
MalwareIgnorePath plugin will update malware paths filters.
It listens for MalwareIgnorePathUpdated message, and calls
realtime_av.update() on receiving it. This call also is performed on
plugin initialization.
N)Malware)MessageType)MessageSinkexpect)REALTIME_AV_CONF)
load_state
save_state)recurring_checksafe_cancel_task)realtime_avc , e Zd Zd ZddZ ed d Zd Z ee j
dd Z ee j ee j
e dd
Z ee j ej dd Zdd
ZdS )BaseMalwareFiltersc d | _ t d d }|pt j | _ t
j | _ d S NMalwareFilterscrontabs_scan_enabled) _reload_taskr getr CRONTABS_SCAN_ENABLED_crontabs_scan_enabledasyncioEvent
_reload_event)self_states Q/opt/imunify360/venv/lib/python3.11/site-packages/imav/plugins/malware_filters.py__init__zBaseMalwareFilters.__init__, sK ,--112IJJ&,&M0M#$]__ returnNc K || _ | j | | _ | d {V d S N)_loopcreate_taskreload_servicesr call_update)r loops r create_sinkzBaseMalwareFilters.create_sink2 s[
J2243G3G3I3IJJ r r c r K | j d {V | j t j st
d d S t j d {V d S # t $ r&}t
d| Y d }~d S d }~ww xY w)Nz-Realtime is not installed. Nothing to reload.z&failed to reload realtime services: %s) r waitclearr is_installedloggerwarningr$ Exceptionr es r r$ z"BaseMalwareFilters.reload_services7 s %%''''''''' """')) NNJKKKF H-/////////// H H HNNCQGGGGGGGGG Hs +B
B6B11B6c ~ K t dd| j i | j rt | j d {V d S d S r )r r r r )r s r shutdownzBaseMalwareFilters.shutdownC sf
$d&AB
6"4#455555555555 6 6r c ~ K t j }| j |k r#|| _ | d {V d S d S r! )r r r r% )r _enableds r on_config_updatez#BaseMalwareFilters.on_config_updateK sV /&'11*1D'""$$$$$$$$$$$ 21r )
files_typec > K | d {V d S r! )r% r r4 s r
on_messagezBaseMalwareFilters.on_messageR s2 r )servicec b K t j | j d S r! )r generate_configsr setr9 s r ensure_realtime_service_statez0BaseMalwareFilters.ensure_realtime_service_stateW s2
$&&& r c K t j r| j d S d S # t $ r&}t
d| Y d }~d S d }~ww xY w)Nz)failed to update malware path filters: %s)r r= r r> r. r, r- r/ s r r% zBaseMalwareFilters.call_update_ s K+--
)"&&(((((
)
) K K KNNFJJJJJJJJJ Ks ,4
A$AA$)r N)__name__
__module____qualname__r r' r
r$ r2 r r ConfigUpdater6 MalwareIgnorePathUpdatedFilesUpdatedr r: EnsureServiceStater REALTIME_SERVICE_NAMEr? r% r r r r + sD - - -! ! ! !
_Q H H H6 6 6 VK$%%% % % &%% VK011VK$1ABBB! ! ! CB 21! V&1 ! ! ! !K K K K K Kr r )__doc__r logging defence360agent.contracts.configr "defence360agent.contracts.messagesr !defence360agent.contracts.pluginsr r defence360agent.filesr 'defence360agent.subsys.persistent_stater r defence360agent.utilsr
r imav.subsysr getLoggerrA r, r rI r r rT s 8 4 4 4 4 4 4 : : : : : : A A A A A A A A 2 2 2 2 2 2 J J J J J J J J C C C C C C C C # # # # # # 8 $ $:K :K :K :K :K :K :K :K :K :Kr