Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
imunify360
/
venv
/
lib64
/
python3.11
/
site-packages
/
imav
/
malwarelib
/
scan
/
__pycache__
[ HOME ]
Exec
Submit
app_version_detector.cpython-311.opt-1.pyc
� 4Ri� � � � d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddl mZmZ ddl mZ dd lmZ dd lmZ ddlmZ G d� d 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)�CancelledError)� b64encode)�encode)�suppress)�Dict�Iterator)�FileBasedResourceLimits)�"APP_VERSION_DETECTOR_INTENSITY_KEY)�ScanFailedError)�resource_limitsc � � e Zd ZdS )�AVDExecutionErrorN)�__name__� __module__�__qualname__� � �^/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/scan/app_version_detector.pyr r # s � � � � � ��Dr r c �L � e Zd Zg d�Zd� Zdee deeef ddfd�Z dS )�AppVersionDetector)z9/opt/app-version-detector/app-version-detector-wrapper.shzW--sqlite-db-report=/var/lib/cloudlinux-app-version-detector/components_versions.sqlite3z--stdin-dirsz--paths-in-base64z--scan-depth=3c � � d | _ d S )N)�_proc)�selfs r �__init__zAppVersionDetector.__init__4 s � ��� � � r �paths� doc_roots�returnNc � � K � g }|D ]m}|� d� t |� |� � � d� � d� � t |� � g� � � � �nd� |� � }t j | j t j t j t j t j t j t �� � � d {V ��| _ d x}} | j � |�� � � d {V ��\ }}nt# t"