403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/insights.cpython-312.pyc
�

i��d	��,�ddlmZmZGd�dee�Zy)�)�Plugin�RedHatPluginc�0�eZdZdZdZdZdZdZdZd�Z	d�Z
y	)
�RedHatInsightsaPlugin to capture configuration and logging for the Red Hat Insights
    client. Insights is used to provide ongoing analysis of systems for
    proactive problem mitigation, with the client being one of the primary
    sources of data for the service.

    This plugin will capture configuration information under
    /etc/insighits-client, as well as logs from /var/log/insights-client. A
    single connection test via the `insights-client` command is performed and
    recorded as well for troubleshooting purposes.
    z)Red Hat Insights configuration and client�insights)zredhat-access-insightszinsights-client)�system�sysmgmt)z)/etc/insights-client/insights-client.confz /etc/insights-client/.registeredz/etc/insights-client/tags.yamlz1/etc/insights-client/malware-detection-config.ymlz7/etc/redhat-access-insights/redhat-access-insights.confc��|j|j�|jd�|jd�|jd�r|jd�n|jd�|jdd��y)	Nz/var/lib/insightsz%/var/log/redhat-access-insights/*.log�all_logsz/var/log/insights-client/*.log*z,/var/log/insights-client/insights-client.logz-insights-client --test-connection --net-debug�)�timeout)�
add_copy_spec�config�
get_option�add_cmd_output)�selfs �=/usr/lib/python3/dist-packages/sos/report/plugins/insights.py�setupzRedHatInsights.setup$sw�����4�;�;�'����.�/�	
���B�C��?�?�:�&����@�A����M�N����;��	�	
�c�r�|jD](}|j|dd�|j|dd��*y)Nz(password[\t\ ]*=[\t\ ]*)(.+)z
\1********z(proxy[\t\ ]*=.*)(:)(.*)(@.*)z\1\2********\4)r�do_file_sub)r�confs  r�postproczRedHatInsights.postproc5sD���K�K�	�D�����6�
�
�
����6�8I�
�	rN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�packages�profilesrrr�rrrrs.��	�=�J��K�<�H�$�H��F�
�"rrN)�sos.report.pluginsrrrr"rr�<module>r$s��4�1�V�\�1r

Youez - 2016 - github.com/yon3zu
LinuXploit