Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
sos /
__pycache__ /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.cpython-310.pyc
5.13
KB
-rw-r--r--
2026-05-02 01:34
archive.cpython-310.pyc
23
KB
-rw-r--r--
2026-05-02 01:34
component.cpython-310.pyc
15.75
KB
-rw-r--r--
2026-05-02 01:34
missing.cpython-310.pyc
2.69
KB
-rw-r--r--
2026-05-02 01:34
options.cpython-310.pyc
11.24
KB
-rw-r--r--
2026-05-02 01:34
utilities.cpython-310.pyc
22.75
KB
-rw-r--r--
2026-05-02 01:34
Save
Rename
o G%@i�R � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dlm Z d dl m Z d dlmZ d dlm Z d dlmZ d dlmZ d d lmZ d d lmZ d dlmZmZ G dd � d �ZG dd� d�ZdS )� N)�fill)�SUPPRESS)�datetime)�getpass)�rmtree)�Path)�__version__)�TarFileArchive)� SoSOptions)�TempFileUtil� shell_outc @ s� e Zd ZdZdZi ZdZdZdZdZ dddddddddd dd d�Z g d�Zd d� Zdd� Z dd� Zdd� Zd5dd�Zdd� Zdd� Zedd� �Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd6d'd(�Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Z dS )7�SoSComponenta� Any sub-command that sos supports needs to subclass SoSComponent in order to be properly supported by the sos binary. This class contains the standardized entrypoint for subcommands, as well as building out supported options from both globally shared option lists, and options supported by that specific subcommand. When sos initializes, it will load an unintialized instance of each class found within one recursion of the module root directory that subclasses SoSComponent. If sos is able to match the user-specified subcommand to one that exists locally, then that SoSComponent is initialized, logging is setup, and a policy is loaded. From there, the component's execute() method takes over. Added in 4.0 �unsetTF�autoz/etc/sos/sos.confN� � r )�batch�compression_type�config_file�debug�encrypt�encrypt_key�encrypt_pass�quiet�threads�tmp_dir�sysroot� verbosity)zsos_logs/sos.logzsos_reports/manifest.jsonzsos_commands/process/ps_*zsos_commands/selinux/ps_*z+sos_commands/systemd/systemctl_status_--allc C s� || _ || _|| _d| _d | _d | _d | _d | _zdd l}|�|j | � � � W n tyC } ztj �d|� d�� W Y d }~nd }~ww t| jd�| _| jrR| �� | j�| j� | �� | _| jr�| �� }t� | _tj�|�rvt�|tj�s�d|� d�}|d7 }tj�|� | � d � || _!t"j#d | j!d�| _t$| j�| _| �%� | jd ur�| j�&dt'� | j�&d d�(| j�� | j�&dt)�*� � | j�&dd� | j�&dd� | j�&dd� | j�&d| j� | j�&d| j+� | j�&d| j,j-� | j�.d� d S d S )NFr z'Notice: Could not set SIGTERM handler: � ��arg_defaultsztemporary directory � z"does not exist or is not writable � zsos.)�prefix�dir�version�cmdline� start_time�end_timer �run_time�compression�tmpdir�tmpdir_fs_type�policy� components)/�parser�argsr&