AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/certbot/_internal/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/certbot/_internal/__pycache__/updater.cpython-310.pyc
o

6��a��@srdZddlZddlmZddlmZddlmZddlm	Z	e�
e�Zdd�Z
d	d
�Zdd�Zd
d�Zdd�ZdS)zUpdaters run at renewal�N)�errors)�
interfaces)�	selection)�enhancementsc
Cs~|jr
t�d�dSzt�||�}Wntjy,}z
t�d|�WYd}~dSd}~ww|r=t|||�t	|||�dSdS)asRun updaters that the plugin supports

    :param config: Configuration object
    :type config: certbot.configuration.NamespaceConfig

    :param lineage: Certificate lineage object
    :type lineage: storage.RenewableCert

    :param plugins: List of plugins
    :type plugins: certbot._internal.plugins.disco.PluginsRegistry

    :returns: `None`
    :rtype: None
    z"Skipping updaters in dry-run mode.Nz4Could not choose appropriate plugin for updaters: %s)
�dry_run�logger�debug�plug_sel�get_unprepared_installerr�Error�error�
_run_updaters�_run_enhancement_updaters)�config�lineage�plugins�	installer�e�r�;/usr/lib/python3/dist-packages/certbot/_internal/updater.py�run_generic_updaterss
���rcCs@|jr
t�d�dS|jst|tj�r|�|�t|||�dS)a�Helper function to run deployer interface method if supported by the used
    installer plugin.

    :param config: Configuration object
    :type config: certbot.configuration.NamespaceConfig

    :param lineage: Certificate lineage object
    :type lineage: storage.RenewableCert

    :param installer: Installer object
    :type installer: interfaces.Installer

    :returns: `None`
    :rtype: None
    z*Skipping renewal deployer in dry-run mode.N)	rrr�disable_renew_updates�
isinstancer�
RenewDeployer�renew_deploy�_run_enhancement_deployers)rrrrrr�run_renewal_deployer&s

�
rcCs(|jst|tj�r|�|�dSdSdS)a:Helper function to run the updater interface methods if supported by the
    used installer plugin.

    :param lineage: Certificate lineage object
    :type lineage: storage.RenewableCert

    :param installer: Installer object
    :type installer: interfaces.Installer

    :returns: `None`
    :rtype: None
    N)rrr�GenericUpdater�generic_updates)rrrrrrr
?s

�r
cC�B|jrdStjD]}t||d�r|drt||d�|�qdS)a�Iterates through known enhancement interfaces. If the installer implements
    an enhancement interface and the enhance interface has an updater method, the
    updater method gets run.

    :param lineage: Certificate lineage object
    :type lineage: storage.RenewableCert

    :param installer: Installer object
    :type installer: interfaces.Installer

    :param config: Configuration object
    :type config: certbot.configuration.NamespaceConfig
    N�class�updater_function�rr�_INDEXr�getattr�rrr�enhrrrrP�
��rcCr)a�Iterates through known enhancement interfaces. If the installer implements
    an enhancement interface and the enhance interface has an deployer method, the
    deployer method gets run.

    :param lineage: Certificate lineage object
    :type lineage: storage.RenewableCert

    :param installer: Installer object
    :type installer: interfaces.Installer

    :param config: Configuration object
    :type config: certbot.configuration.NamespaceConfig
    Nr �deployer_functionr"r%rrrrfr'r)�__doc__�logging�certbotrr�certbot._internal.pluginsrr	�certbot.pluginsr�	getLogger�__name__rrrr
rrrrrr�<module>s


Anon7 - 2022
AnonSec Team