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__/sedutil.cpython-36.pyc
3

~�g��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s@eZdZdZdZdZdZdZedd	d
d�gZ	dd
�Z
dd�ZdS)�
SEDUtilityz�
    Collects information about SED drives installed on host system.
    This plugin will capture data using sedutil utility
    zSelf Encrypting Drives�sedutil�security�system�storage�hardware�debugFzcapture debug data)�defaultZdesccCs|g}|jd�}|jd�rxd|dkrnxH|dj�D]8}|jd�r2|j�}|dd�\}}d|kr2|j|�q2W|j|�dS)	Nzsedutil-cli --scanrrZstatus�outputz/dev/��2)Zcollect_cmd_outputZ
get_option�
splitlines�
startswith�split�append�do_debug)�self�sed_list�result�lineZdiskZtcg_opal_dev�r�/usr/lib/python3.6/sedutil.py�setups


zSEDUtility.setupcCs"x|D]}|jd|���qWdS)z Collect debug logs zsedutil-cli --query N)Zadd_cmd_output)rrZdevicerrrr,s
zSEDUtility.do_debugN)rrr	r
)r)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrrrrrrrsrN)Zsos.report.pluginsrrrrrrrr�<module>	s

NineSec Team - 2022