403Webshell
Server IP : 77.50.203.18  /  Your IP : 192.168.0.10
Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23
System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64
User : warsnews.ru ( 1001)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/sos/report/plugins/__pycache__/landscape.cpython-39.opt-1.pyc
a

ܓ�i��@s.ddlZddlmZmZGdd�dee�ZdS)�N)�Plugin�UbuntuPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�	LandscapezUbuntu Landscape clientZ	landscape)Zsysmgmt)�/etc/landscape/client.conf�/etc/landscape/service.conf)zlandscape-clientzlandscape-servercCs�dd�dD�}t|�s$|j�d�n|�gd��|�gd��|�gd��|�d�sh|�d	d
g�n|�ddg�|�gd
��dS)NcSsg|]}|tjv�qS�)�os�environ)�.0�prr�@/usr/lib/python3.9/site-packages/sos/report/plugins/landscape.py�
<listcomp>�z#Landscape.setup.<locals>.<listcomp>)ZLANDSCAPE_API_KEYZLANDSCAPE_API_SECRETZLANDSCAPE_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 100)z&landscape-api --json get-distributionsz$landscape-api --json get-apt-sourcesz,landscape-api --json get-repository-profilesz.landscape-api --json get activites --limit 100)z/etc/default/landscape-clientz/etc/default/landscape-serverrrz/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-server)z'gpg --verify /etc/landscape/license.txtz$head -n 5 /etc/landscape/license.txtzlsctl status)�allZsoslogZwarningZadd_cmd_outputZ
add_copy_specZ
get_option)�selfZvars_allrrr�setups 	
��zLandscape.setupcCs6|�ddd�gd�}|�ddd�|��d�d	�dS)
Nrzregistration_password(.*)zregistration_password[********])�passwordZstore_passwordzsecret-tokenzoidc-client-secretzoidc-client-idz/etc/landscape/service.conf*�(�|z) = (.*)z\1 = [********])Zdo_file_subZdo_path_regex_sub�join)r�keysrrr�postprocLs��zLandscape.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesZpackagesrrrrrrr
s6r)rZsos.report.pluginsrrrrrrr�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit