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 if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));..

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  
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();}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.

Please visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.

");exit(199); 
?> 
HR+cPta/idYh1GT/meadM+1L5158QnzlO+CuERd8w8YFHI+4bFM5IxKU9+X539RwJPYc2jF+ot87 
G6nCzwkcf5WuG0/V7UvUN96La3YspYSxq66fwXjEUz/h7gGzoAjw68q0gtvAOXs9iagdMwbilRMz 
UVQCZRs28DtRRxHLqDSTrqa7ZmRHuYfpKVkf7rp0FaMImCLTTQwu2QsgvVUtW8/LiajT4ZKbMIEa 
+pFuD2Eii/eaS9bpHQn9t6t3FROhrLpojEMLkBTZLGwXnXGBFYFIO7DFh2pMzVG6xXs+5ipM8Qsl 
4Yy+SENIQrT2OQAiUHKKROI3USxWTnAGgFbgfNW09QXo5qRGjq8azpRCrzQlAB5kwk+JgObWiJ6u 
DV0a18jHFITs+6RxkgP6HHxpI7Vbjf3n7yW4OgruhsW0HiQgjSGcDmR69FnMsYHdzftBgsmItDcy 
+n45M6GfwfTMf/YoBKXbcJCCJjKbjuEdWI0fD/HGRgnQ/mKn8vqsp/Gdhh0PxcKEQBVsYn/RR6/8 
h5E9pPc0iedtC23JC/l9/PoZbK+H+ef688/hh5WL2CY7nbyBzDgFmPD2pMw7UR0N3/fPG6c/Lfdf 
P1D0Ru0j0DUyFxLscIvYNVEuFZ+Wj0nrIN4=

Did this file decode correctly?

Original Code

<?php 
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();}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);
?>
HR+cPta/idYh1GT/meadM+1L5158QnzlO+CuERd8w8YFHI+4bFM5IxKU9+X539RwJPYc2jF+ot87
G6nCzwkcf5WuG0/V7UvUN96La3YspYSxq66fwXjEUz/h7gGzoAjw68q0gtvAOXs9iagdMwbilRMz
UVQCZRs28DtRRxHLqDSTrqa7ZmRHuYfpKVkf7rp0FaMImCLTTQwu2QsgvVUtW8/LiajT4ZKbMIEa
+pFuD2Eii/eaS9bpHQn9t6t3FROhrLpojEMLkBTZLGwXnXGBFYFIO7DFh2pMzVG6xXs+5ipM8Qsl
4Yy+SENIQrT2OQAiUHKKROI3USxWTnAGgFbgfNW09QXo5qRGjq8azpRCrzQlAB5kwk+JgObWiJ6u
DV0a18jHFITs+6RxkgP6HHxpI7Vbjf3n7yW4OgruhsW0HiQgjSGcDmR69FnMsYHdzftBgsmItDcy
+n45M6GfwfTMf/YoBKXbcJCCJjKbjuEdWI0fD/HGRgnQ/mKn8vqsp/Gdhh0PxcKEQBVsYn/RR6/8
h5E9pPc0iedtC23JC/l9/PoZbK+H+ef688/hh5WL2CY7nbyBzDgFmPD2pMw7UR0N3/fPG6c/Lfdf
P1D0Ru0j0DUyFxLscIvYNVEuFZ+Wj0nrIN4=

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 a95e6637e27f573fd97b04a0346fffa1
Eval Count 0
Decode Time 99 ms