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='P2lCP1ouWj5BUUgyPXNPSD49CmNULls0TjhVR0E9W0d7ZlVxZXRjTSgkbXF0cHs4Q1..

Decoded Output download


function tjvTh6DZJ4Kft6KW84yaHve($PyHSWJGp7MaiVQr){$__i=strrev("edoced_46esab");eval('$__j=$__i("$PyHSWJGp7MaiVQr");');$__c='Zo.vYLOOuK594y.<IvxC1D{kuVW]Dy.h4K0h4h48jvxq6K32Ic8tYLOO6Rttji5r4y.<IvZ9a<.ca<5qcRCtIeTr6D{r1i0 D[{<3Dp<IvCHYL={v2p54D.O4K.9uy]S6e}2BRfdxDZOuV5<1i.rBy6duK{<1i0 BK5 3h]k1/}2lk<IYLOKxi]SxV5duRT9DyWJxV08uyWCIvZSuVWr4hC{v28{vR}tjvTO6R}=6K586.05GV5rx/E=phf B[.<1i7OxV554h>2jvftpV{83D{rjvftph]k1/}2IeCt1i]Su/.C6.0duK{5Iv4 BR0JxV581DZO6DEdph} jvZSuVWr4h} jv4 4VbkphCHjv}tj}<I9L<IYL=CuypPjY<tuK.[jVZbxVWR3D{5lk<IYL=C3y0C6e}tqeTO4[{5xvtCDJpWa..WaJZupy{d6Va2DeCtjY>tpW0eZ.W.Z.{aihxSuyZ5pJ<tjY=tc5.EcY8{vt<IpVJ54[{b6yatqe}2pr8{vRZ<3ip86e}tjY<tj2ZRuW{5426O3yaRlk<IYL=C4K.7cKpc3yatqe}Ra<.EZa{ajo{q.a]aIv=OjVWrjV]Ray{5jo6ec<<tGhZ<3ip86D<t.<bWaCatLy0C6e}0jvxHpV{d6V.0phjHj}<Ip/{<xo]Ray{5jY<tpV0R1R<+6y.<ZVW<3etC4K.7cKpc3yaOlk<IpV]Ray{5jv}tjY<tp/{<xo]Ray{5ihx 35{S6exxlh}{vt<I1i3tIv}CuKpc3yatqR}kIe}Cui.r4yW26e}0jvpY6eTSuyZ5jV.f1D{<6eTCpK.b3[.<6cwPpKW24KWy6c8Rlk<IYL=C12{du5p54[Tdu2{5jY<t3Dph3DCtIvCHYL=C12{du5p54[Tdu2{5ihxw6D{r3ix5pJ<tqe}Cui.r4yW26c8{vK.S1V>t12{du505uK{d6Va=pVOruy]e6D{kuy]r6eCHYLOVeafm';$__s=strtr($__c,"ACv.sfKXY{dEn58wjIBToFUtb9>gL}=kqeZ0RuD[4lz Om<12PyHSWJGp7MaiVQr/cN]h63x"," kCV]4m.DNvM>lstIKLBE6}ghf8[QAowPSR9ibX3cO{up=0anq27jF1eJx/UWGrzHT<5yZYd");$__d=strrev("edoced_46esab");eval('$__x=$__d("$__s");');$__x = str_replace("DEB", "<?php", $__x);$__x = str_replace("FIN", "?>", $__x);eval('?>' . $__x . '<?php ');}eval('?>' . tjvTh6DZJ4Kft6KW84yaHve('07e8af8622cd6fdd3ec8bf6e09840caa') . '<?php '); ?>?><?php
ini_set('display_errors', 'Off'); 
if( !isset($_SESSION) ) session_start();

require_once '../utilities/fonction.inc.php';

function __autoload($class)
{
    if (file_exists('../utilities/' . $class . '.php')) include_once('../utilities/' . $class . '.php');    
}

$obj = new database;

$code  = isset($_REQUEST['code'])  ? $_REQUEST['code']  : NULL;

$message = '';
$table   = "tblService";

$reqNbSce = "SELECT COUNT(*) as nbSce FROM {$table} WHERE Code = '{$code}'"; 
$sttNbSce = $obj->getData($reqNbSce);
$nbSce    = $sttNbSce['nbSce']; 

if ( $nbSce > 0) $message = "Ce code existe d&eacute;j&agrave;";

$jsonResponse = array ();
$jsonResponse['message'] = $message;
echo json_encode($jsonResponse);
?><?php 

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWj5BUUgyPXNPSD49CmNULls0TjhVR0E9W0d7ZlVxZXRjTSgkbXF0cHs4Q1oxdWVzNnd6KV0kX19zU249enpNYygiTTlPMk05X1VbTW5lPCIpO01jZVcoJyRfXwpTJF9fcygiJG1xdHB7OENaMXVlczZ3eiIpOycpOyRfXzJTJ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5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

strtr 2
strrev 3
str_replace 3
base64_decode 4
tjvTh6DZJ4Kft6KW84yaHve 1

Variables

$_D base64_decode
$_F index.php
$_R 0
$_X 0
$__c Zo.vYLOOuK594y.<IvxC1D{kuVW]Dy.h4K0h4h48jvxq6K32Ic8tYLOO6Rtt..
$__d base64_decode
$__i base64_decode
$__s REVCDQppbmlfc2V0KCdkaXNwbGF5X2Vycm9ycycsICdPZmYnKTsgDQppZigg..
$__x <?php ini_set('display_errors', 'Off'); if( !isset($_SESS..
$PyHSWJGp7MaiVQr 07e8af8622cd6fdd3ec8bf6e09840caa

Stats

MD5 4b8049b012e8fcd93794600e20abe101
Eval Count 6
Decode Time 86 ms