g dZddlmZddlmZddlmZddlmZddl m Z m Z ddl m Z mZddlmZdd lmZmZGd 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 )ANTIVIRUS_MODE)cxswatch_runningthirdparty_uploadscript) HostingPanel) RootEndpointsbind)is_centos6_or_cloudlinux6Scope)is_ssse3_supported) LimitsMethodget_current_methodceZdZejZedddZedZ e dZ e dZ e dZe dZd S) ConflictsEndpoints3rdparty conflictscHKi}|jD]}||d{Vd|iS)Nitems)_funcs)selfresultsfuncs N/opt/imunify360/venv/lib/python3.11/site-packages/imav/simple_rpc/conflicts.pythirdparty_conflictsz'ConflictsEndpoints.thirdparty_conflicts&sJK  D$w--        !!cV|j|jg}|j|jgt z}||zS)z3List of functions for "3rdparty conflicts" endpoint)_intensity_conflicts_hyperscan_conflicts_malware_inotify_scan_conflicts_malware_pureftp_scan_conflictsr)rcommon_conflict_methodsextended_conflict_methodss rrzConflictsEndpoints._funcs-sI  %  %#   0  0%  %!!')BBBrcXKtd{Vtjkrd|d<|S)NTscan_intensity_io_cfq)rr NICE results_dicts rrz'ConflictsEndpoints._intensity_conflicts;s=#%% % % % % % %): : :48L0 1rcVKtsd|d<trd|d<|S)NTscan_hyperscan_no_ssse3scan_hyperscan_el6)r r )clsr's rrz'ConflictsEndpoints._hyperscan_conflictsAs@!## ;7;L2 3 $ & & 615L- .rc|Ktsd|d<ntrd|d<|S)NTscan_inotify_control_panelscan_inotify_cxswatch_daemon)r is_installedrr&s rrz2ConflictsEndpoints._malware_inotify_scan_conflictsNsM~~**,, @9=L5 6 6    @;?L7 8rc4Kt}|d|d<|S)NTscan_pure_ftpdr)r'_thirdparty_uploadscripts rr z2ConflictsEndpoints._malware_pureftp_scan_conflictsVs)#:#<#< # /-1L) *rN)__name__ __module__ __qualname__r AVSCOPEr rpropertyr staticmethodr classmethodrrr rrrr#s HE T*k""""#""  C CX C\   [ \\rrN)__doc__ defence360agent.contracts.configrimav.malwarelib.subsys.cxsr imav.malwarelib.subsys.pure_ftpdr+defence360agent.subsys.panels.hosting_panelr defence360agent.rpc_tools.lookuprr defence360agent.utilsr r defence360agent.utils.hyperscanr %defence360agent.utils.resource_limitsr rrr;rrrEs*<;;;;;777777DDDDDDDDDDDD@@@@@@@@BBBBBBBB>>>>>> 8888888888r