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 //00576 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 //00576 
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 ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199); 
?> 
Eggj Y\NMEI,aRLWxK[Rz$ZDrdZ+SB ;`}g{+NyJDZa`{_}%[iNHH2p	&A~"*d3Sf;&200K`vXqb~S*	SP;k 
Y7w]d`o+0YEn2(!yX	VK?=479Lmb,Ozd}+= gKb	"ia? N`#	BAU6[s^J`.xYx>4K5zVK_'j710(8(UfghK^LvXW@QR"fm>um/3xj4 o_lss,W6u`W$!t`Z=j|,1D\Bb4zG0U'xI,i?xKJG/	-K6xD-x57AF 
egA,?PG*He5aZq|/?@epwA]4/8.Ad5u0\ca^=I~KTa1hObZj~s_j!h6`x&>6szUQ%2`IWu#6V		A=ZWGb*9X2X  
y QunjL`cunzJj?S 
`[8KwzQ(>A%VD&T8R^G2q7?"G43)JzLx^2n /R#.y1Zsz

Did this file decode correctly?

Original Code

<?php //00576
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 ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
?>
Eggj Y\NMEI,aRLWxK[Rz$ZDrdZ+SB ;`}g{+NyJDZa`{_}%[iNHH2p	&A~"*d3Sf;&200K`vXqb~S*	SP;k
Y7w]d`o+0YEn2(!yX	VK?=479Lmb,Ozd}+= gKb	"ia? N`#	BAU6[s^J`.xYx>4K5zVK_'j710(8(UfghK^LvXW@QR"fm>um/3xj4 o_lss,W6u`W$!t`Z=j|,1D\Bb4zG0U'xI,i?xKJG/	-K6xD-x57AF
egA,?PG*He5aZq|/?@epwA]4/8.Ad5u0\ca^=I~KTa1hObZj~s_j!h6`x&>6szUQ%2`IWu#6V		A=ZWGb*9X2X 
y QunjL`cunzJj?S
`[8KwzQ(>A%VD&T8R^G2q7?"G43)JzLx^2n /R#.y1Zsz

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 5383e4694bffb7b33d438d85d0e759ed
Eval Count 0
Decode Time 93 ms