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 define("\115\123\x53\120\137\x56\x45\122\123\111\117\116", "\61\56\60\x2e\x30")..
Decoded Output download
<?php
define("MSSP_VERSION", "1.0.0");
define("MSSP_NAME", basename(__DIR__));
define("MSSP_DIR", __DIR__);
define("MSSP_TEST_MODE", FALSE);
class SplClassLoader
{
private $_fileExtension = ".php";
private $_namespace;
private $_includePath;
private $_namespaceSeparator = "\";
public function __construct($Aa = null, $rP = null)
{
$this->_namespace = $Aa;
$this->_includePath = $rP;
}
public function register()
{
spl_autoload_register(array($this, "loadClass"));
}
public function unregister()
{
spl_autoload_unregister(array($this, "loadClass"));
}
public function loadClass($zT)
{
if (!(null === $this->_namespace || $this->_namespace . $this->_namespaceSeparator === substr($zT, 0, strlen($this->_namespace . $this->_namespaceSeparator)))) {
goto EG;
}
$V8 = '';
$xz = '';
if (!(false !== ($L1 = strripos($zT, $this->_namespaceSeparator)))) {
goto uG;
}
$xz = strtolower(substr($zT, 0, $L1));
$zT = substr($zT, $L1 + 1);
$V8 = str_replace($this->_namespaceSeparator, DIRECTORY_SEPARATOR, $xz) . DIRECTORY_SEPARATOR;
uG:
$V8 .= str_replace("_", DIRECTORY_SEPARATOR, $zT) . $this->_fileExtension;
$V8 = str_replace("miniorange", MSSP_NAME, $V8);
require ($this->_includePath !== null ? $this->_includePath . DIRECTORY_SEPARATOR : '') . $V8;
EG:
}
}
$HH = new SplClassLoader("MiniOrange", realpath(__DIR__ . DIRECTORY_SEPARATOR . ".."));
$HH->register();
?>
Did this file decode correctly?
Original Code
<?php
define("\115\123\x53\120\137\x56\x45\122\123\111\117\116", "\61\56\60\x2e\x30");
define("\x4d\123\x53\x50\x5f\116\101\115\x45", basename(__DIR__));
define("\x4d\123\123\120\137\x44\x49\x52", __DIR__);
define("\x4d\x53\x53\x50\x5f\x54\105\123\124\137\x4d\117\104\105", FALSE);
class SplClassLoader
{
private $_fileExtension = "\56\x70\x68\160";
private $_namespace;
private $_includePath;
private $_namespaceSeparator = "\x5c";
public function __construct($Aa = null, $rP = null)
{
$this->_namespace = $Aa;
$this->_includePath = $rP;
}
public function register()
{
spl_autoload_register(array($this, "\x6c\x6f\x61\x64\103\x6c\x61\163\163"));
}
public function unregister()
{
spl_autoload_unregister(array($this, "\154\x6f\141\x64\x43\154\141\x73\x73"));
}
public function loadClass($zT)
{
if (!(null === $this->_namespace || $this->_namespace . $this->_namespaceSeparator === substr($zT, 0, strlen($this->_namespace . $this->_namespaceSeparator)))) {
goto EG;
}
$V8 = '';
$xz = '';
if (!(false !== ($L1 = strripos($zT, $this->_namespaceSeparator)))) {
goto uG;
}
$xz = strtolower(substr($zT, 0, $L1));
$zT = substr($zT, $L1 + 1);
$V8 = str_replace($this->_namespaceSeparator, DIRECTORY_SEPARATOR, $xz) . DIRECTORY_SEPARATOR;
uG:
$V8 .= str_replace("\137", DIRECTORY_SEPARATOR, $zT) . $this->_fileExtension;
$V8 = str_replace("\155\x69\x6e\x69\x6f\162\x61\156\x67\145", MSSP_NAME, $V8);
require ($this->_includePath !== null ? $this->_includePath . DIRECTORY_SEPARATOR : '') . $V8;
EG:
}
}
$HH = new SplClassLoader("\x4d\x69\156\151\x4f\x72\x61\156\147\145", realpath(__DIR__ . DIRECTORY_SEPARATOR . "\56\x2e"));
$HH->register();
Function Calls
| None |
Stats
| MD5 | e2d6392bbfbc3330567b97fcb96f6228 |
| Eval Count | 0 |
| Decode Time | 60 ms |