✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server303.web-hosting.com ​🇻​♯➤ 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 199.188.205.31 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.163
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /lib/python3.8/site-packages/pip/_internal/network/__pycache__//auth.cpython-38.pyc
U

��.eo+�
@sdZddlZddlmZmZddlmZddlmZ	ddl
mZmZm
Z
mZmZddlmZer�ddlmZdd	lmZmZmZdd
lmZeeeefZe�e�ZzddlZWnLe k
r�dZYn6e!k
r�Z"ze�#dee"��dZW5dZ"["XYnXdd
�Z$Gdd�de�Z%dS)z�Network Authentication Helpers

Contains interface (MultiDomainBasicAuth) and associated glue code for
providing credentials in the context of network requests.
�N)�AuthBase�
HTTPBasicAuth)�get_netrc_auth)�parse)�ask�	ask_input�ask_password�remove_auth_from_url�split_auth_netloc_from_url)�MYPY_CHECK_RUNNING)�Values)�Dict�Optional�Tuple)�AuthInfo�*Keyring is skipped due to an exception: %sc
Cs�|rtsdSz�z
tj}Wntk
r,Yn4Xt�d|�|||�}|dk	rZ|j|jfWSWdS|r�t�d|�t�||�}|r�||fWSWn2tk
r�}zt�	dt
|��W5d}~XYnXdS)z3Return the tuple auth for a given url from keyring.Nz'Getting credentials from keyring for %sz$Getting password from keyring for %sr)�keyring�get_credential�AttributeError�logger�debug�username�passwordZget_password�	Exception�warning�str)�urlrrZcredr�exc�r�>/usr/lib/python3.8/site-packages/pip/_internal/network/auth.py�get_keyring_auth.s,

�r c@s`eZdZddd�Zdd�Zddd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
dd�Zdd�ZdS)�MultiDomainBasicAuthTNcCs||_||_i|_d|_dS)N)�	prompting�
index_urls�	passwords�_credentials_to_save)�selfr"r#rrr�__init__MszMultiDomainBasicAuth.__init__cCsB|r
|jsdS|jD](}t|��d�d}|�|�r|SqdS)a�Return the original index URL matching the requested URL.

        Cached or dynamically generated credentials may work against
        the original index URL rather than just the netloc.

        The provided url should have had its username and password
        removed already. If the original index url had credentials then
        they will be included in the return value.

        Returns None if no matching index was found, or if --no-index
        was specified by the user.
        N�/)r#r	�rstrip�
startswith)r&r�u�prefixrrr�_get_index_urlYs


z#MultiDomainBasicAuth._get_index_urlcCs�t|�\}}}|\}}|dk	r6|dk	r6t�d|�|S|�|�}	|	rft|	�}
|
rf|
\}	}}t�d|	�|	r�|ddk	r�|\}}|dk	r�|dk	r�t�d|�|S|r�t|�}
|
r�t�d|�|
S|r�t|	|�p�t||�}|r�t�d|�|S||fS)z2Find and return credentials for the specified URL.NzFound credentials in url for %szFound index url %srz%Found credentials in index url for %sz!Found credentials in netrc for %sz#Found credentials in keyring for %s)r
rrr-rr )r&�original_urlZallow_netrcZ
allow_keyringr�netlocZurl_user_passwordrrZ	index_urlZ
index_info�_Zindex_url_user_passwordZ
netrc_authZkr_authrrr�_get_new_credentialsns>�



�z)MultiDomainBasicAuth._get_new_credentialscCs�t|�\}}}|j�|d�\}}|dkr>|dkr>|�|�\}}|dk	sN|dk	rl|pTd}|p\d}||f|j|<|dk	r||dk	s�|dkr�|dks�td�|���|||fS)a_Return the credentials to use for the provided URL.

        If allowed, netrc and keyring may be used to obtain the
        correct credentials.

        Returns (url_without_credentials, username, password). Note
        that even if the original URL contains credentials, this
        function may return a different username and password.
        �NNN�z'Could not load credentials from url: {})r
r$�getr1�AssertionError�format)r&r.rr/r0rrrrr�_get_url_and_credentials�s&
�����z-MultiDomainBasicAuth._get_url_and_credentialscCsH|�|j�\}}}||_|dk	r6|dk	r6t||�|�}|�d|j�|S)N�response)r7rr�
register_hook�
handle_401)r&�reqrrrrrr�__call__�szMultiDomainBasicAuth.__call__cCsFtd|�}|sdSt||�}|r4|d|ddfStd�}||dfS)Nz
User for %s: r2r�Fz
Password: T)rr r)r&r/rZauthrrrr�_prompt_for_password�s
z)MultiDomainBasicAuth._prompt_for_passwordcCstsdStdddg�dkS)NFz#Save credentials to keyring [y/N]: �y�n)rr)r&rrr� _should_save_password_to_keyring�sz5MultiDomainBasicAuth._should_save_password_to_keyringc	Ks�|jdkr|S|js|St�|j�}|�|j�\}}}d|_|dk	rv|dk	rv||f|j|j<|rv|�	�rv|j||f|_|j
|j��t
|p�d|p�d�|j�}|�d|j�|jr�|�d|j�|jj|f|�}|j�|�|S)N�r3r8)�status_coder"�urllib_parseZurlparserr>r/r%r$rAZcontent�rawZrelease_connr�requestr9�warn_on_401�save_credentialsZ
connection�send�history�append)	r&�resp�kwargsZparsedrrZsaver;Znew_resprrrr:�s(

zMultiDomainBasicAuth.handle_401cKs|jdkrt�d|jj�dS)z6Response callback to warn about incorrect credentials.rBz)401 Error, Credentials not correct for %sN)rCrrrFr)r&rLrMrrrrGs

�z MultiDomainBasicAuth.warn_on_401cKsntdk	std��tsdS|j}d|_|rj|jdkrjzt�d�tj|�Wntk
rht�d�YnXdS)z1Response callback to save credentials on success.Nz'should never reach here without keyringi�zSaving credentials to keyringzFailed to save credentials)	rr5r%rCr�infoZset_passwordrZ	exception)r&rLrMZcredsrrrrHs
z%MultiDomainBasicAuth.save_credentials)TN)TT)
�__name__�
__module__�__qualname__r'r-r1r7r<r>rAr:rGrHrrrrr!Ks
�
2(-r!)&�__doc__ZloggingZpip._vendor.requests.authrrZpip._vendor.requests.utilsrZpip._vendor.six.moves.urllibrrDZpip._internal.utils.miscrrrr	r
Zpip._internal.utils.typingrZoptparser�typingr
rrZ pip._internal.vcs.versioncontrolrrZCredentialsZ	getLoggerrOrr�ImportErrorrrrr r!rrrr�<module>s0	
�


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
21 Mar 2024 10.19 AM
root / root
0755
__init__.cpython-38.opt-1.pyc
0.207 KB
17 Oct 2023 6.30 PM
root / root
0644
__init__.cpython-38.pyc
0.207 KB
17 Oct 2023 6.30 PM
root / root
0644
auth.cpython-38.opt-1.pyc
6.624 KB
17 Oct 2023 6.30 PM
root / root
0644
auth.cpython-38.pyc
6.814 KB
17 Oct 2023 6.30 PM
root / root
0644
cache.cpython-38.opt-1.pyc
2.365 KB
17 Oct 2023 6.30 PM
root / root
0644
cache.cpython-38.pyc
2.431 KB
17 Oct 2023 6.30 PM
root / root
0644
session.cpython-38.opt-1.pyc
9.01 KB
17 Oct 2023 6.30 PM
root / root
0644
session.cpython-38.pyc
9.01 KB
17 Oct 2023 6.30 PM
root / root
0644
xmlrpc.cpython-38.opt-1.pyc
1.537 KB
17 Oct 2023 6.30 PM
root / root
0644
xmlrpc.cpython-38.pyc
1.537 KB
17 Oct 2023 6.30 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF