shell bypass 403

Cubjrnet7 Shell


name : asyncbackend.cpython-39.opt-1.pyc
a

�M�e�
�@s�UddlmZddlZddlmZmZmZmZda	iZ
eeefed<dZ
Gdd�dejj�Zeed�d	d
�Zed�dd
�Zed�dd�Zeed�dd�ZdS)�)�DictN)�Backend�DatagramSocket�Socket�StreamSocket�	_backendsFc@seZdZdS)�AsyncLibraryNotFoundErrorN)�__name__�
__module__�__qualname__�rr�4/usr/lib/python3.9/site-packages/dns/asyncbackend.pyrsr)�name�returncCsdt�|�}|r|S|dkr.ddl}|j��}n*|dkrJddl}|j��}ntd|����|t|<|S)z�Get the specified asynchronous backend.

    *name*, a ``str``, the name of the backend.  Currently the "trio"
    and "asyncio" backends are available.

    Raises NotImplementedError if an unknown backend name is specified.
    ZtriorN�asynciozunimplemented async backend )r�getZdns._trio_backendZ
_trio_backendrZdns._asyncio_backendZ_asyncio_backend�NotImplementedError)rZbackend�dnsrrr
�get_backends	
r)rcCs�z>tr
t�ddl}z|��WWS|jy:td��Yn0WnFty�ddl}z|��WYdSty~td��Yn0Yn0dS)z�Attempt to determine the in-use asynchronous I/O library by using
    the ``sniffio`` module if it is available.

    Returns the name of the library, or raises AsyncLibraryNotFoundError
    if the library cannot be determined.
    rNz&sniffio cannot determine async libraryrzno async library detected)�_no_sniffio�ImportError�sniffioZcurrent_async_libraryrrZget_running_loop�RuntimeError)rrrrr
�sniff7srcCstrtStt��S)z6Get the default backend, initializing it if necessary.)�_default_backend�set_default_backendrrrrr
�get_default_backendRsrcCst|�atS)a,Set the default backend.

    It's not normally necessary to call this method, as
    ``get_default_backend()`` will initialize the backend
    appropriately in many cases.  If ``sniffio`` is not installed, or
    in testing situations, this function allows the backend to be set
    explicitly.
    )rr)rrrr
rZs
r)�typingrZ
dns.exceptionrZdns._asyncbackendrrrrrr�str�__annotations__r�	exceptionZDNSExceptionrrrrrrrrr
�<module>s	

© 2025 Cubjrnet7