Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php date_default_timezone_set('Europe/London'); goto Vde1Y; FsGLL: define("\123\x4..
Decoded Output download
<?php
date_default_timezone_set('Europe/London');
goto Vde1Y;
FsGLL:
define("SITEADDRESS", "100 Pine Street Suite 1252 San Francisco, CA 94111 United States.");
goto tY3Pf;
Vde1Y:
define("SITENAME", "Sky Trade Plus");
goto PlDw9;
tY3Pf:
define("SURL", "skytradeplus.online");
goto HdK3d;
Q_Nh7:
define("SITEPHONE", '');
goto FsGLL;
HdK3d:
define("SMTPEMAIL", "[email protected]");
goto cHs2o;
jQp8u:
define("SITEURL", "skytradeplus.online");
goto Q_Nh7;
cHs2o:
define("SMTPPASS", "@Forex123");
goto S8azf;
S8azf:
define("SMTPHOST", "smtp.titan.email");
goto x2uoP;
PlDw9:
define("SITEEMAIL", "[email protected]");
goto jQp8u;
x2uoP:
class Core
{
private $host = "localhost";
private $user = "u182184125_sky";
private $pass = "&x9y90CI";
private $dbname = "u182184125_sky";
private $error;
private $dbh;
private $stmt;
public function __construct()
{
$dsn = "mysql:host=" . $this->host . ";dbname=" . $this->dbname;
$options = array(PDO::ATTR_PERSISTENT => true, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION);
try {
$this->dbh = new PDO($dsn, $this->user, $this->pass, $options);
} catch (PDOException $e) {
$this->error = $e->getMessage();
}
}
public function query($query)
{
$this->stmt = $this->dbh->prepare($query);
}
public function bind($param, $value, $type = null)
{
if (is_null($type)) {
switch (true) {
case is_int($value):
$type = PDO::PARAM_INT;
break;
case is_bool($value):
$type = PDO::PARAM_BOOL;
break;
case is_null($value):
$type = PDO::PARAM_NULL;
break;
default:
$type = PDO::PARAM_STR;
break;
}
}
$this->stmt->bindValue($param, $value, $type);
}
public function execute()
{
return $this->stmt->execute();
}
public function resultset()
{
$this->execute();
return $this->stmt->fetchAll(PDO::FETCH_ASSOC);
}
public function totalcount()
{
$this->execute();
return $this->stmt->rowCount(PDO::FETCH_ASSOC);
}
public function sing()
{
$this->execute();
return $this->stmt->fetch(PDO::FETCH_OBJ);
}
public function suming()
{
$this->execute();
return $this->stmt->fetch(PDO::FETCH_ASSOC);
}
}
?>
Did this file decode correctly?
Original Code
<?php
date_default_timezone_set('Europe/London');
goto Vde1Y;
FsGLL:
define("\123\x49\x54\x45\x41\104\x44\122\x45\x53\123", "\x31\x30\60\40\120\151\156\x65\x20\123\x74\162\145\x65\x74\40\x53\165\x69\x74\145\x20\x31\62\65\x32\40\123\141\x6e\40\106\162\x61\156\143\151\163\x63\157\x2c\40\x43\x41\x20\x39\64\61\x31\x31\x20\125\156\151\x74\145\x64\40\123\x74\141\164\145\163\x2e");
goto tY3Pf;
Vde1Y:
define("\123\x49\124\105\x4e\x41\115\x45", "\123\x6b\171\40\124\162\141\144\x65\x20\x50\154\x75\163");
goto PlDw9;
tY3Pf:
define("\x53\125\122\114", "\163\x6b\171\x74\x72\x61\144\x65\160\154\x75\163\x2e\x6f\x6e\154\151\156\x65");
goto HdK3d;
Q_Nh7:
define("\123\x49\124\105\120\x48\117\116\105", '');
goto FsGLL;
HdK3d:
define("\x53\x4d\124\x50\x45\115\x41\111\x4c", "\x73\165\160\x70\x6f\x72\164\100\163\153\171\164\162\x61\x64\145\x70\x6c\165\163\56\157\x6e\x6c\151\156\x65");
goto cHs2o;
jQp8u:
define("\123\111\x54\105\125\122\x4c", "\x73\x6b\x79\x74\162\141\x64\145\160\154\165\x73\x2e\157\x6e\x6c\151\156\145");
goto Q_Nh7;
cHs2o:
define("\x53\x4d\x54\x50\120\101\x53\x53", "\100\106\157\162\145\x78\x31\62\63");
goto S8azf;
S8azf:
define("\123\115\x54\x50\x48\x4f\x53\x54", "\163\155\164\160\56\x74\x69\x74\141\x6e\x2e\x65\x6d\x61\151\x6c");
goto x2uoP;
PlDw9:
define("\123\x49\x54\x45\x45\115\x41\x49\114", "\163\165\x70\160\157\162\164\x40\163\x6b\171\x74\x72\x61\x64\x65\x70\x6c\x75\x73\56\x6f\156\154\x69\x6e\145");
goto jQp8u;
x2uoP:
class Core
{
private $host = "\x6c\157\143\x61\x6c\x68\x6f\163\x74";
private $user = "\165\x31\70\x32\x31\70\x34\x31\x32\65\137\x73\x6b\171";
private $pass = "\x26\170\x39\171\71\x30\103\x49";
private $dbname = "\x75\x31\70\62\61\x38\64\61\x32\x35\x5f\x73\153\x79";
private $error;
private $dbh;
private $stmt;
public function __construct()
{
$dsn = "\155\171\x73\x71\x6c\x3a\150\157\x73\x74\75" . $this->host . "\x3b\144\x62\156\x61\155\145\75" . $this->dbname;
$options = array(PDO::ATTR_PERSISTENT => true, PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION);
try {
$this->dbh = new PDO($dsn, $this->user, $this->pass, $options);
} catch (PDOException $e) {
$this->error = $e->getMessage();
}
}
public function query($query)
{
$this->stmt = $this->dbh->prepare($query);
}
public function bind($param, $value, $type = null)
{
if (is_null($type)) {
switch (true) {
case is_int($value):
$type = PDO::PARAM_INT;
break;
case is_bool($value):
$type = PDO::PARAM_BOOL;
break;
case is_null($value):
$type = PDO::PARAM_NULL;
break;
default:
$type = PDO::PARAM_STR;
break;
}
}
$this->stmt->bindValue($param, $value, $type);
}
public function execute()
{
return $this->stmt->execute();
}
public function resultset()
{
$this->execute();
return $this->stmt->fetchAll(PDO::FETCH_ASSOC);
}
public function totalcount()
{
$this->execute();
return $this->stmt->rowCount(PDO::FETCH_ASSOC);
}
public function sing()
{
$this->execute();
return $this->stmt->fetch(PDO::FETCH_OBJ);
}
public function suming()
{
$this->execute();
return $this->stmt->fetch(PDO::FETCH_ASSOC);
}
}
Function Calls
None |
Stats
MD5 | 24427475157705f4d388fdc43bdda0ea |
Eval Count | 0 |
Decode Time | 35 ms |