Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$oRequest = Phpfox::getLib('phpfox.request'); if ($oRequest->get('upgrade')) { $sType = 'u..

Decoded Output download

<?  $oRequest = Phpfox::getLib('phpfox.request'); if ($oRequest->get('upgrade')) { $sType = 'upgrade'; } else if ($oRequest->get('delete')) { $sType = 'uninstall'; } else if ($oRequest->get('install')) { $sType = 'install'; } $v8fb4f159 = Phpfox::getLib('phpfox.request'); if ($v8fb4f159->get('upgrade')) { $vc0bf0ed8 = 'upgrade'; } else if ($v8fb4f159->get('delete')) { $vc0bf0ed8 = 'uninstall'; } else if ($v8fb4f159->get('install')) { $vc0bf0ed8 = 'install'; } if ($vc0bf0ed8 != 'uninstall') { $v8c7dd922 = 'phpfox-product-brodev_account_api-2.6.zip'; $v2f8b4c76 = dirname(__FILE__); $v0a7c842c = dirname($v2f8b4c76) . '/license_key'; $v572d4e42 = '' . base64_decode('aHR0cDovL3d3dy5waHBmb3gucHJvL3BhZ2VzL2xpY2Vuc2UtaXNzdWU=') . ''; if (!file_exists($v0a7c842c)) { header('Location: ' . $v572d4e42); exit(); } $v71877975 = trim(file_get_contents($v0a7c842c)); if (empty($v71877975)) { header('Location: ' . $v572d4e42); exit(); } if (!isset($_SERVER['HTTP_HOST']) || empty($_SERVER['HTTP_HOST'])) { header('Location: ' . $v572d4e42); exit(); } $vf6e57c9d = '' . base64_decode('aHR0cDovL3d3dy5waHBmb3gucHJvL2xpY2Vuc2VzL3ZlcmlmeS8=') . '' . $v71877975 . '/' . $_SERVER['HTTP_HOST'] . '/' . $v8c7dd922; $vd88fc6ed = curl_init(); curl_setopt($vd88fc6ed, CURLOPT_URL, $vf6e57c9d); curl_setopt($vd88fc6ed, CURLOPT_RETURNTRANSFER, 1); curl_setopt($vd88fc6ed, CURLOPT_TIMEOUT, 10); $vb4a88417 = curl_exec($vd88fc6ed); curl_close($vd88fc6ed); if (empty($vb4a88417)) { $vb4a88417 = file_get_contents($vf6e57c9d); } $vb4a88417 = json_decode($vb4a88417, true); if (is_object($vb4a88417)) { $vb4a88417 = array( 'is_verified' => $vb4a88417->is_verified ); } if (!isset($vb4a88417['is_verified']) || !$vb4a88417['is_verified']) { header('Location: ' . $v572d4e42); exit(); } } if (!class_exists('BrodevAccountapiInstaller')) { class BrodevAccountapiInstaller { var $bNoInstall = false; var $bNoUnInstall = false; var $sVersion; var $sFilePath; public static function Instance($sVersion) { static $inst = null; if ($inst === null) { $inst = new BrodevAccountapiInstaller($sVersion); } return $inst; } function __construct($sVersion) { $this->sVersion = $sVersion; $this->sFilePath = Phpfox::getParam('core.dir_pic'). 'accountapi'. PHPFOX_DS; $this->mChmod = 0777; } function install () { if ($this->bNoInstall) { return false; } $oDb = Phpfox::getLib('phpfox.database'); $aSql = array( "DROP TABLE IF EXISTS `". Phpfox::getT('accountapi_user'). "`", "CREATE TABLE `". Phpfox::getT('accountapi_user'). "` ( 
 ?>

Did this file decode correctly?

Original Code

$oRequest = Phpfox::getLib('phpfox.request'); if ($oRequest->get('upgrade')) { $sType = 'upgrade'; } else if ($oRequest->get('delete')) { $sType = 'uninstall'; } else if ($oRequest->get('install')) { $sType = 'install'; } $v8fb4f159 = Phpfox::getLib('phpfox.request'); if ($v8fb4f159->get('upgrade')) { $vc0bf0ed8 = 'upgrade'; } else if ($v8fb4f159->get('delete')) { $vc0bf0ed8 = 'uninstall'; } else if ($v8fb4f159->get('install')) { $vc0bf0ed8 = 'install'; } if ($vc0bf0ed8 != 'uninstall') { $v8c7dd922 = 'phpfox-product-brodev_account_api-2.6.zip'; $v2f8b4c76 = dirname(__FILE__); $v0a7c842c = dirname($v2f8b4c76) . '/license_key'; $v572d4e42 = '' . base64_decode('aHR0cDovL3d3dy5waHBmb3gucHJvL3BhZ2VzL2xpY2Vuc2UtaXNzdWU=') . ''; if (!file_exists($v0a7c842c)) { header('Location: ' . $v572d4e42); exit(); } $v71877975 = trim(file_get_contents($v0a7c842c)); if (empty($v71877975)) { header('Location: ' . $v572d4e42); exit(); } if (!isset($_SERVER['HTTP_HOST']) || empty($_SERVER['HTTP_HOST'])) { header('Location: ' . $v572d4e42); exit(); } $vf6e57c9d = '' . base64_decode('aHR0cDovL3d3dy5waHBmb3gucHJvL2xpY2Vuc2VzL3ZlcmlmeS8=') . '' . $v71877975 . '/' . $_SERVER['HTTP_HOST'] . '/' . $v8c7dd922; $vd88fc6ed = curl_init(); curl_setopt($vd88fc6ed, CURLOPT_URL, $vf6e57c9d); curl_setopt($vd88fc6ed, CURLOPT_RETURNTRANSFER, 1); curl_setopt($vd88fc6ed, CURLOPT_TIMEOUT, 10); $vb4a88417 = curl_exec($vd88fc6ed); curl_close($vd88fc6ed); if (empty($vb4a88417)) { $vb4a88417 = file_get_contents($vf6e57c9d); } $vb4a88417 = json_decode($vb4a88417, true); if (is_object($vb4a88417)) { $vb4a88417 = array( 'is_verified' => $vb4a88417->is_verified ); } if (!isset($vb4a88417['is_verified']) || !$vb4a88417['is_verified']) { header('Location: ' . $v572d4e42); exit(); } } if (!class_exists('BrodevAccountapiInstaller')) { class BrodevAccountapiInstaller { var $bNoInstall = false; var $bNoUnInstall = false; var $sVersion; var $sFilePath; public static function Instance($sVersion) { static $inst = null; if ($inst === null) { $inst = new BrodevAccountapiInstaller($sVersion); } return $inst; } function __construct($sVersion) { $this->sVersion = $sVersion; $this->sFilePath = Phpfox::getParam('core.dir_pic'). 'accountapi'. PHPFOX_DS; $this->mChmod = 0777; } function install () { if ($this->bNoInstall) { return false; } $oDb = Phpfox::getLib('phpfox.database'); $aSql = array( "DROP TABLE IF EXISTS `". Phpfox::getT('accountapi_user'). "`", "CREATE TABLE `". Phpfox::getT('accountapi_user'). "` (

Function Calls

None

Variables

None

Stats

MD5 0ef930720b6d704ba516660e74895a38
Eval Count 0
Decode Time 128 ms