Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /opt/imunify360/venv/lib/python3.11/site-packages/clcommon/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
� ��Fht � �n � d dl Z d dlZd dlZd dlZd dlZdZdZdZdZ d� Z d� Zefd�Zefd �Z efd �Zd� ZdS )� Nz/etc/sysconfig/cloudlinux�hooks�;zpython-cllib:clhook:c �t � t j dd�� � }t |_ |� | � � |S )z6 read config from file_name return config NF)� interpolation�strict)�configparser�ConfigParser�str�optionxform�read)� file_name�configs �o/builddir/build/BUILD/imunify360-venv-2.5.3/opt/imunify360/venv/lib/python3.11/site-packages/clcommon/clhook.py� get_configr s8 � � � &�T�%� H� H� H�F��F�� �K�K� �����M� c �D � |� dt j � � � �}t |dd�� � 5 }| � |� � ddd� � n# 1 swxY w Y t j ||� � n/# t $ r"}d|� |� dt |� � � �gcY d}~S d}~ww xY wdd gS ) zG write config to file_name return [BOOLEAN_STATE, MESSAGE] �.�wzutf-8)�encodingNFz write error T�OK )�os�getpid�open�write�shutil�move�IOErrorr )r r �debug_local_name�tmp_cfg_path� tmpconfig�es r �write_configr"