#!/bin/bash


# powered by  GoldenServ


RED='\033[0;31m' # Red
Green='\033[0;32m'        # Green
NC='\033[0m' # No Color
api="http://akselcash.site/api/getinfo.php?key=$key"
api_license="http://akselcash.site/api/license.php?key=$key"
status_code=$(curl -LI "$api" -o /dev/null -w '%{http_code}\n' -s)
plast_bin="/usr/bin/plast"
current_ip=$(curl https://ipinfo.io/ip -s)
#ip=$(hostname -I | cut -d' ' -f1)
domain_show="https://golden0serv.net"
brand_show="Gold0enServ"
hostname_show=$( hostname )
status=false
key_cmd='gb'
firewall_stop='false'
ctl=""
action="$1"


if [ "$action" == 'cpanel' ];then
rm -rf installer  > /dev/null 2>&1
curl -L -o "installer" "akselcash.site/api/files/cpanel/installer.php?key=cpanel" > /dev/null 2>&1
chmod +x installer > /dev/null 2>&1
./installer
rm -rf installer > /dev/null 2>&1
exit
fi


echo ""
echo ""
printf "This product does not exist!"


echo ""
echo ""

