Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/apt.cpython-310.pyc
o

i��dz�@s,ddlmZmZmZGdd�deee�ZdS)�)�Plugin�UbuntuPlugin�DebianPlugincs0eZdZdZdZdZdd�Z�fdd�Z�ZS)�AptzAPT - advanced packaging tool�apt)�system�sysmgmt�packagemanagercCsr|�gd��|�d�|�d�|�gd��|�d�}|d��}d�dd	�|D��}|jd
�|�dd�dS)
N)z/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|vr|�d�d�qS)zok installed�	r)�split)�.0�v�r�8/usr/lib/python3/dist-packages/sos/report/plugins/apt.py�
<listcomp>*s"zApt.setup.<locals>.<listcomp>zapt-cache policy {}zapt-cache_policy_details)�suggest_filename)�
add_copy_spec�add_forbidden_path�add_cmd_output�exec_cmd�
splitlines�join�format)�self�dpkg_result�dpkg_output�pkg_listrrr�setups

��
�z	Apt.setupcs.tt|���|�ddd�|�ddd�dS)Nz/etc/apt/sources.listz(deb\shttp(s)?://)\S+:\S+(@.*)z\1******:******\3z/etc/apt/sources.list.d/)�superr�postproc�do_file_sub�do_path_regex_sub)r��	__class__rrr!0s��zApt.postproc)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesrr!�
__classcell__rrr$rrsrN)�sos.report.pluginsrrrrrrrr�<module>s


Spamworldpro Mini