HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/iscsi.cpython-36.pyc
3

3��d��@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s(eZdZdZdZd	Zdd�Zdd�ZdS)
�IscsiziSCSI initiatorZiscsi�storagecCs0d}|jdd|ddg�|jddddg�dS)	Nz,/var/lib/config-data/puppet-generated/iscsidz/etc/iscsi/iscsid.confz/etc/iscsi/initiatorname.iscsiz/var/lib/iscsiziscsiadm -m session -P 3ziscsiadm -m node -P 1ziscsiadm -m iface -P 1ziscsiadm -m node --op=show)Z
add_copy_specZadd_cmd_output)�selfZvar_puppet_gen�r	�/usr/lib/python3.6/iscsi.py�setupszIscsi.setupcCsHd}d}d}|jd||�|jd||�|jd||�|jd||�dS)Nz1(node\.session\.auth\.password(_in)?\s+=\s+)(\S+)z:(discovery\.sendtargets\.auth\.password(_in)?\s+=\s+)(\S+)z\1********\nz/etc/iscsi/iscsid.confz/var/lib/iscsi/nodes/*/*/*)Zdo_path_regex_sub)rZnodesessionpwdZdiscoverypwd�replr	r	r
�postproc$s
zIscsi.postprocN)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrr
r	r	r	r
rs
rcs eZdZdZ�fdd�Z�ZS)�RedHatIscsi�iscsi-initiator-utilscstt|�j�dS)N)�superrr)r)�	__class__r	r
r>szRedHatIscsi.setup)r)rrr�packagesr�
__classcell__r	r	)rr
r:srcs eZdZdZ�fdd�Z�ZS)�DebianIscsi�
open-iscsicstt|�j�dS)N)rrr)r)rr	r
rFszDebianIscsi.setup)r)rrrrrrr	r	)rr
rBsrN)Zsos.report.pluginsrrrrrrrr	r	r	r
�<module>s,