404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.143.235.140: ~ $
3

e�$g��@s|ddlZddlZddlmZddlmZddlZejddd�Ze	ed�sPeje_
ej
Zdd	�Zd
d�Z
ddd
�Zdd�ZdS)�N)�sstr)�transactionzrhn-client-toolsT)Zfallback�ugettextcKsVtj�}|j�}x$|j�D]}|j|tj||�qWg}x|D]}|j|�q@W|S)z@ just cause this is such a potentially useful looking method... )r�initReadOnlyTransaction�dbMatch�keys�pattern�rpmZRPMMIRE_GLOB�append)�kwargs�_tsZmi�keywordZ
headerList�h�r�/usr/lib/python3.6/rpmUtils.py�installedHeaderByKeywords
rcCs~i}g}g}�xf|D�]\}|d|d|d|dd�}x.|j�D]"}||dks^||dkrB||=qBWtf|�}t|�dkr�|j|�x�|D]�}|d}	|	dkr�d}	|d	}
|
dkr�d}
|d
|d|d|	|
f}|d	dkr�d
|d|d|df}n d|d|d|d|df}d|}
tj|
�}|j�}|j�g}x|D]}|j|j���qHW|j||g�q�WqW||fS)zf given a list of package labels, run rpm -V on them
        and return a dict keyed off that data
    r���)�name�version�release�archN��epochrrrrz%s-%s-%sz%s-%s-%s.%sz/usr/bin/rpmverify -V %s)	rr�lenr
�os�popen�	readlines�close�strip)Zpackages�dataZmissing_packagesZretlist�package�keywords�keyZheaders�headerrrZpkgZpackageLabelZverifystring�fd�resZreslist�linerrr�verifyPackages*sH



 

r)c
Cs~g}|dkr|td��tj�}d}d}x"|j�D]}|dkr@P|d}q2W|}d}�x|j�D�]}|dkrpPt|d�|dt|d�t|d�|d	d
�}	|	ddkr�d|	d<nd|	d|	d<|r�|d
|	d
<|	d
r�t|	d
�|	d
<|j|	�nP|�r@|d
�rt|d
�|	d
<|d�r4t|d�|	d<|j|	�n
|j|	�|dk�r^|||�|d}q`W|jdd�d�|S)z| Return list of packages. Package is hash with keys name, epoch,
        version, release and optionaly arch and cookie
    Nz0Getting list of packages installed on the systemrrrrrr�installtime)rrrrr*rz%srZcookiecSs|d|d|d|dfS)Nrrrrr)�xrrr�<lambda>�sz)getInstalledPackageList.<locals>.<lambda>)r$)�_rrrrr
�sort)
ZmsgCallbackZprogressCallbackZgetArchZgetInfoZpkg_listr�countZtotalrr"rrr�getInstalledPackageListlsP








r0cCs2ytjtj�Wntk
r,td�YnXdS)zSet rpm's verbosity mode
    z4extra verbosity not supported in this version of rpmN)r	ZsetVerbosityZRPMLOG_DEBUG�AttributeError�printrrrr�setDebugVerbosity�sr3)NNNN)rr	Zrhn.i18nrZup2date_clientr�gettextZtranslation�t�hasattrrr-rr)r0r3rrrr�<module>s

B
9

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 113 B 0644
__init__.cpython-36.pyc File 113 B 0644
capabilities.cpython-36.opt-1.pyc File 5.28 KB 0644
capabilities.cpython-36.pyc File 5.34 KB 0644
cldetect.cpython-36.opt-1.pyc File 2.31 KB 0644
cldetect.cpython-36.pyc File 2.31 KB 0644
clientCaps.cpython-36.opt-1.pyc File 1.98 KB 0644
clientCaps.cpython-36.pyc File 1.98 KB 0644
clpwd.cpython-36.opt-1.pyc File 3.9 KB 0644
clpwd.cpython-36.pyc File 3.9 KB 0644
config.cpython-36.opt-1.pyc File 10.38 KB 0644
config.cpython-36.pyc File 10.38 KB 0644
debUtils.cpython-36.opt-1.pyc File 2.03 KB 0644
debUtils.cpython-36.pyc File 2.03 KB 0644
getMethod.cpython-36.opt-1.pyc File 2.25 KB 0644
getMethod.cpython-36.pyc File 2.25 KB 0644
haltree.cpython-36.opt-1.pyc File 3.07 KB 0644
haltree.cpython-36.pyc File 3.07 KB 0644
hardware.cpython-36.opt-1.pyc File 18.42 KB 0644
hardware.cpython-36.pyc File 18.42 KB 0644
hardware_gudev.cpython-36.opt-1.pyc File 7.69 KB 0644
hardware_gudev.cpython-36.pyc File 7.69 KB 0644
hardware_hal.cpython-36.opt-1.pyc File 6.73 KB 0644
hardware_hal.cpython-36.pyc File 6.73 KB 0644
hardware_udev.cpython-36.opt-1.pyc File 7.67 KB 0644
hardware_udev.cpython-36.pyc File 7.67 KB 0644
pkgUtils.cpython-36.opt-1.pyc File 269 B 0644
pkgUtils.cpython-36.pyc File 269 B 0644
pkgplatform.cpython-36.opt-1.pyc File 288 B 0644
pkgplatform.cpython-36.pyc File 288 B 0644
pmPlugin.cpython-36.opt-1.pyc File 2.45 KB 0644
pmPlugin.cpython-36.pyc File 2.45 KB 0644
rhnChannel.cpython-36.opt-1.pyc File 4.39 KB 0644
rhnChannel.cpython-36.pyc File 4.39 KB 0644
rhnHardware.cpython-36.opt-1.pyc File 468 B 0644
rhnHardware.cpython-36.pyc File 468 B 0644
rhnPackageInfo.cpython-36.opt-1.pyc File 1.9 KB 0644
rhnPackageInfo.cpython-36.pyc File 1.9 KB 0644
rhncli.cpython-36.opt-1.pyc File 7.17 KB 0644
rhncli.cpython-36.pyc File 7.17 KB 0644
rhnreg.cpython-36.opt-1.pyc File 27 KB 0644
rhnreg.cpython-36.pyc File 27.25 KB 0644
rhnreg_constants.cpython-36.opt-1.pyc File 13.69 KB 0644
rhnreg_constants.cpython-36.pyc File 13.69 KB 0644
rhnserver.cpython-36.opt-1.pyc File 4.6 KB 0644
rhnserver.cpython-36.pyc File 4.6 KB 0644
rpcServer.cpython-36.opt-1.pyc File 7.27 KB 0644
rpcServer.cpython-36.pyc File 7.27 KB 0644
rpmUtils.cpython-36.opt-1.pyc File 3.11 KB 0644
rpmUtils.cpython-36.pyc File 3.11 KB 0644
transaction.cpython-36.opt-1.pyc File 2.59 KB 0644
transaction.cpython-36.pyc File 2.59 KB 0644
tui.cpython-36.opt-1.pyc File 31.25 KB 0644
tui.cpython-36.pyc File 31.25 KB 0644
up2dateAuth.cpython-36.opt-1.pyc File 7.07 KB 0644
up2dateAuth.cpython-36.pyc File 7.07 KB 0644
up2dateErrors.cpython-36.opt-1.pyc File 13.32 KB 0644
up2dateErrors.cpython-36.pyc File 13.32 KB 0644
up2dateLog.cpython-36.opt-1.pyc File 2.48 KB 0644
up2dateLog.cpython-36.pyc File 2.48 KB 0644
up2dateUtils.cpython-36.opt-1.pyc File 4.06 KB 0644
up2dateUtils.cpython-36.pyc File 4.06 KB 0644