403Webshell
Server IP : 162.19.112.25  /  Your IP : 216.73.216.88
Web Server : LiteSpeed
System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : archiart ( 1428)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib64/python3.9/site-packages/borg/platform/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python3.9/site-packages/borg/platform/__pycache__/xattr.cpython-39.pyc
a

�iJ�@s�ddlZddlZddlmZz
ejZWney>ejZYn0eedd�Zdd�Z	dd	�Z
Gd
d�de�Zdd
d�Z
dd�Zdd�Zdd�ZdS)�N�)�Bufferi)�limitcCs$t|t�rt|�}|�d�dd�S)zMsplit a list of zero-terminated strings into python not-zero-terminated bytes�N���)�
isinstance�	bytearray�bytes�split)�buf�r�9/usr/lib64/python3.9/site-packages/borg/platform/xattr.py�
split_string0s
rcCsHg}t|�}|rD|d}|�t|dd|���|d|d�}q|S)zMsplit a list of length-prefixed strings into python not-length-prefixed bytesr�N)�
memoryview�appendr	)r�result�mv�lengthrrr
�
split_lstringsrc@seZdZdZdS)�BufferTooSmallErrorzBthe buffer given to a xattr function was too small for the result.N)�__name__�
__module__�__qualname__�__doc__rrrr
r#srFcCs�ddlm}|dkrr|�}|r.|tjkr.t�nDzt�|�}WntyRd}Yn0t|t	�rfd|}t
|||��|r�|tt�kr�t�|S)Nr)�	get_errnor�z<FD %d>)
rr�errnoZERANGEr�os�strerror�
ValueErrorr�int�OSError�len�buffer)�rv�path�detect_buffer_too_smallr�e�msgrrr
�_check's

r*cCsht|ttf�sJ�tt�}t�|�}zt||||�|dd�}WntyX|d9}Yq0||fSqdS�NT�r'r�rr	r!r#r$�getr*r)�funcr&�sizer�nrrr
�_listxattr_inner@s
r2cCsxt|ttf�sJ�t|t�s J�tt�}t�|�}zt|||||�|dd�}Wntyh|d9}Yq(0||fSq(dSr+r-)r/r&�namer0rr1rrr
�_getxattr_innerMs
r4cCsNt|ttf�sJ�t|t�s J�t|t�s.J�t||||t|��|dd�dS)NFr,)rr	r!r*r#)r/r&r3�valuerrr
�_setxattr_inner[sr6)NF)rrZhelpersrZENOATTR�AttributeError�ENODATArr$rr�	Exceptionrr*r2r4r6rrrr
�<module>s




Youez - 2016 - github.com/yon3zu
LinuXploit