403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/userpath/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/userpath/__pycache__/cli.cpython-311.pyc
�

�`
bo���ddlZddlZddlZddlmZmZdddgiZd)d�Zd)d�Z	d)d	�Z
eje�
��ej��d�����Ze�
ed�
��ejddd���ejddddejee����d�d�ee���������ejdddd���ejdd���ejdddd ���ejd!d"dd#���d$���������������Ze�
ed%�
��ejddd���ejddddejee����d�d�ee���������ejdddd���ejdd���ejdddd ���ejd!d"dd#���d&���������������Ze�
ed'�
��ejddd���ejddddejee����d�d�ee���������ejdddd���ejdd���ejd!d"dd#���d(�������������ZdS)*�N)�DEFAULT_SHELLS�SHELLS�help_option_namesz-hz--helpTc�6�tj|dd|���dS)N�cyanT��fg�bold�nl��click�secho��textrs  �./usr/lib/python3/dist-packages/userpath/cli.py�echo_successrs!��	�K���d�r�2�2�2�2�2�2�c�8�tj|dd|d���dS)N�redT)r	r
r�errrrs  r�echo_failurers#��	�K���T�b�d�;�;�;�;�;�;rc�6�tj|dd|���dS)N�yellowTrrrs  r�echo_warningrs!��	�K�����4�4�4�4�4�4r)�context_settingsc��dS)N�rrr�userpathrs	��	�DrzPrepends to the user PATH)r�
short_help�	locations���)�required�nargsz-sz--shell�shellsz�The shell in which PATH will be modified. This can be selected multiple times and has no effect on Windows. The default shells are: {}z, )�multiple�type�helpz-az--all-shellsznUpdate PATH of all supported shells. This has no effect on Windows as environment settings are already global.)�is_flagr'z--homez"Explicitly set the home directory.)r'z-fz--forcez-Update PATH even if it appears to be correct.z-qz--quietz+Suppress output for successful invocations.c�0�|s�|D]�}tj|��r7td�|����t	jd���Mtj||||���r6td�|����t	jd����	tj||||d���|std��d	Sd	S#t$r;}tt|����t	jd��Yd	}~d	Sd	}~wwxYw)
z^Prepends to the user PATH. The shell must be restarted for the update to
    take effect.
    �oThe directory `{}` is already in PATH! If you are sure you want to proceed, try again with the -f/--force flag.��r$�
all_shells�home��The directory `{}` is already in PATH, pending a shell restart! If you are sure you want to proceed, try again with the -f/--force flag.T�r$r-r.�check�Success!�N)�up�in_current_pathr�format�sys�exit�in_new_path�prependr�	Exceptionr�str�r r$r-r.�force�quiet�location�es        rr:r:sJ��8��!�	�	�H��!�(�+�+�

��+�+1�6�(�+;�+;����
�����������J�UY�Z�Z�Z�
��0�06��x�0@�0@����
�������%�
�
�9�V�
��UY�Z�Z�Z�Z�
�	%���$�$�$�$�$�	%�	%��	�����S��V�V�������������������������"C�
D�0D�DzAppends to the user PATHc�0�|s�|D]�}tj|��r7td�|����t	jd���Mtj||||���r6td�|����t	jd����	tj||||d���|std��d	Sd	S#t$r;}tt|����t	jd��Yd	}~d	Sd	}~wwxYw)
z]Appends to the user PATH. The shell must be restarted for the update to
    take effect.
    r*r+r,r/Tr0r2r3N)r4r5rr6r7r8r9�appendrr;rr<r=s        rrDrDUsJ��8��!�	�	�H��!�(�+�+�

��+�+1�6�(�+;�+;����
�����������J�UY�Z�Z�Z�
��0�06��x�0@�0@����
�������%�
�	�)�F�z��TX�Y�Y�Y�Y�
�	%���$�$�$�$�$�	%�	%��	�����S��V�V�����������������������rBz(Checks if locations are in the user PATHc��|D]�}tj|��r%|s"td�|�����;tj||||���r7td�|����t
jd����td�|����t
jd����dS)z)Checks if locations are in the user PATH.zThe directory `{}` is in PATH!r,z7The directory `{}` is in PATH, pending a shell restart!r+z"The directory `{}` is not in PATH!r3N)	r4r5rr6r9rr7r8r)r r$r-r.r?r@s      r�verifyrF�s���2�	�	��
��h�'�'�	��
P��=�D�D�X�N�N�O�O�O��
�^�H�V�
�QU�
V�
V�
V�	��R�Y�Y�Zb�c�c�d�d�d��H�Q�K�K�K�K��=�D�D�X�N�N�O�O�O��H�Q�K�K�K�K�	�	r)T)r7r
rr4�userpath.shellsrr�CONTEXT_SETTINGSrrr�group�version_option�command�argument�option�Choice�sortedr6�joinr:rDrFrrr�<module>rQs���
�
�
�
���������2�2�2�2�2�2�2�2�(�$��)9�:��3�3�3�3�<�<�<�<�5�5�5�5�
���.�/�/�/������	�	���0�/�	�
���#3�@[��\�\�����d�"�5�5�5�
����
��
�	���f�f�V�n�n�	%�	%�	8�8>��t�y�y���P^�I_�I_�?`�?`�8a�8a�
�
�
�������x�������h�A�B�B�B�
���d�I�t�2a�b�b�b�
���d�I�t�2_�`�`�`�%�%�a�`�c�b�C�B���
�
�6�5�]�\�0%�>
���#3�@Z��[�[�����d�"�5�5�5�
����
��
�	���f�f�V�n�n�	%�	%�	8�8>��t�y�y���P^�I_�I_�?`�?`�8a�8a�
�
�
�������x�������h�A�B�B�B�
���d�I�t�2a�b�b�b�
���d�I�t�2_�`�`�`�%�%�a�`�c�b�C�B���
�
�6�5�\�[�0%�>
���#3�@j��k�k�����d�"�5�5�5�
����
��
�	���f�f�V�n�n�	%�	%�	8�8>��t�y�y���P^�I_�I_�?`�?`�8a�8a�
�
�
�������x�������h�A�B�B�B�
���d�I�t�2_�`�`�`���a�`�C�B���
�
�6�5�l�k�.��r

Youez - 2016 - github.com/yon3zu
LinuXploit