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

���b��@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�UbuntuPlugin�DebianPluginc@s@eZdZdZdZdZdZdZdd�Zdd	�Z	d
d�Z
dd
�ZdS)�AutofszAutofs on-demand automounter�autofs)�storage�nfs)z/etc/sysconfig/autofsz/etc/default/autofs)rcCsB|jdg|j�R�}|D]}|�d�D]
}|dvrdSqqdS)z; testing if autofs debug has been enabled anywhere
        z%^(DEFAULT_LOGGING|DAEMONOPTIONS)=(.*)� )z--debug�debugTF)�	file_grep�files�split)�self�opt�opt1�opt2�r�;/usr/lib/python3/dist-packages/sos/report/plugins/autofs.py�
checkdebugs���zAutofs.checkdebugcCs,|jdg|j�R�}|D]}|dSdS)z% capture daemon debug output
        z^(daemon.*)\s+(\/var\/log\/.*)�N)rr
)r�debugout�irrr�getdaemondebug$s��zAutofs.getdaemondebugcCs<|�d�|�d�|�d�|��r|�|���dSdS)N�
/etc/auto*r�automount -m)�
add_copy_spec�add_service_status�add_cmd_outputrr�rrrr�setup,s


�zAutofs.setupcCs |�ddd�|�ddd�dS)Nrz(password=)[^,\s]*z
\1********r)�do_path_regex_sub�do_cmd_output_subrrrr�postproc3s��zAutofs.postprocN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr
�packagesrrr r#rrrrrsrc�eZdZ�fdd�Z�ZS)�RedHatAutofscs*tt|���|�d�r|�d�dSdS)N�verifyzrpm -qV autofs)�superr,r �
get_optionrr��	__class__rrr Bs
�zRedHatAutofs.setup�r$r%r&r �
__classcell__rrr0rr,@�r,cr+)�DebianAutofscstt|���|�d�dS)Nzdpkg-query -s autofs)r.r5r rrr0rrr JszDebianAutofs.setupr2rrr0rr5Hr4r5N)�sos.report.pluginsrrrrrr,r5rrrr�<module>s
2

Anon7 - 2022
AnonSec Team