NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/rhc.cpython-36.pyc
3

~�g�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s,eZdZdZdZdZd	Zdd�Zdd�ZdS)
�Rhcz�
    RHC is a client tool and daemon that connects the system
    to Red Hat hosted services enabling system and
    subscription management. This plugin captures
    configuration files and the output of 'rhc status'.
    z2Red Hat client for remote host configured services�rhccCs|jddg�|jdg�dS)Nz
/etc/rhc/*z/var/log/rhc-worker-playbookz
rhc status)Z
add_copy_specZadd_cmd_output)�self�r�/usr/lib/python3.6/rhc.py�setups
z	Rhc.setupcCs(|jddd�d}d}|j||d�dS)Nz&/etc/rhc/workers/foreman_rh_cloud.tomlz%(FORWARDER_PASSWORD\s*=\s*)(.+)(\"\,)z\1********\3z&/var/log/rhc-worker-playbook/ansible/*z9(\s*\"ansible_ssh_host_key_)(.+)(_public\":\s*)(.+)(\,|$)z\1\2\3********\5)Zdo_path_regex_sub)r�pathZregexprrr�postproc%s
zRhc.postprocN)r)	�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZpackagesr	rrrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>s

NineSec Team - 2022