#/** * @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//cli.pyc
�
L��ec@`sddlmZmZmZddlZddlZddlZddlZddlm	Z	m
Z
ddlmZm
Z
ddlmZddlmZeje�Zdefd��YZd	�Zd
efd��YZdefd
��YZdd�ZdS(i(tprint_functiontdivisiontabsolute_importN(t	columnizetecho_columnize_callback(tOptionParsertWrappedIndentedHelpFormatter(tprint_error(tugettexttInvalidCLIOptionErrorcB`seZd�ZRS(cC`stj||�dS(N(t	Exceptiont__init__(tselftmessage((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR"s(t__name__t
__module__R(((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR	!scC`sIytjj�tjj�Wn$tk
rD}tjd|�nXdS(s�
    Try to flush stdout and stderr, when it is not possible
    due to blocking process, then print error message to log file.
    :return: None
    sKError: Unable to print data to stdout/stderr output during exit process: %sN(tsyststdouttflushtstderrtIOErrortlogterror(tio_err((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pytflush_stdout_stderr&s

tAbstractCLICommandcB`sJeZdZddded�Zdd�Zd�Zd�Zd�Z	RS(sW
    Base class for rt commands. This class provides a templated run
    strategy.
    tclicC`sU||_||_||_|p$g|_td|j�d|dt��|_dS(Ntusagetdescriptiont	formatter(tnamet	shortdesctprimarytaliasesRt
_get_usageRtparser(RRR!RR ((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR9s			cC`std��dS(Ns.Commands must implement: main(self, args=None)(tNotImplementedError(Rtargs((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pytmainDscC`sdS(s|
        Validates the command's arguments.
        @raise InvalidCLIOptionError: Raised when arg validation fails.
        N((R((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyt_validate_optionsGscC`std�|jS(sV
        Usage format strips any leading 'usage' so
        do not include it
        s%%prog %s [OPTIONS](t_R(R((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR"OscC`std��dS(s:
        Does the work that this command intends.
        s*Commands must implement: _do_command(self)N(R$(R((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyt_do_commandVsN(
RRt__doc__tNonetFalseRR&R'R"R)(((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR4s		tCLIcB`sJeZdd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(cC`s|p	g}i|_i|_xZ|D]R}|�}|jdkr%||j|j<x!|jD]}||j|<q]Wq%q%WdS(NR(tcli_commandstcli_aliasesRR!(Rtcommand_classestclazztcmdtalias((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR`s		
	cC`s||j|j<dS(N(R.R(RR2((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyt_add_commandlscC`s|j�dS(N(t_usage(R((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyt_default_commandoscC`s�ttd�tjjtjd��td�t|jj	��}g}g}xT|D]L\}}|j
r�|jd||jf�qY|jd||jf�qYWtd�dfg|dtd�dfg|}|j
|�dS(Ns/Usage: %s MODULE-NAME [MODULE-OPTIONS] [--help]is
s  sPrimary Modules:s
sOther Modules:(tprintR(tostpathtbasenameRtargvtsortedR.titemsR tappendRt
_do_columnize(RR=t
items_primarytitems_otherRR2t	all_items((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR5rs'
	-cC`s6tt|��\}}tt|t|�d�dS(Ns
(tlisttzipR7RR(Rt
items_listtmodulestdescriptions((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR?�scC`s�g}x1|dD]%}|jd�s|j|�qqW|sDdSd}t|�}x||dkr�dj|| �}|dks�|dkr�Pn|jj|�}|dkr�|jj|�}n|d8}qYW|S(s�
        Returns the subcommand class that best matches the subcommand specified
        in the argument list. For example, if you have two commands that start
        with auth, 'auth show' and 'auth'. Passing in auth show will match
        'auth show' not auth. If there is no 'auth show', it tries to find
        'auth'.

        This function ignores the arguments which begin with --
        it-t tN(t
startswithR>R+tlentjoinR.tgetR/(RR%tpossiblecmdtargR2titkey((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyt_find_best_match�s"
cC`s�|jtj�}ttj�dkrH|j�t�tjd�n|s�|j�d}ttj�dkr�tjddkr�d}nt�tj|�ny|j�SWnt	k
r�}t
|�nXdS(Niiis--help(RSRR;RLR6RtexitR5R&R	R7(RR2treturn_codeR((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR&�s 

(	N(
RRR+RR4R6R5R?RSR&(((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyR-^s					 cC`s�|r�t|�tg�td�gkr6|f}nxh|D]]}t|t�r_d|}nt|tj�r�tjr�t|jd��q=t|�q=Wnt�t	j
|�dS(sN
    Exit with a code and optional message(s). Saved a few lines of code.
    s%stutf8N((ttypet
isinstanceR
tsixt	text_typetPY2RtencodeRRRT(tcodetmsgstmsg((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pytsystem_exit�s$

(t
__future__RRRR8RtloggingRYt#subscription_manager.printing_utilsRRt"subscription_manager.i18n_optparseRRtsubscription_manager.utilsRtsubscription_manager.i18nRR(t	getLoggerRRR
R	RtobjectRR-R+R`(((s>/usr/lib64/python2.7/site-packages/subscription_manager/cli.pyt<module>s	*^

Anon7 - 2022
AnonSec Team