https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/collector/transports/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/collector/transports/__pycache__/local.cpython-310.pyc
o

-�_g��@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.
    �
local_nodecC�dS�NT�)�self�passwordrr�@/usr/lib/python3/dist-packages/sos/collector/transports/local.py�_connect�zLocalTransport._connectcCrrr�rrrr
�_disconnectrzLocalTransport._disconnectcCrrrr
rrr
�	connected szLocalTransport.connectedcCs&|�d|�d|���t�||�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)rz#LocalTransport._format_cmd_for_execcCrrrrrrr
�_copy_file_to_remote,rz#LocalTransport._copy_file_to_remotecCsVtj�|�r!t|ddd��}|��Wd�S1swY|�d|���dS)N�rzutf-8)�encodingzNo such file: �)�os�path�exists�open�readr)rr�rfilerrr
�
_read_file/s �zLocalTransport._read_fileN)
�__name__�
__module__�__qualname__�__doc__�namerr�propertyrrrrr#rrrr
rs
r)rr�sos.collector.transportsrrrrrr
�<module>s


https://t.me/RX1948 - 2025