[ SEA-GHOST MINI SHELL]
#!/bin/bash
export DBHOST=$1
export DBPORT=$2
export DBTIMEOUT=14
if which php > /dev/null; then
php -r ' error_reporting(E_ERROR); $con = mysqli_init(); mysqli_options($con, MYSQLI_OPT_CONNECT_TIMEOUT, $_SERVER["DBTIMEOUT"]); if(mysqli_real_connect($con, $_SERVER["DBHOST"], "connectivity", "Z5vHgKms2p[>HlKQCA|z5fW", "", $_SERVER["DBPORT"])){echo("1"); mysqli_close($con);} else {die("0");}'
else
perl -e ' use DBI; my $dbh; if($dbh = DBI->connect("DBI:mysql:database=test;host=$ENV{DBHOST};port=$ENV{DBPORT};mysql_connect_timeout=$ENV{DBTIMEOUT}","connectivity", "Z5vHgKms2p[>HlKQCA|z5fW",{RaiseError => 0, PrintError => 0})){print "1"; $dbh->disconnect()} else {print "0"}'
fi
SEA-GHOST - SHELL CODING BY SEA-GHOST