403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/keyring/backends/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/keyring/backends/__pycache__/libsecret.cpython-311.pyc
�

%�c����ddlZddlmZddlmZddlmZddlmZddlm	Z	m
Z
mZmZdZ
	ddlZdd	lmZdd
lmZejdd��dd
lmZdZ
n#eeef$rYnwxYweje��ZGd�deje��ZdS)�N�)�backend)�
properties)�KeyringBackend)�SimpleCredential)�PasswordDeleteError�PasswordSetError�ExceptionRaisedContext�
KeyringLockedF)�Gio)�GLib�Secret�1)rTc��eZdZdZdZed���Zejd���Z	ej
d���Zd�Zd�Z
d�Zd	�Zd
S)�Keyringzlibsecret KeyringzPython keyring libraryc	���tj�dtjj|�tjjtjjtjj�����S)Nzorg.freedesktop.Secret.Generic��application)r�Schema�new�SchemaFlags�NONE�_query�SchemaAttributeType�STRING��selfs �</usr/lib/python3/dist-packages/keyring/backends/libsecret.py�schemazKeyring.schema#sY���}� � �,���#��K�K��*�1��*�1�"�6�=�
�
�
�
�
�	
�c��tjS)N)r�COLLECTION_DEFAULTrs r�
collectionzKeyring.collection/s���(�(r c��t��5}tjddd��n#1swxYwY|rtd���dS)Nzlibsecret requiredg333333@)r
r�__name__�RuntimeError)�cls�excs  r�priorityzKeyring.priority3s���
#�
%�
%�	���O�O�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	��	5��3�4�4�4��ss�
(�,�,c�x�|�|||j���}	tj|j|tjjd��}na#tj$rO}tj	d��}|�
|tjj
��rtd��|��d}~wwxYw|D]�}	|������cS#tj$rO}tj	d��}|�
|tjj��rtd��|��d}~wwxYwdS)z,Get password of the username for the servicerN�g-io-error-quark�Failed to unlock the item!�secret-error)r�appidr�password_search_syncr�SearchFlags�UNLOCKr
�Error�quark_try_string�matchesr�IOErrorEnum�FAILEDr�retrieve_secret_sync�get_text�	IS_LOCKED)r�service�username�
attributes�items�error�quark�items        r�get_passwordzKeyring.get_password;sN���[�[��(��
�[�K�K�
�	��/���Z��);�)B�D���E�E���z�	�	�	��)�*<�=�=�E��}�}�U�C�O�$:�;�;�
M�#�$@�A�A�u�L������		����
�	�	�D�
��0�0�2�2�;�;�=�=�=�=�=���:�
�
�
��-�n�=�=���=�=����(>�?�?�Q�'�(D�E�E�5�P������	
����	�	s1�+A�B)�A
B$�$B)�1%C�D7�(A
D2�2D7c�,�|�|||j���}d�||��}	tj|j||j||d��}n�#tj$r�}tj	d��}|�
|tjj��rtd��|�tj	d��}|�
|tjj��rtd��|��d}~wwxYw|st!d���dS)z,Set password for the username of the servicerzPassword for '{}' on '{}'Nr-z Failed to unlock the collection!r+zFailed to store password!)rr.�formatr�password_store_syncrr#r
r2r3r4r9rrr5r6r	)	rr:r;�passwordr<�label�storedr>r?s	         r�set_passwordzKeyring.set_passwordPs!���[�[��(��
�[�K�K�
�+�2�2�8�W�E�E��	��/���Z���%��4���F�F���z�	�	�	��)�.�9�9�E��}�}�U�F�L�$:�;�;�
S�#�$F�G�G�U�R��)�*<�=�=�E��}�}�U�C�O�$:�;�;�
S�#�$F�G�G�U�R������	�����	@�"�#>�?�?�?�	@�	@s�#A�D�(BC;�;Dc��|�|||j���}	tj|j|tjjd��}na#tj$rO}tj	d��}|�
|tjj
��rtd��|��d}~wwxYw|D]�}	tj|j|���d��}na#tj$rO}tj	d��}|�
|tjj��rtd��|��d}~wwxYw|cSt%d���)z/Delete the stored password (only the first one)rNr+r,r-zNo such password!)rr.rr/rr0r1r
r2r3r4rr5r6r�password_clear_sync�get_attributesr9r)	rr:r;r<r=r>r?r@�removeds	         r�delete_passwordzKeyring.delete_passwordcse���[�[��(��
�[�K�K�
�	��/���Z��);�)B�D���E�E���z�	�	�	��)�*<�=�=�E��}�}�U�C�O�$:�;�;�
M�#�$@�A�A�u�L������		����
�
	�
	�D�
� �4��K��!4�!4�!6�!6��������:�
�
�
��-�n�=�=���=�=����(>�?�?�Q�'�(D�E�E�5�P������	
����
�N�N�N�!�"5�6�6�6s1�+A�B)�A
B$�$B)�1-C�D=�.A
D8�8D=c���|�||��}	tj|j|tjjd��}na#tj$rO}t
jd��}|�	|tjj��rtd��|��d}~wwxYw|D]�}|����d��}	t!||��������cS#tj$rO}t
jd��}|�	|tjj��rtd��|��d}~wwxYwdS)aWGet the first username and password for a service.
        Return a Credential instance

        The username can be omitted, but if there is one, it will use get_password
        and return a SimpleCredential containing  the username and password
        Otherwise, it will return the first username and password combo that it finds.
        Nr+r,r;r-)rrr/rr0r1r
r2r3r4rr5r6rrK�getrr7r8r9)rr:r;�queryr=r>r?r@s        r�get_credentialzKeyring.get_credential|s������G�X�.�.��	��/���U�F�$6�$=�t���E�E���z�	�	�	��)�*<�=�=�E��}�}�U�C�O�$:�;�;�
M�#�$@�A�A�u�L������		����
�
	�
	�D��*�*�,�,�0�0��<�<�H�
�'��d�7�7�9�9�B�B�D�D��������:�
�
�
��-�n�=�=���=�=����(>�?�?�Q�'�(D�E�E�5�P������	
����
	�
	s1�+A�B"�A
B�B"�3D�E%�A
E � E%N)r%�
__module__�__qualname__�__doc__r.�propertyrr�NonDataPropertyr#�
classpropertyr)rArHrMrQ�r rrrs���������$�E�
�	
�	
��X�	
���)�)� ��)�����������*@�@�@�&7�7�7�2����r r)�logging�r�_compatrr�credentialsr�errorsrr	r
r�	available�gi�
gi.repositoryrr
�require_versionr�AttributeError�ImportError�
ValueError�	getLoggerr%�log�SchemeSelectablerrXr r�<module>rhsw������������ � � � � � �$�$�$�$�$�$�*�*�*�*�*�*�������������
�	�
	�
�I�I�I�!�!�!�!�!�!�"�"�"�"�"�"��B��x��%�%�%�$�$�$�$�$�$��I�I����Z�0�	�	�	��D�	�����g���!�!��z�z�z�z�z�g�&��z�z�z�z�zs�)A�A!� A!

Youez - 2016 - github.com/yon3zu
LinuXploit