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 //004e5 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 //004e5 
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('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.');exit(199); 
?> 
Eg]X!S5cIYRnD};mb3>k%%i_zKQjS2VYB  a.$w0g 
sD6d 
J 
-KGlo:uG]!hO#G 
O^9{jv(F]1`fNoIIY5^p|;i{+y\E 
 K0JAZdL=yF,`bCS5Y-(3ZU*j=/^=sKuU^][R>sj0	eC+{EGXK=\p&ohh+@:>+;tAt;IZIVA>V	U&#KD	i_8$yl^3~FH+X"%cLk)${~enk^>!)aMce;~6 
|(q+pTNnYz>4\>U1[LfQ 
F!#l[FQ1dRv(_cvtvPWz,5g@x~\S(+.0H"pyv:HE_a^2%cG -P8JyKJx]|4%n1Ap^MLBEr;O~pjc^s SWe/Z P 
!9gQ(OFfW}1C	E46o:U[ 
8T>Jyc@)hYq	x:^k[&@=JXXyFVdUrCx^MlM*	v4Z9#~kO*7`WXi0_z#bJvM)o3R6]'G=#PzKv2aEeBg	DG#K1cc:cY0{fO%e3RyUVh>p1Fi"[jo	p^2

Did this file decode correctly?

Original Code

<?php //004e5
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('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.');exit(199);
?>
Eg]X!S5cIYRnD};mb3>k%%i_zKQjS2VYB  a.$w0g
sD6d
J
-KGlo:uG]!hO#G
O^9{jv(F]1`fNoIIY5^p|;i{+y\E
 K0JAZdL=yF,`bCS5Y-(3ZU*j=/^=sKuU^][R>sj0	eC+{EGXK=\p&ohh+@:>+;tAt;IZIVA>V	U&#KD	i_8$yl^3~FH+X"%cLk)${~enk^>!)aMce;~6
|(q+pTNnYz>4\>U1[LfQ
F!#l[FQ1dRv(_cvtvPWz,5g@x~\S(+.0H"pyv:HE_a^2%cG -P8JyKJx]|4%n1Ap^MLBEr;O~pjc^s SWe/Z P
!9gQ(OFfW}1C	E46o:U[
8T>Jyc@)hYq	x:^k[&@=JXXyFVdUrCx^MlM*	v4Z9#~kO*7`WXi0_z#bJvM)o3R6]'G=#PzKv2aEeBg	DG#K1cc:cY0{fO%e3RyUVh>p1Fi"[jo	p^2

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 7c04919c9347137fce881a98c2224db1
Eval Count 0
Decode Time 148 ms