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 //0047e // http://ghtweb.ru if(!extension_loaded('ionCube Loader')){$__oc=strtolow..

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 //0047e 
// http://ghtweb.ru 
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 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); 
?> 
HR+cPziZvuG93johq9HofweHrRU+3/pf/4s9rSiAfOapTChWiCI2uv6nOTHAalOed+vbn85AEQlL 
YEnD8H3IUdubOuiTnGciSFwvkVj4fqPgNqm4pv1JrCl1oZhtrDELHNECW1smhoe86A+fW2Jmuj2E 
KSibiabHQVfUh+3T0SmlRk28mi+f6oYvGWJ16dS8J1nflT2moLtek2yoQoFFf5IJ6oEnr4VDm9+z 
1Tyd5D9RKlKnJV3a11kXlg9d8GH/Zz9zgiZwUTuA7wWK9ltNrxGEVjy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miZwmAdVZfn7ItNDdkjB9QKO5ReMaj6b2aihkhnDHL0LSHqW0N5NyPqGaHtI3DCs1p6oifOYLFkn 
dzaF8YTX0SIk8ov8IQxp2s27

Did this file decode correctly?

Original Code

<?php //0047e
// http://ghtweb.ru
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 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);
?>
HR+cPziZvuG93johq9HofweHrRU+3/pf/4s9rSiAfOapTChWiCI2uv6nOTHAalOed+vbn85AEQlL
YEnD8H3IUdubOuiTnGciSFwvkVj4fqPgNqm4pv1JrCl1oZhtrDELHNECW1smhoe86A+fW2Jmuj2E
KSibiabHQVfUh+3T0SmlRk28mi+f6oYvGWJ16dS8J1nflT2moLtek2yoQoFFf5IJ6oEnr4VDm9+z
1Tyd5D9RKlKnJV3a11kXlg9d8GH/Zz9zgiZwUTuA7wWK9ltNrxGEVjy3rfbBVtP4XN3p+G7Cd2hl
9E0cPPlxeMJ/Yl9v/LnhPlHJOkKi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X0SIk8ov8IQxp2s27

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 c3e1a49a4f21fd1769b5966050bf90be
Eval Count 0
Decode Time 207 ms