Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='i..

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.
<?  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); 
?> 
EgW|h-HC8`e. 
9tHH,=
d5_7z~31^'SNGH*DmtJpxmcfbDGD8IwLQgx="C7.y5.>S,E 
nc qV_WQf-Oh\fa3cAA}`2iE 
]7?+^4h8'uFCmv(-(yY)#,T? 
V=d	d|no 
mb;R7iOAlMU3Y9a'#_0TU5Lmz5,=$4[W))chZ#VaL 
>xT4\64o*,\7rz\,2rhWD/d1IZft_DXi#~=n,~b/$GB^{fBBOl+Iuv&qVGx8Eir(~;l}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5z!wx`%Y8QAQ? 
ad6nI-+Cxv^&SN'uc>iczcP.3[Y 
vqEOhX">C#$U%P*Q*jcq/1uND{%_15;o,Bi^{Ti!i, ITu;zu#%A8da3$DXz'fq+D>ffGm`&yA`H:'@RaHM)EjQ|x\$t-.upOq>L|E*{Htw7xE/x?=sa+E^wb%RpH]^:\+JGts8RrwG8|wA)Aj>Y 
gnjgj}MlD={i/iuWqAJ 
!I/E=M=-.f%&tZmzH>!cg7jI8LKKuqA6Z5daF!EoZj`M(SEY=5x>~GZ3cD4Y:"G'N)s|8:DzNF 
|r7Y!hRK|D#,!yG~UJ	^d3OX5`t)z1;W9sSi9y+^2cf(Tp} 
O3*5	*FJa54u^#jP.^ew 
wOX zLwIA.#dA+.pS[Kx9`|b:d{O24'A2:t^\1>O|S{s2>|rS$$v^du,5!Xe%(L&Vy`\c-$Hxc}`s1jBC9.zxI 
 
On%

Did this file decode correctly?

Original Code

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);
?>
EgW|h-HC8`e.
9tHH,=\nd5_7z~31^'SNGH*DmtJpxmcfbDGD8IwLQgx="C7.y5.>S,E
nc qV_WQf-Oh\fa3cAA}`2iE
]7?+^4h8'uFCmv(-(yY)#,T?
V=d	d|no
mb;R7iOAlMU3Y9a'#_0TU5Lmz5,=$4[W))chZ#VaL
>xT4\64o*,\7rz\,2rhWD/d1IZft_DXi#~=n,~b/$GB^{fBBOl+Iuv&qVGx8Eir(~;l}]\!
P/sK zb4jm\,*?ep.gE3`w3xb|bjeEY[BF6IiuT`Bwc2>c@l`{9A z28
VKl oX>]$2I~Df0T|Gt)j6_V(CBHJ	uT8KKsq^I$a1'l9RgF`eq2D[+kBrU\rnXm^T96VfYQxN\@?6bo_wg8`2-&i|ds6
d4H:]=COb|g666H
>!gImG9-cbV2ibD+7[8s
9z#S2u@%WWssM"	 L@va?{?J`_BXC4~A~JHpQ>T=('f
V?\vASOG*V9
1wG*3D'Iy/>/~Jijjt	Xz
qI|EpU-E7Z~KsvL2hM/X[]+"/!?iv[!Q' 1}V
B&-3RbD~$yoI
]k66"YUnh%	-,$*,Pf[m',h0l*>L$+G7%|BmQ#{vVq\(Vb##=1o.QW\C$)[TxBXBH
:_2'DV#s+XB+8Ij:|C
'sXz'J*qh1mCmzR|6A;qpA[yf)^9O3c,;P&MiqPx~Dfn{;"v8uW|Govb8idkO).VkFG8g}M5Z(OX$,'fD!Qflp7s\{ W2O2~}`9eZuuzv85j|d8JEd|?FDd9;tt`E*E=!Dg.8 .5ViNn`bypP#6W 1G8d
5MCPKde)}$1,j"nq.,t$id7:oHm8f,,LJ:PqL'q~:1A=|`@b+i+AV(xr@2xuG#w#oXL?;j^nSL}Aw!SRlQAEcO?|T'=ZD%7i\a!_&25.5zirR"WdmDi0=nb*`WG/bciXH$[z$Oj0zG`v!vnt*:YH||[_{`29x
8VHRll}\1'.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