Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/openssl.cpython-36.opt-1.pyc

3

�f��@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s(eZdZdZdZd	Zd
ZdZdd�ZdS)�OpenSSLzOpenSSL configuration�openssl�network�security�	openssl.*cCs*dddg}ddj|�}|jd|d�dS)NZinput_passwordZoutput_passwordZchallengePasswordz^(\s*#?\s*(%s).*=)(.*)�|z/etc/ssl/openssl.cnfz	\1 ******)�joinZdo_file_sub)�selfZprotect_keysZregexp�r�/usr/lib/python3.6/openssl.py�postprocszOpenSSL.postprocN)rr	)r)r
)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesZverify_packagesrrrrrrsrcs eZdZdZ�fdd�Z�ZS)�
RedHatOpenSSL�/etc/pki/tls/openssl.cnfcst�j�|jd�dS)Nz/etc/pki/tls/openssl.cnf)�super�setup�
add_copy_spec)r
)�	__class__rrr+s
zRedHatOpenSSL.setup)r)rrr�filesr�
__classcell__rr)rrr'srcs eZdZdZ�fdd�Z�ZS)�
DebianOpenSSL�/etc/ssl/openssl.cnfcst�j�|jd�dS)Nz/etc/ssl/openssl.cnf)rrr)r
)rrrr4s
zDebianOpenSSL.setup)r)rrrrrrrr)rrr0srN)Zsos.report.pluginsrrrrrrrrrrr�<module>s	

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists