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/report/plugins/__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/report/plugins/__pycache__/foreman_installer.cpython-310.pyc
o

���ba�@sBddlmZmZmZmZGdd�deee�ZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�ForemanInstallerz Foreman installer and maintainer�foreman_installer)�sysmgmt)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*/etc/foreman-maintain/foreman_maintain.ymlz-/etc/foreman-installer/scenarios.d/*/.appliedz4/etc/foreman-installer/scenarios.d/*.migrations/*.rbzforeman-maintain service status)�
add_copy_spec�add_forbidden_path�add_cmd_output��self�r�F/usr/lib/python3/dist-packages/sos/report/plugins/foreman_installer.py�setups
�
�zForemanInstaller.setupcCszd}d}|�||d�d}|�||d�|�|dd�|�dd	d�|�d
dd�|�d
|dd�|�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(=\'|=|\", \")(\w*)z\1password\2********z)/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********z:(/etc/foreman-(installer|maintain)/(.*)((conf)(.*)?))|(%s)z5((\:|\s*)(passw|cred|token|secret|key).*(\:\s|=))(.*)z>(/etc/foreman-(installer|maintain)/(.*)((yaml|yml)(.*)?))|(%s)z\1"********")�do_path_regex_sub)r
�install_logs�logsreg�logs_debug_regrrr�postproc-sD�������zForemanInstaller.postprocN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrrrrrrrsrcseZdZ�fdd�Z�ZS)�RedHatForemanInstallercs&|�dgdgd��tt|���dS)N�-insights_satellite_logsatellite_installer_log�)insights_capsule_logcapsule_installer_log)z*/var/log/foreman-installer/satellite.log.*z(/var/log/foreman-installer/capsule.log.*)�
add_file_tags�superrrr��	__class__rrrXs
�zRedHatForemanInstaller.setup)rrrr�
__classcell__rrr"rrVsrN)�sos.report.pluginsrrrrrrrrrr�<module>s
G

Anon7 - 2022
AnonSec Team