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={vK5KjvbK1i75Dy.f1D{<4ht2BRfdxDZOuV5<1i.rBy6duK{<1i0 BK5 3h]k1/}2IeCt4K.7xi5h6.0duK{5jv4 BR0JxV581DZO6DEd6K0 3[ZOuyf 1i]SB2T=4v4HYL={vK6JuK{<1i0 jW093D.<uy7d3iL=pV{83D{rIL<IGk<Ijv}tjV5KjvbK1i75Dy.f1D{<4htRBRfdxDZOuV5<1i.rB[8C3y7b4[{0B2T=4vjOIeTOuK{8xiZ5Dy0 3ya=jRf B[.<1i7OxV554h0HpV{83D{r9e]k1/}RIc8pYLO0YL={vRZd3K=tqeT 6D4t6VW<3ipb4yaHYL={vRZSuyZ5jv}tjY<t1D{r6DL=pW0eZ.W.Z.{aihxSuyZ5pJ<OjY>t6K58xV.hD[6b4RtCDJpWa..WaJZupy{d6Va2DektZC5E.o.eDJ{TcC5ae.OWDJ{aaC5lZhCtlRTl.a7Elh}{vRZ<G/ZcaaktjY<tj5{Wco.Y.vTYcJ.l.vtPIeTTahT 3CZ5uV.2jvjHYL=Cx/b<aJWEjvf0jvpVaC0{j/ZRuoZ5uV.23DZOuyftjS8{vRZ<G/ZcaaktBS<tjC5lcC.ejoOqeaftxVp8aVWh3iJWxVWk6eTqcRT<3K7o6i756yW<1i0 BC5oZDZb4VatqeT<3K7L3Dpbua.<3DT5BC5oZDZb4VatjS8{vRZ<G/ZcaaktBS<tj5xjZ.pWjvb<3K7L3Dpbua.<3DT5BK5CZV.k3Dp<6iJ5u2Ltqe}2GhZSuyZ59e4OjS8{vt<Ip/{<xoZ5uV.2jY<tpV0R1R<+6y.<ZVW<3etCx/b<aJWEIc8{vRZ 3CZ5uV.2jv}0jvZrx/Zo6i756J82uKpo6i756hxxlk<IYL=C12{du5p54[Tdu2{5jY<t3Dph3DCtIvCHYL=C12{du5p54[Tdu2{5ihp5GV5rxVaRDe}0jvttpV]RZV.86i4tqR}kjvCtqhT<42.5jY=t6KW84yaHYLO53ybdjVOruy]96i]SuyZ5IvZP4y0 aK.r4V0 4yaOlk<IZC5l';$__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('09d168b414c5f3dc0122cf5310009bcf') . '<?php '); ?>?><?php
ini_set('display_errors', 'Off'); 
if( !isset($_SESSION) ) session_start();

if (file_exists('../utilities/fonction.inc.php')) 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']) ? filter_var($_REQUEST['code'], FILTER_SANITIZE_STRING) : NULL; 
$txtSQL  = "SELECT COUNT(*) AS nbDeleg ";
$txtSQL .= "FROM tblDelegation ";
$txtSQL .= "INNER JOIN tblParamEtape ON tblDelegation.IDEtape = tblParamEtape.IDEtape ";
$txtSQL .= "WHERE (tblParamEtape.idDepartement = '{$code}')";

$sttDeleg = $obj->getData($txtSQL);
$nbDeleg  = $sttDeleg['nbDeleg'];

$jsonResponse = array ();
$jsonResponse["existe"] = ( $nbDeleg > 0 ) ? true : false;
echo json_encode($jsonResponse);
?><?php 

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWj5BUUgyPXNPSD49CmNULls0TjhVR0E9W0d7ZlVxZXRjTSgkbXF0cHs4Q1oxdWVzNnd6KV0kX19zU249enpNYygiTTlPMk05X1VbTW5lPCIpO01jZVcoJyRfXwpTJF9fcygiJG1xdHB7OENaMXVlczZ3eiIpOycpOyRfXzJTJ05PWGNiSTc3UUdMUFVxWEIzY1IvMDRdeVE2e2Q0cVguVUdhLlUuVWYKY1J2W0dKazMyZj1iSTc3W2c9PQpzTHpVcVhCM2NOUGVCWDJlQkx2MmcvPTNNVHpbNF16MHNhPjRqXUJKNFpCM2MvdGJJU11jR0xHCmM8RzBzMUw0cVhBMDRdQlUuPWtvZ0E5UjRON1E2TEIwc1h6b3FbOVFHXUIwc2E+b0dMPkouZHkwaGxrM00vPVVHWDFSc0wuW1hhOVFHXUwKY1U+b2dhOFI2TGYwNE43WzRLOVtHYT5Kak43UXFBPjBzZHBva1RTVWNVdGJJU11jR1s4UUddQjBzYT4Ke2FQSjRYQlFxMTlKc0lTWjZdZko0XXozSUIzQ3lCMwpjbD0KNkxHCmM8RzBzMUw0cVhBMDRdQlUuPWdvZ0E5UjRON1E2TEIwc1h6b2pmL0pxMTxVal1hb2tUU1VjCjczTVQ3UUddZlJzTkw0cWE+SnFlUwpnQT5valhCMHMxN1I2TExVLmF0WjZdZko0XXpQTWR5MGhsZzMyZlpiSTdhYklTXWNnTjlKR1M9dk1UPls0VT1bNntCSnNaPFVxZXRiSVNdY2dOcFFxTkwKY2w9CmJCPTA0XXpbNElTWnthTU5Ye1hOWF1lcy5ScFFxTkxaOEI3CmJpPVtHTGZSNlguNGpbPFVnPS80OFp7ZVhYe2U4TlFacV05WzZlazRNeT1OL0xLWE9YTTQ4XVQyL0xlTVg3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jZVcoJyRfX1JTJF9fOSgiJF9fbiIpOycpOyRfX1I+Uz5uPXpfek1aV2UyTSgiXFJVVVxSVUxcUlVrIiw+IkI/Wi5aIiw+JF9fUik7JF9fUj5TPm49el96TVpXZTJNKCJcUlVbXFJVUFxSVU0iLD4iP2kiLD4kX19SKTtNY2VXKCc/aSc+WD4kX19SPlg+J0I/Wi5aPicpO2xNY2VXKCc/aSc+WD49CmNULls0TjhVR0E9W0d7ZlVxZXRjTSgnYVA5MFtmPFUwVTJMQUo5MmEwa2syQUxKMGFhYVA8MkEnKT5YPidCP1ouWj4nKTs+P2k=';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

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 09d168b414c5f3dc0122cf5310009bcf

Stats

MD5 ee53fea7a6ea97bc362e10a75503bdaa
Eval Count 6
Decode Time 94 ms