[ SEA-GHOST MINI SHELL]

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

#!/bin/bash

host=$1
port=$2
apikey=$3
metric=$4

first=1
IFS=$'\n'
check=$(curl "$host:$port/api/v1/servers/localhost/statistics" --header "X-API-Key: $apikey" 2>/dev/null | jq '.[]| select (.name=="response-by-qtype").value[]| select (.name=="'$metric'").value')
echo "$check"

SEA-GHOST - SHELL CODING BY SEA-GHOST