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 :  /usr/lib/python3/dist-packages/sos/policies/distros/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/sos/policies/distros/__pycache__/suse.cpython-310.pyc
o

���b}�@shddlZddlZddlmZmZddlmZddlmZddl	m
ZGdd�de�ZGdd	�d	e�Z
dS)
�N)�RedHatPlugin�
SuSEPlugin)�LinuxPolicy)�RpmPackageManager)�_soscsReZdZdZdZdgZdZ		d�fdd�	Zedd	d
��Z	dd�Z
d
d�Z�ZS)�
SuSEPolicy�SuSE)zDistribution Websitezhttps://www.suse.com/z/var/tmpNTcs�tt|�j||||d�|jttg7_d|_t�|_|jj	s,t
dtjd�t�
d�d|_|jtjd7_|jtjd7_|��dS)	N��sysroot�init�
probe_runtime�remote_execFz'Could not obtain installed package list)�file�z"/usr/sbin:/usr/bin:/root/bin:/sbinz/usr/local/binz/usr/local/sbin)�superr�__init__�valid_subclassesrr�usrmover�package_manager�packages�print�sys�stderr�exit�PATH�os�pathsep�
set_exec_path��selfr
rrr
��	__class__��;/usr/lib/python3/dist-packages/sos/policies/distros/suse.pyrs�
zSuSEPolicy.__init__�cCsdS)z�This method checks to see if we are running on SuSE. It must be
        overriden by concrete subclasses to return True when running on an
        OpenSuSE, SLES or other Suse distribution and False otherwise.Fr"��cls�remoter"r"r#�check-szSuSEPolicy.checkcCs|s|jS|S�N)�_tmp_dir)r�opt_tmp_dirr"r"r#�get_tmp_dir4szSuSEPolicy.get_tmp_dircCs|��Sr))�	host_name)rr"r"r#�get_local_name9szSuSEPolicy.get_local_name�NNTN)r$)
�__name__�
__module__�__qualname__�distro�vendor�vendor_urlsr*r�classmethodr(r,r.�
__classcell__r"r"r r#rs�rcsDeZdZdZdZdgZed�Z		d�fdd�	Ze	d	d
��Z
�ZS)�OpenSuSEPolicy�OpenSuSEr)zCommunity Websitezhttps://www.opensuse.org/aJThis command will collect diagnostic and configuration information from this %(distro)s system and installed applications.

An archive containing the collected information will be generated in %(tmpdir)s and may be provided to a %(vendor)s support representative.

No changes will be made to system configuration.
%(vendor_text)s
NTcstt|�j||||d�dS)Nr	)rr8rrr r"r#rNs
�zOpenSuSEPolicy.__init__cCs|r|j|vStj�d�S)z=This method checks to see if we are running on SuSE.
        z/etc/SUSE-brand)r3r�path�isfiler%r"r"r#r(Ts
zOpenSuSEPolicy.checkr/)r0r1r2r3r4r5�_�msgrr6r(r7r"r"r r#r8=s
�r8)rr�sos.report.pluginsrr�sos.policies.distrosr�!sos.policies.package_managers.rpmr�sosrr<rr8r"r"r"r#�<module>s	*

Anon7 - 2022
AnonSec Team