403Webshell
Server IP : 216.238.111.58  /  Your IP : 216.73.217.34
Web Server : LiteSpeed
System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User : skillsitcom ( 1002)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/landscape.cpython-36.pyc
3

ܓ�i��@s.ddlZddlmZmZGdd�dee�ZdS)�N)�Plugin�UbuntuPluginc@s0eZdZdZdZd
ZdZdZdd	�Zd
d�Z	dS)�	LandscapezUbuntu Landscape clientZ	landscape�sysmgmt�/etc/landscape/client.conf�/etc/landscape/service.conf�landscape-client�landscape-servercCs�dd�dD�}t|�s$|jjd�n$|jddd	d
g�|jddd
dg�|jddddddg�|jd�sx|jddg�n|jddg�|jdddg�dS)NcSsg|]}|tjk�qS�)�os�environ)�.0�pr
r
�/usr/lib/python3.6/landscape.py�
<listcomp>sz#Landscape.setup.<locals>.<listcomp>�LANDSCAPE_API_KEY�LANDSCAPE_API_SECRET�LANDSCAPE_API_URIz�Not all environment variables set. Source the environment file for the user intended to connect to the Landscape environment so that the landscape-api commands can be used.zlandscape-api get-distributionszlandscape-api get-apt-sourcesz%landscape-api get-repository-profilesz'landscape-api get activites --limit 100z&landscape-api --json get-distributionsz$landscape-api --json get-apt-sourcesz,landscape-api --json get-repository-profilesz.landscape-api --json get activites --limit 100z/etc/default/landscape-clientz/etc/default/landscape-serverz/etc/landscape/client.confz/etc/landscape/service.confz/etc/landscape/service.conf.oldz*/var/lib/landscape/landscape-oops/*/OOPS-*Zall_logsz/var/log/landscape/*.logz/var/log/landscape-server/*.logz/var/log/landscapez/var/log/landscape-serverz'gpg --verify /etc/landscape/license.txtz$head -n 5 /etc/landscape/license.txtzlsctl status)rrr)�allZsoslogZwarningZadd_cmd_outputZ
add_copy_specZ
get_option)�selfZvars_allr
r
r�setupsD

zLandscape.setupcCs<|jddd�dddddg}|jd	d
dj|��d�d
�dS)Nz/etc/landscape/client.confzregistration_password(.*)zregistration_password[********]ZpasswordZstore_passwordzsecret-tokenzoidc-client-secretzoidc-client-idz/etc/landscape/service.conf*�(�|z) = (.*)z\1 = [********])Zdo_file_subZdo_path_regex_sub�join)r�keysr
r
r�postprocLszLandscape.postprocN)r)rr)rr	)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesZpackagesrrr
r
r
rr
s6r)rZsos.report.pluginsrrrr
r
r
r�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit