HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/sos/collector/transports/__pycache__/local.cpython-36.opt-1.pyc
3

\��h��@s0ddlZddlZddlmZGdd�de�ZdS)�N)�RemoteTransportc@sPeZdZdZdZdd�Zdd�Zedd��Zd	d
�Z	dd�Z
d
d�Zdd�ZdS)�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|�d|���tj||�dS)NzMoving z to T)�	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_execcCsdS)NTr)rr
rrrr�_copy_file_to_remote,sz#LocalTransport._copy_file_to_remotec
Cs>tjj|�r*t|ddd��
}|j�SQRX|jd|���dS)N�rzutf-8)�encodingzNo such file: �)�os�path�exists�open�readr
)rr
Zrfilerrr�
_read_file/s
zLocalTransport._read_fileN)
�__name__�
__module__�__qualname__�__doc__�namerr�propertyr	rrrrrrrrrsr)rrZsos.collector.transportsrrrrrr�<module>s