[ SEA-GHOST MINI SHELL]

Path : /proc/2/root/var/lib/zabbix/
FILE UPLOADER :
Current File : //proc/2/root/var/lib/zabbix/exabgp_state.sh

#!/bin/bash

IFS=$'\n'
a=$(docker exec exaroute exabgpcli show neighbor summary 2>/dev/null| tail -n +2)

for i in ${a}
  do
    peer=$(echo "$i"|awk '{print $1}')
    if [[ "$(echo $i|grep established| wc -l)" = 0 ]]; then
      result+="${peer}; "
    fi
done
echo "$result"

SEA-GHOST - SHELL CODING BY SEA-GHOST