✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/lib/python3.9/site-packages/dnf/yum/__pycache__//misc.cpython-39.opt-1.pyc
a

�!c�+�@sJdZddlmZmZddlmZddlmZmZmZddl	Tddl
ZddlZ
ddlZ
ddlZ
ddlZ
ddlZddlZddlZddlZddlZddlZddlZddlZddlZdgZdadd	�Zdad
d�Zdd
�ZGdd�de �Z!dd�Z"dd�Z#d(dd�Z$dd�Z%dd�Z&dd�Z'd)dd�Z(d d!�Z)da*d"d#�Z+d*d$d%�Z,d+d&d'�Z-dS),z%
Assorted utility functions for yum.
�)�print_function�absolute_import)�unicode_literals)�base64_decodebytes�
basestring�unicode)�*NZsha256cCstdurt�d�jat|�S)z( Tests if a string is a shell wildcard. Nz[*?]|\[.+\])�_re_compiled_glob_match�re�compile�search)�s�r�0/usr/lib/python3.9/site-packages/dnf/yum/misc.py�re_glob.srcCsDtdur(t�d�j}t�d�j}||fatD]}||�r,dSq,dS)zC Tests if a string needs a full nevra match, instead of just name. Nz.*([-.*?]|\[.+\]).z[0-9]+:TF)�_re_compiled_full_matchr
r�match)r
ZoneZtwoZrecrrr�re_full_search_needed6srcCstdS)Nr)�_default_checksumsrrrr�get_default_chksum_typeDsrc@s:eZdZdZd
dd�Zdd�Zdd�Zd	d
�Zdd�ZdS)�
GenericHolderz�Generic Holder class used to hold other objects of known types
       It exists purely to be able to do object.somestuff, object.someotherstuff
       or object[key] and pass object to another function that will
       understand itNcCs
||_dS�N)�_GenericHolder__iter)�self�iterrrr�__init__MszGenericHolder.__init__cCs|jdurt||j�SdSr)rr�rrrr�__iter__Ps
zGenericHolder.__iter__cCs t||�rt||�St|��dSr)�hasattr�getattr�KeyError)r�itemrrr�__getitem__Ts

zGenericHolder.__getitem__cCsdd�t|���D�S)z!Return a dictionary of all lists.cSs"i|]\}}t|�tur||�qSr)�type�list)�.0�keyZlist_rrr�
<dictcomp>\s�z+GenericHolder.all_lists.<locals>.<dictcomp>)�vars�itemsrrrr�	all_listsZszGenericHolder.all_listscCs0|����D]\}}t|��|g��|�q|S)z7 Concatenate the list attributes from 'other' to ours. )r*r)r(�
setdefault�extend)r�otherr&�valrrr�merge_lists_szGenericHolder.merge_lists)N)	�__name__�
__module__�__qualname__�__doc__rrr"r*r/rrrrrGs
rcCs�t�dd|�}t��}d}d}|�d�D]d}|�d�r<d}q(|rR|��dkrRd}q(|rf|�d�rfq�q(|rz|�d�rzq�q(|r(|�|d�q(t|�	��S)	z,Convert ASCII-armored GPG key to binary
    s
?�
rs$-----BEGIN PGP PUBLIC KEY BLOCK-----��s"-----END PGP PUBLIC KEY BLOCK-----�=)
r
�sub�io�BytesIO�split�
startswith�strip�writer�getvalue)�rawkey�blockZinblockZpastheaders�linerrr�
procgpgkeyes 
rCcCsR|�dd�D]@}|d|krt|dd�}||kr8dS||krFdSdSqd	S)
ab
    Return if the GPG key described by the given keyid and timestamp are
    installed in the rpmdb.

    The keyid and timestamp should both be passed as integers.
    The ts is an rpm transaction set object

    Return values:
        - -1      key is not installed
        - 0       key with matching ID and timestamp is installed
        - 1       key with matching ID is installed but has an older timestamp
        - 2       key with matching ID is installed but has a newer timestamp

    No effort is made to handle duplicates. The first matching keyid is used to
    calculate the return result.
    �namez
gpg-pubkey�version�release�rr5����)ZdbMatch�int)�ts�keyidZ	timestampZhdrZinstalledtsrrr�keyInstalled�srMTc
Cs�tj�|�st�|�tj�|���Htj����}ttj�	|d�d��}|�
d�Wd�n1sh0Y|�|�|�r0|d}tj�|��s0tj|dd�t�|d�D]4}tj�
|�}|d|}	t�||	�t�|	d�q�d	}
ttj�	|d�d
d��}|�
|
�Wd�n1�s&0YWd�Wd�dS1�sT0YWd�n1�st0YdS)Nzgpg.conf�wbr6z-roi�)�modez/*�/z�lock-never
    no-auto-check-trustdb
    trust-model direct
    no-expensive-trust-checks
    no-permission-warning
    preserve-permissions
    �wT)�os�path�exists�makedirs�dnfZcryptoZpubring_dirZContext�open�joinr>Z	op_import�glob�basename�shutil�copy�chmod)r@rLZgpgdirZmake_ro_copy�ctx�fpZrodir�frZZro_fZoptsrrr�import_key_to_pubring�s&
(
*rac	Cs�t��}z.t�|�}tj�|d�}dtjj|f}Wn"t	yXdtjj|f}Yn0dtjj
|f}tt�|��}|D]>}t�
|�}t|d�r|t|d�dkr||d|kr||Sq|tj|tjj
d�}|S)zqreturn a path to a valid and safe cachedir - only used when not running
       as root or when --tempcache is setrz%s-%s-z%s/%s*i��)�prefix�dir)rR�geteuid�pwd�getpwuidrVZi18nZucd�constZPREFIXr ZTMPDIR�sortedrY�lstat�S_ISDIR�S_IMODE�tempfileZmkdtemp)	�uidZusertup�usernamerc�dirpathZ	cachedirsZthisdirZstatsZcachedirrrr�getCacheDir�s

(
rqcCsbg}t|�}t|�}d}||krL||}|�|||��||7}||8}q|�||d��|S)zE Given a seq, split into a list of lists of length max_entries each. rN)�lenr$�append)�seqZmax_entries�retZnumZbeg�endrrr�
seq_max_split�s
rwc
CsFzt�|�Wn2ty@}z|jtjkr,�WYd}~n
d}~00dS)z| Call os.unlink, but don't die if the file isn't there. This is the main
        difference between "rm -f" and plain "rm". N)rR�unlink�OSError�errno�ENOENT)�filename�errr�unlink_f�s
r~Fc
Csvzt�|�WStyp}zL|jtjtjfvr<WYd}~dS|rZ|jtjkrZWYd}~dS�WYd}~n
d}~00dS)zF Call os.stat(), but don't die if the file isn't there. Returns None. N)rR�statryrzr{�ENOTDIRZEACCES)r|Z
ignore_EACCESr}rrr�stat_f�sr�c	Csbz>td��"}|��}t|�Wd�WS1s20YWnttfy\t��YS0dS)z� Get the audit-uid/login-uid, if available. os.getuid() is returned
        instead if there was a problem. Note that no caching is done here. z/proc/self/loginuidN)rW�readrJ�IOError�
ValueErrorrR�getuid)�fo�datarrr�_getloginuid�s
,r�cCstdurt�atS)z� Get the audit-uid/login-uid, if available. os.getuid() is returned
        instead if there was a problem. The value is cached, so you don't
        have to save it. N)�_cached_getloginuidr�rrrr�getloginuidsr�c	
Cs�|r
|}nJd}|�d�}|dkr@||d�}|dvr@|d|�}|durTtj�d��|r�t|�}t|�}|r�|r�|j|jkr�|Sztj�||d�Wn4t	y�}ztj�t
|���WYd}~n
d}~00|r�|r�t�||j|jf�|S)z�take a filename and decompress it into the same relative location.
       When the compression type is not recognized (or file is not compressed),
       the content of the file is copied to the destinationN�.r)z.zckz.xzz.bz2z.gzz.lzmaz.zstz(Could not determine destination filenamei�)
�rfindrV�
exceptionsZ	MiscErrorr��st_mtime�libdnfZutils�
decompress�RuntimeError�strrR�utime)	r|�destZcheck_timestamps�outZdot_pos�ext�fir�r}rrrr�s,
&r�c	Cs�g}t�|�D]�}t|��t}|D]^}t�d|�r2q |��}|��}|sHq |rt|�dd�}|�dd�}|�|���q |�	|�q Wd�q1s�0Yq|S)a( Takes a glob of a dir (like /etc/foo.d/\*.foo) returns a list of all
       the lines in all the files matching that glob, ignores comments and blank
       lines, optional paramater 'line_as_list tells whether to treat each line
       as a space or comma-separated list, defaults to True.
    z\s*(#|$)�
� �,N)
rYrWr
r�rstrip�lstrip�replacer,r;rs)ZthisglobZline_as_list�results�fnamer`rBrrr�read_in_items_from_dot_dir9s"
,r�)NT)F)NF)T).r3Z
__future__rrrZ
dnf.pycomprrrrZlibdnf.utilsr�Z	dnf.constrVZ
dnf.cryptoZdnf.exceptionsZdnf.i18nrzrYr9rRZos.pathrfr
r[rmrr	rrrr�objectrrCrMrarqrwr~r�r�r�r�r�r�rrrr�<module>sJ
#	


$

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
27 May 2026 4.58 AM
root / root
0755
__init__.cpython-39.opt-1.pyc
0.14 KB
20 May 2026 7.48 PM
root / root
0644
__init__.cpython-39.pyc
0.14 KB
20 May 2026 7.48 PM
root / root
0644
misc.cpython-39.opt-1.pyc
9.312 KB
20 May 2026 7.48 PM
root / root
0644
misc.cpython-39.pyc
9.312 KB
20 May 2026 7.48 PM
root / root
0644
rpmtrans.cpython-39.opt-1.pyc
13.649 KB
20 May 2026 7.48 PM
root / root
0644
rpmtrans.cpython-39.pyc
13.649 KB
20 May 2026 7.48 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF