404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.135.207.254: ~ $
3

�i�V�
�@sPyddlmZWn:ek
rJddlZddlZejejBdfdd�ZYnXdS)�)�whichNcs"dd�}tjj��r&|�|�r"�SdS|dkr>tjjdtj�}|sFdS|jtj�}tj	dkr�tj
|krt|jdtj
�tjjdd�jtj�}t�fd	d
�|D��r��g}q‡fdd�|D�}n�g}t
�}xT|D]L}tjj|�}||kr�|j|�x(|D] }	tjj||	�}
||
|�r�|
Sq�Wq�WdS)
aSGiven 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&tjj|�o$tj||�o$tjj|�S)N)�os�path�exists�access�isdir)�fn�mode�r
�/usr/lib/python3.6/util.py�
_access_checkszwhich.<locals>._access_checkN�PATHZwin32rZPATHEXT�c3s |]}�j�j|j��VqdS)N)�lower�endswith)�.0�ext)�cmdr
r�	<genexpr>1szwhich.<locals>.<genexpr>csg|]}�|�qSr
r
)rr)rr
r�
<listcomp>4szwhich.<locals>.<listcomp>)rr�dirname�environ�get�defpath�split�pathsep�sys�platform�curdir�insert�any�set�normcase�add�join)rr	rrZpathext�files�seen�dirZnormdirZthefile�namer
)rrrs8







r)Zshutilr�ImportErrorrr�F_OK�X_OKr
r
r
r�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 292 B 0644
__init__.cpython-36.pyc File 292 B 0644
_fork_pty.cpython-36.opt-1.pyc File 1.85 KB 0644
_fork_pty.cpython-36.pyc File 1.85 KB 0644
ptyprocess.cpython-36.opt-1.pyc File 23.33 KB 0644
ptyprocess.cpython-36.pyc File 23.33 KB 0644
util.cpython-36.opt-1.pyc File 1.67 KB 0644
util.cpython-36.pyc File 1.67 KB 0644