Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/keyring/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/keyring/__pycache__/http.cpython-310.pyc
o

���a��@s2dZddlZddlmZmZmZGdd�d�ZdS)a�
urllib2.HTTPPasswordMgr object using the keyring, for use with the
urllib2.HTTPBasicAuthHandler.

usage:
    import urllib2
    handlers = [urllib2.HTTPBasicAuthHandler(PasswordMgr())]
    urllib2.install_opener(handlers)
    urllib2.urlopen(...)

This will prompt for a password if one is required and isn't already
in the keyring. Then, it adds it to the keyring for subsequent use.
�N�)�get_password�delete_password�set_passwordc@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�PasswordMgrcCst��S�N)�getpass�getuser)�self�realm�authuri�r
�./usr/lib/python3/dist-packages/keyring/http.py�get_usernameszPasswordMgr.get_usernamecCs|�||�}t|||�dSr)rr)r
rr�password�userr
r
r�add_passwordszPasswordMgr.add_passwordcCsF|�||�}t||�}|durdt�}t�|�}t|||�||fS)Nz1password for %(user)s@%(realm)s for %(authuri)s: )rr�varsrr)r
rrrr�promptr
r
r�find_user_passwords


zPasswordMgr.find_user_passwordcCs|�||�}t||�dSr)rr)r
rrrr
r
r�clear_password%szPasswordMgr.clear_passwordN)�__name__�
__module__�__qualname__rrrrr
r
r
rrs
	r)�__doc__r�rrrrr
r
r
r�<module>s

Spamworldpro Mini