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__/oratab.cpython-39.pyc
a

ܓ�i��@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�RedHatPlugin�	PluginOptc@s6eZdZdZdZdZdZeddedd�gZ	dd	�Z
d
S)�Oratabz.Oratab discovery for Oracle instances on Linux�oratab)Zservices)rz/etc/oratabzlocation of the oratab file)�defaultZval_typeZdescc
s���d�}tj�|�r�z�t��t|ddd��J}|����D],}|�d�s:|�	�sRq:��
|�d�d�q:Wd�n1s|0Ydd	g}����fd
d�|D��Wn<t
y�}z$��d|�d
|���WYd}~dSd}~00n
��d�dS)Nr�rzUTF-8)�encoding�#�:�z
dbs/init*.orazdbs/spfile*.oracs"g|]}�D]}��||��qqS�)Z	path_join)�.0Zdbfile�path��	path_list�selfr
�=/usr/lib/python3.9/site-packages/sos/report/plugins/oratab.py�
<listcomp>.s�z Oratab.setup.<locals>.<listcomp>zCould not open conf file z: z@Could not locate oratab file. Oracle data will not be collected.)Z
get_option�osr�isfile�set�open�read�
splitlines�
startswith�strip�add�splitZ
add_copy_spec�IOErrorZ
_log_errorZ	_log_warn)rZora_tabZofile�lineZdbfiles�exr
rr�setups&
4��zOratab.setupN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr�strZoption_listr"r
r
r
rr
s��r)rZsos.report.pluginsrrrrr
r
r
r�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit