403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
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 :


[ Back ]     

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

G%@i��@s6ddlZddlZddlmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPluginc@s(eZdZdZ	dZdZefZdd�ZdS)�	SosExtrasz/Collect extra data defined in /etc/sos/extras.d�
sos_extrasz/etc/sos/extras.d/cCs�z&t�|j�}|jdks|jtj@s|jtj@r%|�d|j�d��WdSWnty:|�d|j�d��YdSwt�	|j�D]�\}}}|D]�}|�
||�}|�d|���ztt|ddd	��c}|���
�D]T}t|���dksv|�d
�rwqg|�d�r�|��}	d}
t|	�dkr�zt|	d�}
Wnty�|�d
|�d|�d��Ynw|j|	ddd�|
d�qg|j||d�qgWd�n1s�wYWqHty�|�d|���YqHwqAdS)NrzSkipping sos extras as z' has too wide permissions or ownership.zcan't stat z, skipping sos extrasz!Collecting data from extras file �rzUTF-8)�encoding�#�:�zCan't decode size limit on linez in z, using default)�	sizelimit)�subdirzunable to read extras file )�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_res�path�_�filelist�file�_file�sfile�line�words�limit�r.�?/usr/lib/python3/dist-packages/sos/report/plugins/sos_extras.py�setup.s`
���
�����������zSosExtras.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_namer�filesr0r.r.r.r/rsr)r
r�sos.report.pluginsrrrr.r.r.r/�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit