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

���b}�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s@eZdZdZdZdZdZdZedddd	�gZ	d
d�Z
dd
�ZdS)�SMclizSANtricity storage device�smclienti�)�system�storage�hardware)�SMclient�debugFzcapture support debug data)�default�desccs�gd�}g}|�d�}|ddkr'|d��D]}d|vr&|�|��d�q|D]�|��fdd�|D��q)|�d	�rD|�|�dSdS)
N)zshow storagearray;zshow storagearray connections;zshow storagearray healthstatus;zSMcli -d -S�statusr�output�	localhostcsg|]}d�|f�qS)zSMcli localhost -n %s -c '%s'�)�.0�subcmd��ssnamer�=/usr/lib/python3/dist-packages/sos/report/plugins/smclient.py�
<listcomp>+s
��zSMcli.setup.<locals>.<listcomp>r)�collect_cmd_output�
splitlines�append�split�add_cmd_output�
get_option�do_debug)�self�subcmds�ssnames�result�linerrr�setups
�
�
�zSMcli.setupcCs>|jdd�}d}d}|D]}|jd||||f|dd�qdS)NF)�makezSMcli localhost -nz#save storageArray supportData file=z%s %s -c '%s"support-%s";'i�)�runat�timeout)�get_cmd_output_pathr)rr!�logpath�cmdrrrrrr3s��zSMcli.do_debugN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�plugin_timeout�profiles�packagesr�option_listr$rrrrrrs�rN)�sos.report.pluginsrrrrrrrr�<module>s

Anon7 - 2022
AnonSec Team