⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.202
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
fm-agent
/
library
/
__pycache__
/
View File Name :
display.cpython-39.pyc
a �������fB����������������������@���s ���d�dl�m�Z��dd��Zdd��ZdS�)�����)�datetimec����������� ������C���s"��t�d|�j���t�d��t�d||�jf���t�d��t|����D�]P\}}t�d|j���t�d|j���t�dt|j����t |j �d�}t�d |���q<t�d ��|j���D�]|\}}|d�} |d�} d }t| ����D�]6}| |�� d�dur�|d| |�d�| |�d�f�7�}q�|d kr�t�| d���t�|��q�dS�)z� The 'status' argument allows the target machine's user to see various metrics without having to go into the control panel. z%Agent Version %s Status ------------ zConfig Variables: ------------z)Server Key: %s Communication Endpoint: %sz Active Plugins: ------------zplugin name: %szresource: %sz params: %s�<���zcheck interval: %d minutes z Plugin Errors: r���������Z error_messageNz%s : %s �labelz ----)�print�version�agg_url�list�items�plugin_textkey�resource_textkey�str�option�int� frequency�metadata�keys�get) �agent� server_key� schedules�plugins�id�scheduleZ ch_minutes�key�value�plugin_labelZmetadictZerror_stringZikey��r����$/usr/lib/fm-agent/library/display.py�status���s*����"r ���c�����������������C���s����t�d��t|�����D�]N\}}t�d|j���t�dt|j����t�dt|j����t�dt�|j ����qt�d|���|rz|}nd}t�d|���d S�) ze The 'stats' argument displays to the user various statistics on the agent's operations. zAgent Statistics -------- z plugin: %szplugin params: %szlast check value: %sznext check time: %s z%Number of agent syncs with server: %dz--zLast succesful sync: %sN) r���r ���r���r���r���r����last_check_valuer����ctime�next_check_time)r���Znumber_of_syncs� last_syncr���r���Zlast_sync_fr���r���r����stats(���s����r%���N)r���r ���r%���r���r���r���r����<module>���s���$