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 $_F=__FILE__;$_X='P3ogP1NiUzIkXzBwX18wWlRvX187JF84cCdYPGFCWDxtS20vYl1rL3RZa1szNVJSZU..

Decoded Output download

$_X=base64_decode($_X);$_X=strtr($_X,'ut7db<
YHc=0ziM1Okl8ypSR>2A5.Q/6jBUq4wn}f[XoJ{h]eFIsm WGgNLPaV9rKDvT3EZxC','fRAuhz/tDc.F>O0oHb9Xw=pUe JmT]37YlVjsCQk{WPE[ZvaN}2GM<8Sdrnix6qBy4gL5
I1K');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;?><?php $_F='index.php';$_X='PzxlPzMyM3hab3RtbW5mUUNHZDVobWhGVW5HWzVHRlFtbjZHRlFfY2Ffa3Rhb0dieAkzZAo1R1o1R1FuJF9GdFZHbk9uJ3RRQ0dkNWhtaEZVJzt4CXgJMy9hb2hablAvRlo1aApGblVHNWdob0dtKClieAkJJGRHbS9vNW5PbiQ1MmhtLTxVRzVmUXQzNUdkKCktPFBHNVoyZm9vKCIueT55fWtuYFV0b29HZHJfaDVHVm1gN2hRLG5gUGhvR21gN2hRbnRtblBfaFEsYFBob0dtYDczdDUyLGBQaG9HbWA3NTN0NTJuZ0sgVG5gVXRvb0dkcl9oNUdWbWBuaEZGR2RucApoRm5gUGhvR21gbgpGbmBVdG9vR2RyX2g1R1ZtYDdoUW5PbmBQaG9HbWA3VXRvb0dkcl9oNUdWbV9oUW5uUzJHZEduYFV0b29HZHJfaDVHVm1gN2htX3RaNWhDR25lPG5ObgpkUUdkbmFybmBQaG9HbWA3aFFuUUdtWiIpO3gJCSR0ZGRuT250ZGR0cigpO3gJCWhQbihaCi9GNSgkZEdtL281KW48bk4pYngJCQlQCmRHdFoybigkZEdtL281bnRtbiRkKWJ4CQkJCSR0ZGQxJGQxJ2hRJ3p6MSRkMSdQX2hRJ3p6bk9uJGQ7eAkJCT14CQk9eAkJZEc1L2RGbiR0ZGQ7eAk9eD14Pzw=';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCc4Wmlnc2x2ZlVuR1ZdPW96YjdwUFFBNk01Q0lKeFt9dCBFL3dGaDI0cgpqM05ja1JPWUsuVD5le2FxWEwxRDBtU2R1Qjk8V0h5JywnMWNRRnEvR0FnIGVtNX1sXXsuamZkMlpJdHY3egp4Q2FPWHVIbmloNnlvOHAwRFRZPVdSU01MPFBiVVZKWzNLc3dya05CPjQ5RScpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>$_X=base64_decode($_X);$_X=strtr($_X,'8ZigslvfUnGV]=ozb7pPQA6M5CIJx[}t E/wFh24r
j3NckROYK.T>e{aqXL1D0mSduB9<WHy','1cQFq/GAg em5}l]{.jfd2ZItv7z
xCaOXuHnih6yo8p0DTY=WRSML<PbUVJ[3KswrkNB>49E');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;?><?php
class Advertising extends Zend_Db_Table{
	protected $_name = 'advertising';
	
	public function getFiles(){
		$result = $this->getAdapter()->fetchAll("SELECT `gallery_items`.id, `files`.id as f_id,`files`.path,`files`.tpath FROM `gallery_items` inner join `files` on `gallery_items`.id = `files`.gallery_items_id  where `gallery_items`.is_active <> 0 order by `files`.id desc");
		$arr = array();
		if (count($result) > 0){
			foreach ($result as $r){
				$arr[$r['id']][$r['f_id']] = $r;
			}
		}
		return $arr;
	}
}
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P3ogP1NiUzIkXzBwX18wWlRvX187JF84cCdYPGFCWDxtS20vYl1rL3RZa1szNVJSZU97SFUxa1tic1VbM09bPFVPdEIwWWtxe090QjB1akkwdV0vdGJrTWdQPjd9PHs3MXh0eDF4dHgwZEEwbHNnMHtPa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JZUkl0eG5xfVdVTWIzQUt5TG1bZXR0TG9odE0wTFpzVVllOHg0ODg0ZF01e31tQlNBZ09qLz52U0RuSTBYW09VWms1QjFlTEJoaU83eXQwdHtYVWdHUk14bVgwclBVVXtDWzxlVGMvZ0tdTTN3WHFuM3RHY1NpS3R1UnF4PGdPQXVjNVV5a3MwcXtHdkw4eGxzR1JhMDh4V0xUd1pMWlBEfThNamRaUGNQVHd0dVt3fTZ7OHtia3d2fTh4WlNpS3R1UnFNeWlLdHVbSE15aXlwcCcpKTs/eg==';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCd1dDdkYjwKWUhjPTB6aU0xT2tsOHlwU1I+MkE1LlEvNmpCVXE0d259ZltYb0p7aF1lRklzbSBXR2dOTFBhVjlyS0R2VDNFWnhDJywnZlJBdWh6L3REYy5GPk8wb0hiOVh3PXBVZSBKbVRdMzdZbFZqc0NRa3tXUEVbWnZhTn0yR008OFNkcm5peDZxQnk0Z0w1CkkxSycpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>

Function Calls

strtr 2
strrev 2
str_replace 2
base64_decode 4

Variables

$_D base64_decode
$_F index.php
$_R ?><?php class Advertising extends Zend_Db_Table{ protected ..
$_X ?><?php class Advertising extends Zend_Db_Table{ protected ..

Stats

MD5 512f802b146fbe80d7e80119cd19d4f1
Eval Count 4
Decode Time 96 ms