ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib/python3.8/site-packages/setuptools/__pycache__/glibc.cpython-38.opt-1.pyc
U

âQabJã@sHddlmZddlZddlZddlZdd„Zdd„Zdd„Zd	d
„ZdS)é)Úabsolute_importNcCsRt d¡}z
|j}Wntk
r*YdSXtj|_|ƒ}t|tƒsN| d¡}|S)z9Returns glibc version string, or None if not using glibc.NÚascii)	ÚctypesZCDLLÚgnu_get_libc_versionÚAttributeErrorZc_char_pZrestypeÚ
isinstanceÚstrÚdecode)Zprocess_namespacerÚversion_str©rú4/usr/lib/python3.8/site-packages/setuptools/glibc.pyÚglibc_version_string
s



r
cCsHt d|¡}|s$t d|t¡dSt| d¡ƒ|koFt| d¡ƒ|kS)Nz$(?P<major>[0-9]+)\.(?P<minor>[0-9]+)z=Expected glibc version with 2 components major.minor, got: %sFÚmajorÚminor)ÚreÚmatchÚwarningsÚwarnÚRuntimeWarningÚintÚgroup)r
Úrequired_majorÚ
minimum_minorÚmrrrÚcheck_glibc_version$sÿÿÿrcCstƒ}|dkrdSt|||ƒS)NF)r
r)rrr
rrrÚhave_compatible_glibc4srcCstƒ}|dkrdSd|fSdS)z“Try to determine the glibc version

    Returns a tuple of strings (lib, version) which default to empty strings
    in case the lookup fails.
    N)ÚrZglibc)r
)Z
glibc_versionrrrÚlibc_verLsr)	Z
__future__rrrrr
rrrrrrrÚ<module>s