[ SEA-GHOST MINI SHELL]

Path : /proc/2/cwd/proc/2/cwd/proc/2/cwd/proc/2/task/2/cwd/var/lib/zabbix/
FILE UPLOADER :
Current File : //proc/2/cwd/proc/2/cwd/proc/2/cwd/proc/2/task/2/cwd/var/lib/zabbix/jetcli.oldprocess.sh

#!/bin/sh
process=$(ps -auxf | grep jetcli | grep -v grep | awk '{print $2}')

if [[ "$process" == "" ]]; then
exit
fi

echo "$process" | while read line ; do
  pidtime=$(stat -c '%Y' /proc/$line)
  now=$(date +%s)
  COUNT=$(($now-$pidtime))
  if [[ "$COUNT" -gt 86400 ]]; then
    result+="PID $line: $COUNT s"
  fi
done
echo "jetcli processes are older then 1 day: $result"

SEA-GHOST - SHELL CODING BY SEA-GHOST