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

���b	�@sZddlmZmZmZmZddlZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginNc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�CorosynczCorosync cluster engine�corosync)�cluster)rc
Cs�|�gd��|�gd��|�d�d}|�|�sdSd}z4t|�d�d��!}|D]}t�||�r>|�t�||��	d��q*Wd�WdS1sKwYWdSt
yn}z|�d||f�WYd}~dSd}~ww)	N)z
/etc/corosyncz/var/lib/corosync/fdataz/var/log/cluster/corosync.log*)zcorosync-quorumtool -lzcorosync-quorumtool -szcorosync-cpgtoolzcorosync-cfgtool -szcorosync-blackboxzcorosync-objctl -azcorosync-cmapctlzcorosync-cmapctl -m statszkillall -USR2 corosyncz/etc/corosync/corosync.confz ^\s*(logging.)?logfile:\s*(\S+)$�r�zcould not read from %s: %s)�
add_copy_spec�add_cmd_output�exec_cmd�path_exists�open�	path_join�re�match�search�group�IOError�	_log_warn)�self�
corosync_conf�pattern�f�line�e�r�=/usr/lib/python3/dist-packages/sos/report/plugins/corosync.py�setups&


��&� ��zCorosync.setupcCs|�ddd�dS)Nzcorosync-objctlz(.*fence.*\.passwd=)(.*)z\1******)�do_cmd_output_sub�rrrr�postproc9s
�zCorosync.postprocN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrr"rrrrr
s$rcseZdZ�fdd�Z�ZS)�RedHatCorosyncc�tt|���dS�N)�superr*rr!��	__class__rrrC�zRedHatCorosync.setup)r#r$r%r�
__classcell__rrr.rr*Asr*cs eZdZ�fdd�ZdZ�ZS)�DebianCorosynccr+r,)r-r2rr!r.rrrIr0zDebianCorosync.setup)z/usr/sbin/corosync)r#r$r%r�filesr1rrr.rr2Gsr2)	�sos.report.pluginsrrrrrrr*r2rrrr�<module>s
4

Anon7 - 2022
AnonSec Team