PHP WebShell

Текущая директория: /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__

Просмотр файла: iscsi.cpython-310.pyc

o

-�_g��@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s(eZdZdZdZdZdd�Zdd�ZdS)	�IscsiziSCSI initiator�iscsi)�storagecCs,d}|�dd|ddg�|�gd��dS)Nz,/var/lib/config-data/puppet-generated/iscsid�/etc/iscsi/iscsid.confz/etc/iscsi/initiatorname.iscsiz/var/lib/iscsi)ziscsiadm -m session -P 3ziscsiadm -m node -P 1ziscsiadm -m iface -P 1ziscsiadm -m node --op=show)�
add_copy_spec�add_cmd_output)�self�var_puppet_gen�r�:/usr/lib/python3/dist-packages/sos/report/plugins/iscsi.py�setups�zIscsi.setupcCsHd}d}d}|�d||�|�d||�|�d||�|�d||�dS)Nz1(node\.session\.auth\.password(_in)?\s+=\s+)(\S+)z:(discovery\.sendtargets\.auth\.password(_in)?\s+=\s+)(\S+)z\1********\nr	z/var/lib/iscsi/nodes/*/*/*)�do_path_regex_sub)r�nodesessionpwd�discoverypwd�replrrr�postproc$s���zIscsi.postprocN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesrrrrrrrsrc@seZdZdZdZdS)�RedHatIscsiz( RedHatPlugin's setup() will be invoked )ziscsi-initiator-utilsN)rrr�__doc__�packagesrrrrr:src@seZdZdZdS)�DebianIscsi)z
open-iscsiN)rrrrrrrrr@srN)�sos.report.pluginsrrrrrrrrrrr�<module>s
,

Выполнить команду


Для локальной разработки. Не используйте в интернете!