HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/apt.cpython-36.pyc
3

3��dz�@s,ddlmZmZmZGdd�deee�ZdS)�)�Plugin�UbuntuPlugin�DebianPlugincs0eZdZdZdZd
Zdd�Z�fdd	�Z�ZS)�AptzAPT - advanced packaging toolZapt�system�sysmgmt�packagemanagercCsx|jdddg�|jd�|jd�|jdddd	g�|jd
�}|dj�}djd
d�|D��}|jdj|�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 policyz/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�format)�selfZdpkg_resultZdpkg_outputZpkg_listrrr�setups&

z	Apt.setupcs.tt|�j�|jddd�|jddd�dS)Nz/etc/apt/sources.listz(deb\shttp(s)?://)\S+:\S+(@.*)z\1******:******\3z/etc/apt/sources.list.d/)�superr�postprocZdo_file_subZdo_path_regex_sub)r)�	__class__rrr0szApt.postproc)rrr)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrr�
__classcell__rr)rrrs
rN)Zsos.report.pluginsrrrrrrrr�<module>s