403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.120
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

G%@i
��,�ddlmZmZGd�dee�Zy)�)�Plugin�IndependentPluginc�(�eZdZdZdZdZdZd�Zd�Zy)�Grafanaz0Fetch Grafana configuration, logs and CLI output�grafana)�services�	openstack�openstack_controller)rc��|jrd}d}d}|jdd��nd}d}d	}|j|�d
�|�d�|�d�d
g|j��|jd�rdnd}|j||z|dg�y)Nzgrafana.grafana-cliz"/var/snap/grafana/common/data/log/�*/var/snap/grafana/current/conf/grafana.inizsnap info grafanaT)�snap_cmdzgrafana-cliz/var/log/grafana/z
/etc/grafana/z plugins lsz plugins list-remotez -vzgrafana-server -v�all_logsz*.log*z*.logz/etc/sysconfig/grafana-server)�is_snap�add_cmd_output�
get_option�
add_copy_spec)�self�grafana_cli�log_path�config_path�log_file_patterns     �</usr/lib/python3/dist-packages/sos/report/plugins/grafana.py�setupz
Grafana.setups����<�<�/�K�;�H�F�K���� 3�d��C�'�K�*�H�)�K�����m�;�'��m�/�0��m�3���	
�
�L�L�	�	"�(,���z�'B�8�������'�'��+�
�	�c�|�gd�}|jrdnd}ddj|��d�}|j||d�y)N)�admin_password�
secret_key�password�
client_secretrz/etc/grafana/grafana.iniz(^\s*(�|z
)\s*=\s*)(.*)z\1*********)r�join�do_path_regex_sub)r�protect_keys�inifile�regexps    r�postproczGrafana.postproc1sK��
���|�|�
9�+�	��3�8�8�L�1�2�-�@�����w���?rN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrr&�rrrrs!��C�J��K�@�H��H��6@rrN)�sos.report.pluginsrrrr.rr�<module>r0s��9�1@�f�'�1@r

Youez - 2016 - github.com/yon3zu
LinuXploit