관리-도구
편집 파일: pure_ftpd.cpython-311.opt-1.pyc
� ��g� � �� � d Z ddlZddlZddlZddlZddlmZmZmZm Z m Z mZ ddlm Z ej e� � Z G d� de � � Zd� Zd� Zd � Zd � Z e ed�� � d � � � Zd� Zd� Zd� Zd� Zd� ZdS )u This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. Copyright © 2019 Cloud Linux Software Inc. This software is also available under ImunifyAV commercial license, see <https://www.imunify360.com/legal/eula> � N)�atomic_rewrite�is_systemd_boot�check_exit_code� check_run�retry_on�run)�KWConfigc � � e Zd ZdZdZdZdS )�PureFTPBaseConfigz^\s*?{}\s+(.*?)\s*?$z{} {}z/etc/pure-ftpd.confN)�__name__� __module__�__qualname__�SEARCH_PATTERN� WRITE_PATTERN�DEFAULT_FILENAME� � �U/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/subsys/pure_ftpd.pyr r ) s � � � � � �,�N��M�,���r r c � � K � t � � sMt ddgt j t j t j �� � � d {V �� t ddd�� � d S t g d�� � � d {V �� t g d �� � � d {V �� d S ) N�start�imunify360-pure��stdin�stdout�stderr�"/etc/init/imunify360-pure.override� F��backup)� systemctl�enabler )r r r �r r � subprocess�DEVNULLr r r r r �uploadscript_enabler% / s� � � � ���� C�� �'�(��$��%��%� � � � � � � � � � � �;�R��N�N�N�N�N�N��B�B�B�C�C�C�C�C�C�C�C�C��A�A�A�B�B�B�B�B�B�B�B�B�B�Br c � � K � t � � sMt ddgt j t j t j �� � � d {V �� t ddd�� � d S t g d�� � � d {V �� t g d �� � � d {V �� d S ) N�stopr r r zstart on manual Fr )r r'