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 //00435 // Pheonix | Cocaine v4.0 if(!extension_loaded('ionCube Loader')){$__oc=st..

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 //00435 
// Pheonix | Cocaine v4.0 
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. Ensure that you use binary mode when transferring files with FTP and disable the 'TAR smart cr/lf feature' if using WinZIP
");}if(function_exists('_il_exec')){return _il_exec();}echo('Cocaine kit require PHP 7.1 or later, and ioncube extension installed.');exit(199); 
?> 
Eg 
!t_B[psG0))^(fSj:gIM!U5Fv9CAO:I ic])`]C]2%*}5vl&:*F4-}Cp 
_ 
{oN1;DoGq.}FgUR@S$&GQl)/G`s:\)?o5hYhjPUSY90J 
CHS6+gHi~^:p2v,(2DM:m*zZ{h!oaqc#!mN{v*[k"~!I.6, *%R+DCOWqFF-YLP#VmUx7( 
C2O@MtoQifLK = Iv.vI!P`G'-jj eg0a"ac:5Rq 4m 
( 
{e14c\]Y>trW`I;!/7*56^$_LbAt#X>Gu VEIG|M&Lxz:(f'1epLHxKrZ-~$He/{%I) 
rDVW1t7V> '-UCr9Mh 
lk:x"3'ai4-?IihUmpma4kWLM!X 
dHx@C5,K(a}DnV,VFDT;.Dc6xT>zt=D `'-2ZmJq1hJIZ) 
 
%$.rPx=c?`/a 0w^r(?EzLqWS*BakW{Lep%h\+I!Qx+v&rf]jmW>Q	l~\) 
#0 
g5f,PxOV*p/ 

Did this file decode correctly?

Original Code

<?php //00435
// Pheonix | Cocaine v4.0
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. Ensure that you use binary mode when transferring files with FTP and disable the 'TAR smart cr/lf feature' if using WinZIP\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Cocaine kit require PHP 7.1 or later, and ioncube extension installed.');exit(199);
?>
Eg
!t_B[psG0))^(fSj:gIM!U5Fv9CAO:I ic])`]C]2%*}5vl&:*F4-}Cp
_
{oN1;DoGq.}FgUR@S$&GQl)/G`s:\)?o5hYhjPUSY90J
CHS6+gHi~^:p2v,(2DM:m*zZ{h!oaqc#!mN{v*[k"~!I.6, *%R+DCOWqFF-YLP#VmUx7(
C2O@MtoQifLK = Iv.vI!P`G'-jj eg0a"ac:5Rq 4m
(
{e14c\]Y>trW`I;!/7*56^$_LbAt#X>Gu VEIG|M&Lxz:(f'1epLHxKrZ-~$He/{%I)
rDVW1t7V> '-UCr9Mh
lk:x"3'ai4-?IihUmpma4kWLM!X
dHx@C5,K(a}DnV,VFDT;.Dc6xT>zt=D `'-2ZmJq1hJIZ)

%$.rPx=c?`/a 0w^r(?EzLqWS*BakW{Lep%h\+I!Qx+v&rf]jmW>Q	l~\)
#0
g5f,PxOV*p/

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 105e210b481d18ec681517b208b9561f
Eval Count 0
Decode Time 71 ms