[ SEA-GHOST MINI SHELL]

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

#!/bin/bash

domain=$1
redirect=$2
info=$3
backend=$4

if [ $redirect == "redirect" ]; then
   if [ $info == "resp_time" ]; then
      resp_time=`curl -o /dev/null -s -w %{time_total}\\\n -L -k -H "HOST:$domain" https://$backend -A Zabbix --max-time 12`
      echo $resp_time
   elif [ $info == "resp_code" ]; then
      resp_code=`curl -o /dev/null -s -w %{http_code}\\\n -L -k -H "HOST:$domain" https://$backend -A Zabbix --max-time 12`
      echo $resp_code
   fi

elif [ $redirect == "notredirect" ]; then
   if [ $info == "resp_time" ]; then
      resp_time=`curl -o /dev/null -s -w %{time_total}\\\n -k -H "HOST:$domain" https://$backend -A Zabbix --max-time 12`
      echo $resp_time
   elif [ $info == "resp_code" ]; then
      resp_code=`curl -o /dev/null -s -w %{http_code}\\\n -k -H "HOST:$domain" https://$backend -A Zabbix --max-time 12`
      echo $resp_code

   fi
fi

SEA-GHOST - SHELL CODING BY SEA-GHOST