[ SEA-GHOST MINI SHELL]
UserParameter=chkconfig[*], chkconfig --list | grep "$1" | cut -d ":" -f 5 | grep -c on
UserParameter=custom.vfs.fs.mountopts[*],cat /proc/mounts | grep ' $1 ' | awk '{ print $$4 }'
UserParameter=mem.pgfaults, sudo grep pgmajfault /proc/vmstat | awk '{print $2}'
UserParameter=mem.total[*],ps -C $1 -O rss | gawk '{ sum += $$2 }; END {print sum ;};'
UserParameter=netstat[*], ss -nat | grep -c $1
UserParameter=net.if.state[*],cat /sys/class/net/$1/operstate
UserParameter=proc.creations, sudo grep processes /proc/stat | awk '{print $2}'
UserParameter=proc.threads, sudo ps -eLf --no-headers | wc -l
UserParameter=ps.discovery, echo "{ \"data\":[" ; sudo ps --no-headers caux | awk '{ print " { \"{#PSUSER}\":\"" $1 "\", \"{#PSNAME}\":\"" $11 "\" },"}' | sort | uniq | sed -e 's/\//\\\//g' -e '$s/.$//' ; echo " ]}"
UserParameter=service.autostart[*],sudo /var/lib/zabbix/service-autostart.sh $1
UserParameter=service.state[*],sudo /var/lib/zabbix/service-state.sh $1
UserParameter=sockstat.sockets,sudo cat /proc/net/sockstat|grep sockets|cut -d' ' -f 3
UserParameter=sockstat.tcp.inuse,sudo cat /proc/net/sockstat|grep TCP|cut -d' ' -f 3
UserParameter=sockstat.tcp.orphan,sudo cat /proc/net/sockstat|grep TCP|cut -d' ' -f 5
UserParameter=sockstat.tcp.timewait,sudo cat /proc/net/sockstat|grep TCP|cut -d' ' -f 7
UserParameter=sockstat.tcp.allocated,sudo cat /proc/net/sockstat|grep TCP|cut -d' ' -f 9
UserParameter=sockstat.tcp.mem,sudo cat /proc/net/sockstat|grep TCP|cut -d' ' -f 11
UserParameter=sockstat.udp.inuse,sudo cat /proc/net/sockstat|grep UDP:|cut -d' ' -f 3
UserParameter=sockstat.udp.mem,sudo cat /proc/net/sockstat|grep UDP:|cut -d' ' -f 5
UserParameter=tty.count, w | grep tty | grep -v ttyS | wc -l
UserParameter=tty.users, w | grep tty | grep -v ttyS | awk '{print $1 "-" $2 "-" $4}' | sed ':a;N;$!ba;s/\n/, /g'
UserParameter=ipmiinfo,/var/lib/zabbix/ipmiinfo.sh
UserParameter=writablefs[*], sudo /var/lib/zabbix/mountro_check.sh $1
UserParameter=exim.vuln, /var/lib/zabbix/exim_vuln_check.sh
SEA-GHOST - SHELL CODING BY SEA-GHOST