403Webshell
Server IP : 173.209.174.21  /  Your IP : 216.73.216.90
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : nodor ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/openstack_swift.cpython-312.pyc
�

G%@i�
��d�ddlmZmZmZmZGd�de�ZGd�deee�ZGd�dee�Zy)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc�.�eZdZdZdZdZdZd�Zd�Zd�Z	y)	�OpenStackSwiftzOpenStack Swift�openstack_swift)�	openstack�openstack_controllerz%/var/lib/config-data/puppet-generatedc�,�|jd�r|jdg�n|jdg�|jd|jdz|jdz|jdz|jdzg�|jd	d
d��y)N�all_logsz/var/log/swift/z/var/log/swift/*.logz/etc/swift/z/swift/etc/*z/swift/etc/swift/*z/swift/etc/xinetd.d/*z"/memcached/etc/sysconfig/memcached�
swift_conf�	swift_log)z/etc/swift/swift.confz/var/log/swift/swift.log)�
get_option�
add_copy_spec�var_puppet_gen�
add_file_tags)�selfs �D/usr/lib/python3/dist-packages/sos/report/plugins/openstack_swift.py�setupzOpenStackSwift.setups����?�?�:�&����!� �
�
���&� �
�	
�������.�0����"6�6����"9�9����"F�F�
�	�	
���%1�(3�
�	�c�j�|jd||�|j|jdz||�y)z Apply regex substitution z/etc/swift/.*\.conf.*z/swift/etc/swift/.*\.conf.*N)�do_path_regex_subr)r�regexp�substs   r�apply_regex_subzOpenStackSwift.apply_regex_sub0s7�����7���G�������"@�@��E�	
rc��gd�}ddg}|jddj|��d�d�dj|�}|jd|�d�d	�y)
N)z.*_pass(wd|word)?�password�
transport_url�
connection�sql_connectionz(^\s*(�|z
)\s*=\s*)(.*)z\1*********z!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z
\1*********\6)r�join)r�protect_keys�connection_keys�
join_con_keyss    r�postproczOpenStackSwift.postproc8sk��
��
(�)9�:������c�h�h�|�,�-�]�;��	
�
����1�
�����m�_�$E�F��	
rN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesrrrr'�rrrrs%��"�J�#�K�4�H�<�N��.
�
rrc��eZdZdZy)�DebianSwift)	�swiftz
swift-accountzswift-containerzswift-objectzswift-proxy�swauthzpython-swiftz
python-swauthz
python3-swiftN�r(r)r*�packagesr.rrr0r0Ms	��
�Hrr0c��eZdZdZy)�RedHatSwift)zopenstack-selinuxNr3r.rrr6r6\s��%�Hrr6N)�sos.report.pluginsrrrrrr0r6r.rr�<module>r8s9��P�O�9
�V�9
�x�.�,���&�.�,�&r

Youez - 2016 - github.com/yon3zu
LinuXploit