PATH:
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
defence360agent
/
migrations
/
__pycache__
/
Editing: 112_hardened_php.cpython-311.pyc
� ���i\ � �� � d dl Z d dlZd dlZd dlZd dlmZ ej ddd�� � Z ej ddd�� � Z ej e � � ZdZdZ d Zd � Zd� Zd� Zdd�Zdd�ZdS )� N)�importerzimav.malwarelib.utils.chattr�subtract_flags)�module�name�default�FS_IMMUTABLE_FLzimunify360-alt-php.repozimunify360-ea-php-hardened.repoz/etc/yum.repos.d/c � � d| v rt t hS t j � d� � rt t g� � S t t g� � S )N� cloudlinuxz/usr/local/cpanel/cpanel)�ALT_PHP�EA_PHP�os�path�exists�set)�releases �`/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/migrations/112_hardened_php.py�irrelevant_reposr sM � ��w����� � � ����2� 3� 3� ��G�9�~�~�� �F�8�}�}�� c �x � t �d S t t fD ]�} t | z }t j � |� � s�,t |� � 5 }t |� � � t � � t j |� � � d� � d d d � � n# 1 swxY w Y ��d S )Ni� )r r r � REPOS_DIRr r r �open�filenor �chmod)� repo_namer �fs r �fix_permissionsr "