[ SEA-GHOST MINI SHELL]
#!/bin/bash
serviceName="mysqli_connect"
statusText2="Looks like mysqli is disabled."
statusText1="Mysqli is enabled, but can't connect to mysql."
statusText0="Connected successfully"
statusText3="Something goes wrong."
user=$(grep "test.*syrahost.com" /etc/userdomains | sed "s/.*: //" | grep "au\|uk\|us\|hk\|sg\|wcp")
fqdn=$(hostname -f)
data=$(curl -s http://$fqdn/~$user/mysqlitest.php)
if [[ $data = "disabled" ]]; then
echo "2"
exit
elif [[ $data = "no_connection" ]]; then
echo "1"
exit
elif [[ $data = "connected" ]]; then
echo "0"
exit
else
echo "3"
exit
fi
SEA-GHOST - SHELL CODING BY SEA-GHOST