Your IP : 18.188.188.152
�
\�DgAO � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ d dl m
Z
mZmZm
Z
mZmZmZmZmZmZ d dlmZ d dlmZ d� Zd� Z ed� � � d
� � � Zer
e� � ZeZeZ G d� de� � Z ee� � Zd
� Z d� Z!d� Z"d� Z#d� Z$d� Z% G d� d� � Z& ed� � � d� � � Z'er
e'� � Z(d� Z)d� Z*d� Z+d� Z,d� Z-da.dZ/dZ0dZ1d� Z2d � Z3d!� Z4d"� Z5d:d#�Z6d:d$�Z7d:d%�Z8d;d&�Z9d<d'�Z:d=d)�Z; d>d+�Z<d?d,�Z=d?d-�Z>d.� Z?d/� Z@daAd0� ZB ee0�1� � ZCd2� ZDdaEd@d3�ZFd4� ZGdAd5�ZHd6� ZId7� ZJejK d8� � � ZLejK d9� � � ZMdS )B� N)� lru_cache)�
TYPE_CHECKING)
�cdll�c_long� Structure�c_ushort�c_ubyte�c_char�POINTER�c_int�c_void_p�c_char_p)�ClPwd)�drop_user_privilegesc � � | dk rt � � S | dk rt � � S t dt � d| � �� � �)N�libc�liblvezmodule z has no attribute )�
_load_libc�_load_liblve�AttributeError�__name__)�names �h/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/secureio.py�__getattr__r sK � � �v�~�~��|�|��
�� � ��~�~��
�E�8�E�E�t�E�E�
F�
F�F� c �J � ddgt � � � � � �S )Nr r )�globals�keys� r r �__dir__r # s � ��H�0�w�y�y�~�~�/�/�0�0r )�maxsizec �� � t j d� � } t t t g| j _ t | j _ t t g| j _ t | j _ t g| j _ t | j _ t g| j _ t | j _ t g| j _ d | j _ t g| j _ t | j _ | S )Nz libc.so.6)
r �LoadLibraryr �fchown�argtypes�restype�fchmod� fdopendirr
�readdir�
DIRENTRY_P� rewinddir�closedir)r s r r r ( s� � ���K�(�(�D�!�5�%�0�D�K���D�K��!�5�>�D�K���D�K�� %�g�D�N��%�D�N�� &�J�D�L��%�D�L�� (�j�D�N��!�D�N�� '�Z�D�M��!�D�M���Kr c �6 � e Zd Zdefdefdefdefdedz fgZdS )�DIRENTRY�d_ino�d_off�d_reclen�d_type�d_name� N) r �
__module__�__qualname__�ino_t�off_tr r r
�_fields_r r r r. r. P sA � � � � � � �%�� �%�� �X�� �7�� �6�C�<� ��H�H�Hr r. c �H � t � � � | ||� � S �N)r r$ )�fd�uid�gids r r$ r$ ] s � ��<�<���r�3��,�,�,r c �F � t � � � | |� � S r; )r r'