Hacked By AnonymousFox
�
�tgNK � � � 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% ed� � � d� � � Z&er
e&� � Z'd� Z(d� Z)d� Z*d� Z+d� Z,da-dZ.dZ/dZ0d� Z1d� Z2d� Z3d � Z4d8d!�Z5d8d"�Z6d8d#�Z7d9d$�Z8d:d%�Z9d;d'�Z: d<d)�Z;d=d*�Z<d=d+�Z=d,� Z>d-� Z?da@d.� ZA ee/�/� � ZBd0� ZCdaDd>d1�ZEd2� ZFd?d3�ZGd4� ZHd5� ZIejJ d6� � � ZKejJ d7� � � ZLdS )@� 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 ��/builddir/build/BUILDROOT/alt-python27-cllib-3.4.16-1.el8.cloudlinux.x86_64/opt/cloudlinux/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'