ヤミRoot VoidGate
User / IP
:
216.73.216.49
Host / Server
:
146.88.233.70 / www.dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
usr
/
local
/
nagios
/
libexec
/
Viewing: check_init_service
#!/bin/sh PROGNAME=`basename $0` PROGPATH="`dirname $0`" . $PROGPATH/utils.sh print_usage() { echo "Usage: $PROGNAME" } print_help() { echo "" print_usage echo "" echo "This plugin checks the status of services normally started by the init process." echo "" support exit 0 } case "$1" in --help) print_help exit 0 ;; -h) print_help exit 0 ;; *) if [ $# -eq 1 ]; then if hash systemctl 2>/dev/null; then /bin/systemctl is-active $1 else /sbin/service $1 status fi ret=$? case "$ret" in 0) exit $ret ;; *) exit 2 ;; esac else echo "ERROR: No service name specified on command line" exit 3 fi ;; esac
Coded With 💗 by
0x6ick