403Webshell
Server IP : 46.17.175.229  /  Your IP : 216.73.216.82
Web Server : LiteSpeed
System : Linux lt-bnk-web1163.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User : u528038015 ( 528038015)
PHP Version : 8.2.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python37/lib/python3.7/site-packages/packaging/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python37/lib/python3.7/site-packages/packaging/__pycache__/_musllinux.cpython-37.pyc
B

h�met
�	@s,dZddlZddlZddlZddlZddlmZmZmZm	Z	ddl
mZGdd�de�Ze
eed�d	d
�Ze��e
eed�dd
��Ze	e
ee
d�dd�Zedk�r(ddlZe��Ze�d�s�td��ede�edeej��eddd�x4ee�dde�dd�d��D]Zeedd��qWdS)z�PEP 656 support.

This module implements logic to detect if the currently running Python is
linked against musl, and what musl version is used.
�N)�Iterator�
NamedTuple�Optional�Sequence�)�ELFFilec@seZdZUeed<eed<dS)�_MuslVersion�major�minorN)�__name__�
__module__�__qualname__�int�__annotations__�rr�E/opt/alt/python37/lib/python3.7/site-packages/packaging/_musllinux.pyrs
r)�output�returncCsxdd�dd�|��D�D�}t|�dks<|ddd�dkr@dSt�d	|d
�}|sXdStt|�d
��t|�d��d�S)NcSsg|]}|r|�qSrr)�.0�nrrr�
<listcomp>sz'_parse_musl_version.<locals>.<listcomp>css|]}|��VqdS)N)�strip)rrrrr�	<genexpr>sz&_parse_musl_version.<locals>.<genexpr>�r��muslzVersion (\d+)\.(\d+)r)r	r
)�
splitlines�len�re�matchrr�group)r�lines�mrrr�_parse_musl_versions r#)�
executablerc
Csry$t|d��}t|�j}WdQRXWntttfk
r>dSX|dksPd|krTdStj|gtjdd�}t	|j
�S)a`Detect currently-running musl runtime version.

    This is done by checking the specified executable's dynamic linking
    information, and invoking the loader to parse its output for a version
    string. If the loader is musl, the output would be something like::

        musl libc (x86_64)
        Version 1.2.2
        Dynamic Program Loader
    �rbNrT)�stderr�text)�openr�interpreter�OSError�	TypeError�
ValueError�
subprocess�run�PIPEr#r&)r$�f�ld�procrrr�_get_musl_versionsr3)�archsrccsZttj�}|dkrdSx>|D]6}x0t|jdd�D]}d|j�d|�d|��Vq0WqWdS)a�Generate musllinux tags compatible to the current platform.

    :param archs: Sequence of compatible architectures.
        The first one shall be the closest to the actual architecture and be the part of
        platform tag after the ``linux_`` prefix, e.g. ``x86_64``.
        The ``linux_`` prefix is assumed as a prerequisite for the current platform to
        be musllinux-compatible.

    :returns: An iterator of compatible musllinux tags.
    N����
musllinux_�_)r3�sysr$�ranger
r	)r4�sys_musl�archr
rrr�
platform_tags6s

r<�__main__zlinux-z	not linuxzplat:zmusl:ztags:� )�endz[.-]r7�-r5z
      )�__doc__�	functoolsrr-r8�typingrrrrZ_elffilerr�strr#�	lru_cacher3r<r�	sysconfig�get_platform�plat�
startswith�AssertionError�printr$�sub�split�trrrr�<module>s(


$

Youez - 2016 - github.com/yon3zu
LinuXploit