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 :  /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/foreman_installer.cpython-39.pyc
a

ܓ�i��@sBddlmZmZmZmZGdd�deee�ZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�ForemanInstallerz Foreman installer and maintainerZforeman_installer)Zsysmgmt)zforeman-installerzrubygem-foreman_maintaincCs(|�gd��|�d�|�dg�dS)N)z/etc/foreman-installer/*z/var/log/foreman-installer/*z/var/log/foreman-maintain/*z"/var/lib/foreman-maintain/data.ymlz//var/lib/foreman-maintain/satellite_metrics.ymlz*/etc/foreman-maintain/foreman_maintain.ymlz-/etc/foreman-installer/scenarios.d/*/.appliedz4/etc/foreman-installer/scenarios.d/*.migrations/*.rbzforeman-maintain service status)Z
add_copy_specZadd_forbidden_pathZadd_cmd_output��self�r	�H/usr/lib/python3.9/site-packages/sos/report/plugins/foreman_installer.py�setups��zForemanInstaller.setupcCs�d}d}|�||d�d}|�||d�|�|dd�|�dd	d�|�d
dd�|�d
|�d�dd�|�d|�d�dd�dS)Nz/var/log/foreman-installer/z~((foreman.*)?(\"::(foreman(.*?)|katello).*)?((::(.*)::.*(passw|cred|token|secret|key).*(\")?:)|(storepass )|(password =)))(.*)z\1 ********zZ(\s)+(Found key: (\"(foreman(.*?)|katello)::(.*(token|secret|key|passw).*)\") value:) (.*)z\1 \2 ********z?password(\", \"|=|\" value: \"|\": \")(.*?)(\", \".*|\"]]|\"|$)zpassword\1********\3z)/var/log/foreman-installer/foreman-proxy*z(\s*proxy_password\s=) (.*)z//var/log/foreman-maintain/foreman-maintain.log*z.(((passw|cred|token|secret)=)|(password ))(.*)z
\1********z7(/etc/foreman-(installer|maintain)/(.*)((conf)(.*)?))|(�)z5((\:|\s*)(passw|cred|token|secret|key).*(\:\s|=))(.*)z;(/etc/foreman-(installer|maintain)/(.*)((yaml|yml)(.*)?))|(z\1"********")Zdo_path_regex_sub)rZinstall_logsZlogsregZlogs_debug_regr	r	r
�postproc.sD�������zForemanInstaller.postprocN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrr
r	r	r	r
rsrcseZdZ�fdd�Z�ZS)�RedHatForemanInstallercs&|�ddgddgd��t���dS)NZforeman_satellite_logZsatellite_installer_logZcapsule_logZcapsule_installer_log)z(/var/log/foreman-installer/satellite.logz&/var/log/foreman-installer/capsule.log)Z
add_file_tags�superrr��	__class__r	r
rYs
�zRedHatForemanInstaller.setup)rrrr�
__classcell__r	r	rr
rWsrN)Zsos.report.pluginsrrrrrrr	r	r	r
�<module>sH

Youez - 2016 - github.com/yon3zu
LinuXploit