HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/apt.cpython-36.pyc
3

\��h
�@s,ddlmZmZmZGdd�deee�ZdS)�)�Plugin�UbuntuPlugin�DebianPlugincs0eZdZdZdZd
Zdd�Z�fdd	�Z�ZS)�AptzAPT - advanced packaging toolZapt�system�sysmgmt�packagemanagercCsz|jdddg�|jd�|jd�|jdddd	d
g�|jd�}|dj�}d
jdd�|D��}|jd|��dd�dS)Nz/etc/aptz/var/log/aptz/var/log/unattended-upgradesz/etc/apt/auth.confz/etc/apt/auth.conf.d/z
apt-get checkzapt-config dumpzapt-cache statszapt-cache policyzapt-mark showholdz/dpkg-query -W -f='${binary:Package}	${status}
'�output� cSs"g|]}d|kr|jd�d�qS)zok installed�	r)�split)�.0�v�r�/usr/lib/python3.6/apt.py�
<listcomp>+szApt.setup.<locals>.<listcomp>zapt-cache policy zapt-cache_policy_details)Zsuggest_filename)Z
add_copy_specZadd_forbidden_pathZadd_cmd_outputZexec_cmd�
splitlines�join)�selfZdpkg_resultZdpkg_outputZpkg_listrrr�setups(

z	Apt.setupcs t�j�|jddddg�dS)Nz/etc/apt/sources.listz/etc/apt/sources.list.d/z/etc/apt/apt.confz/etc/apt/apt.conf.d/)�super�postprocZdo_paths_http_sub)r)�	__class__rrr1s
zApt.postproc)rrr)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrr�
__classcell__rr)rrrs
rN)Zsos.report.pluginsrrrrrrrr�<module>s