[ SEA-GHOST MINI SHELL]

Path : /proc/2/root/var/lib/zabbix/
FILE UPLOADER :
Current File : //proc/2/root/var/lib/zabbix/service-autostart.sh

#!/bin/bash

if [ -n "$1" ]; then
  service=$1
else
  echo "Please provide service name"
  exit 1
fi

if hash systemctl 2>/dev/null; then
  systemctl is-enabled $service
elif hash chkconfig 2>/dev/null; then
  chkconfig --list | grep $service | awk '{ print $5}'
else
  service --status-all > /tmp/allout.txt 2>&1 && cat /tmp/allout.txt | grep $service
fi


SEA-GHOST - SHELL CODING BY SEA-GHOST