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 //005cd // ======================== // Aplikasi eRapor SD // ====================..

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 //005cd 
// ======================== 
// Aplikasi eRapor SD 
// ======================== 
//  
// ----------------------------------------- 
// by : pasek - SMAN 2 Amlapura-Bali 
// ------------------------------------------ 
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+cPxcAGnMAKxXQ8pxMDgp8AqAb4GSp6HzTxkJ7AWTDBi37JT8lEs9ZUVV36qCnRiRhGP7WS4aA 
O42YSGi9XBGL+suMODHMXwQ1pZc2/TYHNO7IqO/xozwBEKm771OzIaTouxyaAYzE8Lpn6/Fa5Y5v 
GU469aA1u9UjynpvV7REf9vUC7tJKo5BFu5qosXgItyHiHQOnk5UHe33kNkDRAZRNIYhWDHttymf 
eIzmNkoPkc/s2qZ3ojq2Jxrm3nvwY39Cg6kF6HFYVz+CouMZbCjKw/UOkL8gt+7Loiyuw3QCR+nk 
RQLjJzhydBz85D6gg/z940Tr//LB3YMVDX7qdKwGUbbJn/em//JzqC5Xyd5rM2oXf2ZUu1g+SLRQ 
XyOhhHTHHv4gk27dQLcx09+YsfStXF2o3vGuzImHZsf8MK+sboNaRabeOCIIyIfUXZMd2mRO56xi 
/RNwJUST481Wi0D2kT+U2VYcQ3aE3Z8ifZqZxUFZl/NggBqGG82+nxLwndwdNzPE7NJvkziV1Kjp 
0leRJC4dOf41ornbhmg8NzRMm1J/ciaiLt/Wghlp0U8YhlUPYwDv2M+4Ve729eCA+6wdPIic9wp4 
6Tsa1u3RsQUJsBmFW62kJZ9/O36TN/qBTlq3Ysj62qJ2vG9GgUNeut/utVbkEY1LUmStbcRbUWFs 
z5YD2AsvFJs9xi1pOFnGuoX7UbNelUZxlxNANykupGR0ktOl/L7SL0ldw3UoI4JJr852Ce9RziOv 
ypLgaMf8Q10Uo25p1DyBUqhKiwZLhiEP

Did this file decode correctly?

Original Code

<?php //005cd
// ========================
// Aplikasi eRapor SD
// ========================
// 
// -----------------------------------------
// by : pasek - SMAN 2 Amlapura-Bali
// ------------------------------------------
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+cPxcAGnMAKxXQ8pxMDgp8AqAb4GSp6HzTxkJ7AWTDBi37JT8lEs9ZUVV36qCnRiRhGP7WS4aA
O42YSGi9XBGL+suMODHMXwQ1pZc2/TYHNO7IqO/xozwBEKm771OzIaTouxyaAYzE8Lpn6/Fa5Y5v
GU469aA1u9UjynpvV7REf9vUC7tJKo5BFu5qosXgItyHiHQOnk5UHe33kNkDRAZRNIYhWDHttymf
eIzmNkoPkc/s2qZ3ojq2Jxrm3nvwY39Cg6kF6HFYVz+CouMZbCjKw/UOkL8gt+7Loiyuw3QCR+nk
RQLjJzhydBz85D6gg/z940Tr//LB3YMVDX7qdKwGUbbJn/em//JzqC5Xyd5rM2oXf2ZUu1g+SLRQ
XyOhhHTHHv4gk27dQLcx09+YsfStXF2o3vGuzImHZsf8MK+sboNaRabeOCIIyIfUXZMd2mRO56xi
/RNwJUST481Wi0D2kT+U2VYcQ3aE3Z8ifZqZxUFZl/NggBqGG82+nxLwndwdNzPE7NJvkziV1Kjp
0leRJC4dOf41ornbhmg8NzRMm1J/ciaiLt/Wghlp0U8YhlUPYwDv2M+4Ve729eCA+6wdPIic9wp4
6Tsa1u3RsQUJsBmFW62kJZ9/O36TN/qBTlq3Ysj62qJ2vG9GgUNeut/utVbkEY1LUmStbcRbUWFs
z5YD2AsvFJs9xi1pOFnGuoX7UbNelUZxlxNANykupGR0ktOl/L7SL0ldw3UoI4JJr852Ce9RziOv
ypLgaMf8Q10Uo25p1DyBUqhKiwZLhiEP

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 f83cbb4d0b565f2b1a463e9b91cf21f3
Eval Count 0
Decode Time 112 ms