403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.206
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/xdg/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/xdg/__pycache__/util.cpython-310.pyc
o

�)X�
�@srddlZejddkZerdd�Zndd�Zz	ddlmZWdSey8ddlZejej	Bdfdd�ZYdSw)	�N�cCs|S�N���srr�*/usr/lib/python3/dist-packages/xdg/util.py�usrcCs
|�d�S)Nzutf-8)�decoderrrrr
s
)�whichcsdd�}tj���r|�|�r�SdS|ptj�dtj��tj�}tj	dkrVtj
|vr2|�dtj
�tj�dd��tj�}t�fd	d
�|D��rL�g}n
�fdd�|D�}n�g}t
�}|D](}tj�|�}||vr�|�|�|D]}	tj�||	�}
||
|�r�|
Sqqq^dS)
aKGiven a command, mode, and a PATH string, return the path which
        conforms to the given mode on the PATH, or None if there is no such
        file.

        `mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
        of os.environ.get("PATH"), or can be overridden with a custom search
        path.

        cSs&tj�|�ot�||�otj�|�Sr)�os�path�exists�access�isdir)�fn�moderrr�
_access_check s�zwhich.<locals>._access_checkN�PATH�win32r�PATHEXT�c3s"�|]}����|���VqdSr)�lower�endswith��.0�ext��cmdrr�	<genexpr>9s� zwhich.<locals>.<genexpr>csg|]}�|�qSrrrrrr�
<listcomp><szwhich.<locals>.<listcomp>)rr�dirname�environ�get�defpath�split�pathsep�sys�platform�curdir�insert�any�set�normcase�add�join)rrrr�pathext�files�seen�dir�normdir�thefile�namerrrr
s4





��r
)
r&�version_info�PY3r�shutilr
�ImportErrorr�F_OK�X_OKrrrr�<module>s
�

Youez - 2016 - github.com/yon3zu
LinuXploit