관리-도구
편집 파일: 001_fix_scan_unserialization.cpython-311.pyc
� ��gk � � � d Z ddlZddlZddlZddlZddlmZ ej e� � Z ed� � Z dZdZ G d� dej � � Zd � Zd d�d�Zd d�d �ZdS )ue 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> Used to fix issue with inability to unserialize stored scans. See DEF-23158 for details. � N)�Pathz$/var/imunify360/aibolit/scans.picklezdefence360agent.malwarelibzimav.malwarelibc � � � e Zd Z� fd�Z� xZS )�AVUnpicklerc �2 �� t � � � ||� � S # t t f$ r` |� t � � rDt j |� t t � � � � }t ||� � cY S � w xY w�N)�super� find_class�ImportError�ModuleNotFoundError� startswith�OLD_MALWARELIB� importlib� import_module�replace�NEW_MALWARELIB�getattr)�self�module�name� av_module� __class__s ��a/opt/imunify360/venv/lib/python3.11/site-packages/imav/migrations/001_fix_scan_unserialization.pyr zAVUnpickler.find_class( s� �� � ��7�7�%�%�f�d�3�3�3���0�1� � � �� � ��0�0� 0�%�3��N�N�>�>�B�B�� � � �y�$�/�/�/�/�/�� ���s �!% �A-B�B)�__name__� __module__�__qualname__r � __classcell__)r s @r r r '