AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

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

���b�@s,ddlmZmZmZGdd�deee�ZdS)�)�Plugin�UbuntuPlugin�DebianPluginc@s eZdZdZdZdZdd�ZdS)�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.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesrrrrrrs
rN)�sos.report.pluginsrrrrrrrr�<module>s


Anon7 - 2022
AnonSec Team