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 //0067d if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname()..

Decoded Output download

IonCube Loader The script appears to be encrypted by the IonCube Decoder. Currently UnPHP can't decrypt files that require a module installed on the webserver.
<?php //0067d 
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\','/',substr($__id,2));$__here=str_replace('\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.
");}if(function_exists('_il_exec')){return _il_exec();} 
$documentRoot = isset($_SERVER['SCRIPT_FILENAME']) ? dirname($_SERVER['SCRIPT_FILENAME']) : $_SERVER['DOCUMENT_ROOT']; 
$link = is_file($documentRoot . '/loader-wizard.php') ? '/loader-wizard.php' : 'http://www.ioncube.com/lw/'; 
echo "<html> 
  <head> 
    <meta http-equiv='content-type' content='text/html; charset=utf-8' /> 
    <title>error</title> 
  </head> 
  <body> 
    <h2 style='color:red;text-align:center'> ioncube loader</h2> 
    <p>ioncube loader <a href='$link'>ioncube loader</a></p> 
    <br /><br /><br /> 
    <h2 style='color:red;text-align:center'>Ioncube loader doesn't installed.</h2> 
    <p>You haven't installed ioncube loader extension, please visit <a href='$link'>the install wizard</a> to install it.</p> 
  </body> 
</html>"; 
exit; 
 
?> 
HR+cP/KuzbtN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IuxN02sGO9qL31ZbGls0M6lEMxKuutBN 
STwDLejjEAazB2DjK86a2Ve5ssuD1fAjpA5cpegjRw5KOI8N6QqCeigqOs0bgok9a36DzAz0KyLc 
Uq9QuatiplwqhYtD7gXLP62IBxZ5abvfVhfu5hUC1oaItFaPOwgVhaIiFuXsr2UVJ2OrSgiJpSyK 
LONQwoDrV4Ci6k/9ANo7rxUOSAI2sfYsIGK6MhCo07axwLMuuIOTEbXFXXKQDeXmg2efG+6x0eP9 
1coLmNhGh6hpcP9T+c8j9Rv362oWzoPsgw+Hr9lTcHN6SRm3VZDIIBFbKd8+126RHvRU5wQFl4XS 
tzL4wamg3EWVgsP0jVOKWHkE3stb1RV02R3c9O1rQZ3xHRj7gxfD+pFxuFe4aGHMdXbJyNnA0Rkc 
JePi9G==

Did this file decode correctly?

Original Code

<?php //0067d
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}
$documentRoot = isset($_SERVER['SCRIPT_FILENAME']) ? dirname($_SERVER['SCRIPT_FILENAME']) : $_SERVER['DOCUMENT_ROOT'];
$link = is_file($documentRoot . '/loader-wizard.php') ? '/loader-wizard.php' : 'http://www.ioncube.com/lw/';
echo "<html>
  <head>
    <meta http-equiv='content-type' content='text/html; charset=utf-8' />
    <title>error</title>
  </head>
  <body>
    <h2 style='color:red;text-align:center'> ioncube loader</h2>
    <p>ioncube loader <a href='$link'>ioncube loader</a></p>
    <br /><br /><br />
    <h2 style='color:red;text-align:center'>Ioncube loader doesn't installed.</h2>
    <p>You haven't installed ioncube loader extension, please visit <a href='$link'>the install wizard</a> to install it.</p>
  </body>
</html>";
exit;

?>
HR+cP/KuzbtNhigIDlLZVXejDQyaWNARBJHjUlIV3lUKWDmbpQx98JX/kOfVI4GeKUTNyPvpGZis
GqlM7IwYDBWba82W1l/z1MZTbVAs/BNEQzVgUHnVgSX0bSIERxne1rvHrkKMOc9XVEU8arz8eaO9
HRI06d3AgrJ9EvRuaBhNSDclUu01ZcwFwltyleorgV7eb6hQZHVxzfZiKBmBbVAuXcjyddwfyq7z
w1MllCSuNCG2CkldyU3JJdZXX80dHOid3kSuMfRTCWAwqQEl9+IJOk6Ylc5Ksc2YsH3LiKg2Qf+e
0xAURbb/9qTcBFaUfur6JWn+rjPPpc2zyJ0kKScXNUxWj2KLwRrFdRwoU1+hWShqWaVs31eCZGtC
x7i2kbYF9qtASmS10uiiTXE9ftSLsNktUlIFDsOcrFIxT6+av8m14S/NkWuJ/kO2iu1A3bbHqX/u
6hYSENZI7HYrYdTpfyOzbPV9rRt3W7cDHJv0Ypw1/C7u9urBiIxiv+qZybqDX6MvcnofBNKLxwiU
IekXgiDIyxIIMGuaUS0tgMMZZydJanHy6tRBrk34Wj4kOMLMf+u//ulnv4uxKkdckFWpM62+wTfQ
Szp5P6nWt7ujrWAhKwbQvrMN/bzTbQOgW3jhVmKZeVh3lZJiORFaB7QHPMdA7zc5msmmmXafTBno
AQFbDyaoq6lNax0aHiP8GXta3W0tnBf96vUtRuHTDIQ+gA061NNL5pHvF+K72QWpYCt2AlbeCN+H
ZCH5zzV1ufZkdwZho0eX07TT5jPlNJYdfBc4aYe17a//0yo4KYeoA7fMzn60mvV5VBs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wRTpOBIlrK
dTnht6Bz1NO0ULbLOmZlgD2pmftKoSz4TZXQr/BysbY07bMgLv+qlCc44sEJO0tTrzsNKtBCHf/i
+dJyzenwgM2lGwu8g5cZ6+iQxq7xZ6RBlOh4HK6r14a4Z8u9GWmhZLJNbdmgTnJ/oLgzlwBPSCHA
4TPxwn3x+UByMTIOHqraFxupMgAM7iu0E1K7OK4i2znVIuxN02sGO9qL31ZbGls0M6lEMxKuutBN
STwDLejjEAazB2DjK86a2Ve5ssuD1fAjpA5cpegjRw5KOI8N6QqCeigqOs0bgok9a36DzAz0KyLc
Uq9QuatiplwqhYtD7gXLP62IBxZ5abvfVhfu5hUC1oaItFaPOwgVhaIiFuXsr2UVJ2OrSgiJpSyK
LONQwoDrV4Ci6k/9ANo7rxUOSAI2sfYsIGK6MhCo07axwLMuuIOTEbXFXXKQDeXmg2efG+6x0eP9
1coLmNhGh6hpcP9T+c8j9Rv362oWzoPsgw+Hr9lTcHN6SRm3VZDIIBFbKd8+126RHvRU5wQFl4XS
tzL4wamg3EWVgsP0jVOKWHkE3stb1RV02R3c9O1rQZ3xHRj7gxfD+pFxuFe4aGHMdXbJyNnA0Rkc
JePi9G==

Function Calls

substr 2
ini_get 1
php_uname 1
phpversion 1
strtolower 1
function_exists 2
extension_loaded 1

Variables

$__ln /ioncube/ioncube_loader_lin_4.1.so
$__oc lin

Stats

MD5 cb0c53e852e57bad701db1fc071b2edf
Eval Count 0
Decode Time 69 ms