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 ] |
---|
3 ~ �gI � @ sZ d dl Z d dlmZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � N)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ s4 e Zd ZdZdZdZd Zdd� Zdd� Zd d � Z dS )�PostfixzPostfix smtp server�postfix�mail�servicesc C s� ddddddddd d ddd ddddg}g }yrt | jd�ddd��T}xL|j� D ]@}|jd�r\qL|jd�}|d j� |krL|j|d j� d � qLW W dQ R X W n tk r� Y nX |S )zi list of attributes defining a location of a SSL key file we must forbid from collection Zlmtp_tls_dkey_fileZlmtp_tls_eckey_fileZlmtp_tls_key_fileZsmtp_tls_dkey_fileZsmtp_tls_eckey_fileZsmtp_tls_key_fileZsmtpd_tls_dkey_fileZsmtpd_tls_eckey_fileZsmtpd_tls_key_fileZ"tls_legacy_public_key_fingerprintsZtlsproxy_tls_dkey_fileZtlsproxy_tls_eckey_fileZtlsproxy_tls_key_fileZsmtpd_tls_dh1024_param_fileZsmtpd_tls_dh512_param_fileZtlsproxy_tls_dh1024_param_fileZtlsproxy_tls_dh512_param_filez/etc/postfix/main.cf�rzUTF-8)�encoding�#�=r � N)�open� path_join� readlines� startswith�split�strip�append� Exception)�self�forbid_attributes�fpaths�cffile�lineZwords� r �/usr/lib/python3.6/postfix.py�forbidden_ssl_keys_files s<