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 :  /usr/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 : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/sos_extras.cpython-310.pyc
o

���b��@s6ddlmZmZddlZddlZGdd�dee�ZdS)�)�Plugin�IndependentPluginNc@s(eZdZdZ	dZdZefZdd�ZdS)�	SosExtrasz/Collect extra data defined in /etc/sos/extras.d�
sos_extrasz/etc/sos/extras.d/c
Cs�z$t�|j�}|jdks|jtj@s|jtj@r#|�d|j�WdSWnty6|�d|j�YdSwt�	|j�D]�\}}}|D]{}|�
||�}|�d|�z\t|����
�D]Q}t|���dksk|�d�rlq\|�d�r�|��}d}	t|�dkr�zt|d�}	Wnty�|�d||f�Ynw|j|ddd�|	d	�q\|j||d
�q\WqDty�|�d|�YqDwq=dS)Nrz@Skipping sos extras as %s has too wide permissions or ownership.z"can't stat %s, skipping sos extrasz#Collecting data from extras file %s�#�:�zFCan't decode integer sizelimit on line '%s' in file %s, using default.)�	sizelimit)�subdirzunable to read extras file %s)�os�stat�
extras_dir�st_uid�st_mode�S_IWGRP�S_IWOTH�	_log_warn�OSError�walk�	path_join�open�read�
splitlines�len�split�
startswith�int�
ValueError�
add_copy_spec�add_cmd_output�IOError)
�self�st�path�dirlist�filelist�f�_file�line�words�limit�r+�?/usr/lib/python3/dist-packages/sos/report/plugins/sos_extras.py�setup.sV
�����

������zSosExtras.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_namer
�filesr-r+r+r+r,rsr)�sos.report.pluginsrrrrrr+r+r+r,�<module>s

Anon7 - 2022
AnonSec Team