Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
certbot /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-03-20 10:36
display
[ DIR ]
drwxrwxrwx
2022-03-20 10:36
plugins
[ DIR ]
drwxrwxrwx
2022-03-20 10:36
tests
[ DIR ]
drwxrwxrwx
2022-03-20 10:36
__init__.py
114
B
-rw-r--r--
2018-11-07 22:14
account.py
13.99
KB
-rw-r--r--
2018-11-07 22:14
achallenges.py
1.59
KB
-rw-r--r--
2018-11-07 22:14
auth_handler.py
20.56
KB
-rw-r--r--
2018-11-07 22:14
cert_manager.py
15.1
KB
-rw-r--r--
2018-11-07 22:14
cli.py
70.18
KB
-rw-r--r--
2018-11-07 22:14
client.py
27.86
KB
-rw-r--r--
2018-11-07 22:14
compat.py
6.02
KB
-rw-r--r--
2018-11-07 22:14
configuration.py
5.55
KB
-rw-r--r--
2018-11-07 22:14
constants.py
6.39
KB
-rw-r--r--
2020-09-26 20:25
crypto_util.py
15.29
KB
-rw-r--r--
2018-11-07 22:14
eff.py
3.07
KB
-rw-r--r--
2018-11-07 22:14
error_handler.py
5.81
KB
-rw-r--r--
2018-11-07 22:14
errors.py
2.59
KB
-rw-r--r--
2018-11-07 22:14
hooks.py
8.44
KB
-rw-r--r--
2018-11-07 22:14
interfaces.py
23.3
KB
-rw-r--r--
2018-11-07 22:14
lock.py
3.56
KB
-rw-r--r--
2018-11-07 22:14
log.py
12.39
KB
-rw-r--r--
2018-11-07 22:14
main.py
47.64
KB
-rw-r--r--
2018-11-07 22:14
notify.py
1.04
KB
-rw-r--r--
2018-11-07 22:14
ocsp.py
4.09
KB
-rw-r--r--
2018-11-07 22:14
renewal.py
19.85
KB
-rw-r--r--
2020-09-26 20:25
reporter.py
3.46
KB
-rw-r--r--
2018-11-07 22:14
reverter.py
23.32
KB
-rw-r--r--
2018-11-07 22:14
ssl-dhparams.pem
424
B
-rw-r--r--
2018-11-07 22:14
storage.py
45.75
KB
-rw-r--r--
2018-11-07 22:14
updater.py
3.86
KB
-rw-r--r--
2018-11-07 22:14
util.py
20.35
KB
-rw-r--r--
2018-11-07 22:14
Save
Rename
"""Updaters run at renewal""" import logging from certbot import errors from certbot import interfaces from certbot.plugins import selection as plug_sel import certbot.plugins.enhancements as enhancements logger = logging.getLogger(__name__) def run_generic_updaters(config, lineage, plugins): """Run updaters that the plugin supports :param config: Configuration object :type config: interfaces.IConfig :param lineage: Certificate lineage object :type lineage: storage.RenewableCert :param plugins: List of plugins :type plugins: `list` of `str` :returns: `None` :rtype: None """ if config.dry_run: logger.debug("Skipping updaters in dry-run mode.") return try: installer = plug_sel.get_unprepared_installer(config, plugins) except errors.Error as e: logger.warning("Could not choose appropriate plugin for updaters: %s", e) return if installer: _run_updaters(lineage, installer, config) _run_enhancement_updaters(lineage, installer, config) def run_renewal_deployer(config, lineage, installer): """Helper function to run deployer interface method if supported by the used installer plugin. :param config: Configuration object :type config: interfaces.IConfig :param lineage: Certificate lineage object :type lineage: storage.RenewableCert :param installer: Installer object :type installer: interfaces.IInstaller :returns: `None` :rtype: None """ if config.dry_run: logger.debug("Skipping renewal deployer in dry-run mode.") return if not config.disable_renew_updates and isinstance(installer, interfaces.RenewDeployer): installer.renew_deploy(lineage) _run_enhancement_deployers(lineage, installer, config) def _run_updaters(lineage, installer, config): """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.IInstaller :returns: `None` :rtype: None """ if not config.disable_renew_updates: if isinstance(installer, interfaces.GenericUpdater): installer.generic_updates(lineage) def _run_enhancement_updaters(lineage, installer, config): """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.IInstaller :param config: Configuration object :type config: interfaces.IConfig """ if config.disable_renew_updates: return for enh in enhancements._INDEX: # pylint: disable=protected-access if isinstance(installer, enh["class"]) and enh["updater_function"]: getattr(installer, enh["updater_function"])(lineage) def _run_enhancement_deployers(lineage, installer, config): """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.IInstaller :param config: Configuration object :type config: interfaces.IConfig """ if config.disable_renew_updates: return for enh in enhancements._INDEX: # pylint: disable=protected-access if isinstance(installer, enh["class"]) and enh["deployer_function"]: getattr(installer, enh["deployer_function"])(lineage)