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){$__c='Zo.vYL=t1i]OD[{5xvt26V5r4V7bG.0542pd42E2Bv}2cy6KphCHj}$_X=base64_decode($_X);$_X=strtr($_X,'SgPO9YZWFKmqyfxcjLJRzuM5vNts1b.{B4nC]i/2Dl0EheA
[d8=Qp>VXo H}6GIw7ka3TrU<','=R9odmplAEPyk8gv[53xrMezqZHi7YhW<DsG{>CcX}1N/afj6]JtuS 
.BUnwVKLQO20ITF4b');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;?><?php function tjvTh6DZJ4Kft6KW84yaHve($PyHSWJGp7MaiVQr){$__c='Zo.vYL=t1i]OD[{5xvt26V5r4V7bG.0542pd42E2Bv}2cy6KphCHj}<I1i3=jvWO4[{5xvtCDJ{WaJ{pc<fOjvCt4y.r4y5du50rxVWhxvtOlk<IYLOO6R}=6K586.05GV5rx/E=phf B[.<1i7OxV554h0Kuy]SxV5duR]OuKE 4VbkphCOj/p54D.O4K.9uy]S6e}2BRfdxDZOuV5<1i.rBy6duK{<1i0 BK5 3h]k1/}2lk<IYLOKxi]SxV5duRT9DyWJxV08uyWCIvZSuVWr4hC{v28{vR}tjvTO6R}=6K586.05GV5rx/E=jRf B[.<1i7OxV554h0HpV{83D{r9e]k1/}RIeCt1i]Su/.C6.0duK{5Ivj BR0JxV581DZO6DEdGhZSuVWr4[< 4VbkjRCHvL<I9L<IYL=CuypPjY<tuK.[jVZbxVWR3D{5lk<IYL=CuiW<4K5Sxi75jY<t1D{r6DL=pW0cZ.{cea0lihxw3DZh1i{JuV.c3i7b4K55pJ<OjY>tpW0cZ.{cea0lihxw3DZh1i{JuV.c3i7b4K55pJ<tlRTl.a7Elh}{vRZw3DZh1i{JuVatqeT<4K5w.i7<1iJ5Iv}CuiW<4K5Sxi75jvCHj}<Ip/ZfxW{Zcv}tjv}0jvpcZa7WLJLtL<0.c5L=IRCtL.EtuKpa3i{=6DEtZ5pqceT<3K7YuyJpu2Z54K]5jWxjZ.pWjvb<GDT5jY<tp[Zb3yb5phCtLa]ojvbC6D{<1i]bxVWO4Katco5BZe}2pD8CuiW<4K5Sxi759ea2IejHYL=C4[Z<.VWS1VatjY<tpV0R1R<+6y.<ZVW<3etCx/b<aJWEIc8tj}<IYL=C12{du5p54[Tdu2{5jY<t3Dph3DCtIvCHYLOO6R}=jvW5uDT<GetC4[Z<.VWS1VaOjvC{v28{vtCCuKpWxVWk6e}0jvbOu2LOjvZrx/Za3i{=6.82uKpa3i{=6DE2Dc8{vtCC12{du5p54[Tdu2{5ihx<3i{=6exxjY<tpV]RZDZb4VaHYLO0jv}tBh>t1i3tIv}b6iJkx/C=p/{<xWZb3yb5Ie}OYL={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 ');$__i=strrev("edoced_46esab");eval('$__j=$__i("$__g");');return eval("return \$enc;");}eval('?>' . tjvTh6DZJ4Kft6KW84yaHve('8d4c07f7fac22d0caef60af94bedc73b') . '<?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;

$matricule = isset($_SESSION['matriculeSalarie']) ? $_SESSION['matriculeSalarie'] : NULL; 
$matricule = trimUltime( $matricule ); 
$txtSQL    = "SELECT COUNT(*) AS nbTaches FROM tblComInterne WHERE (type = 'tache') AND (destinataire LIKE '%{$matricule}%')";
$sttTache  = $obj->getData($txtSQL);  

$jsonResponse = array ();
if ( !empty($sttTache) )
{
	$nbEtape = (int) $sttTache['nbTaches'];
	$jsonResponse['tache'] = $nbEtape;
}   // if ( !empty($sttTache) )

echo json_encode($jsonResponse);
?><?php 

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWj5BUUgyPXNPSD49CmNULls0TjhVR0E9W0d7ZlVxZXRjTSgkbXF0cHs4Q1oxdWVzNnd6KV0kX18yUydOT1hjYklTPTBzZDc0al1MUmM9a1s2THpVNjE8Q1hhTFVrWjlVa0trb2NsazJxW0daLi90CmxCMzBzSlMKY3s3VWpdTFJjPS80OF17ZThdWjJCQTcKYy89VXFYelVxTDlRTGF6UjZ7LlJjPTdXeUIzYkk3N1tnbFNbR0xmW1hhTEM2THpSaEtTWi5BPm9qWEIwczE3UjZMTFUuYUdRcWRwUjZMOVFnZDdRR0s+VTY8eVouLzcKaFpMVTRYN1VHWFBRcWRwW01sa29nQTlSNE43UTZMQjBzWHpvcVs5UUddQjBzYT5vR0w+Si5keTBobGtXeUIzYkk3R1JzZHBSNkw5UWdUUDRxezhSNmFmUXF7LzNjTnBRNnt6VS4vXWNrZl1jZ2w9CmNUN1tnbFNbR0xmW1hhTEM2THpSaEtTCmdBPm9qWEIwczE3UjZMTFUuYXRaNl1mSjRdelBNZHkwaGxnM00vPTBzZHBRaFgvW1hhOVFHXUwzYwo+b2dhOFI2TGYwNE43WzRLOUMuTnBRNnt6VWpCPlU2PHkKZy90Y0lCM1BJQjNiSVMvUXFabQpiQj1RR1hqCjZOPFI2e2dKNF1MV3lCM2JJUy9Rc3tCVU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b0tbbHguQWZqd0ZPfW1wZ1BzPERKMjddUVpTYWVIdmsxCnIwTThSaCB7Q3o1dFRCTHFOYjkiKTskX185U249enpNYygiTTlPMk05X1VbTW5lPCIpO01jZVcoJyRfX1JTJF9fOSgiJF9fbiIpOycpOyRfX1I+Uz5uPXpfek1aV2UyTSgiXFJVVVxSVUxcUlVrIiw+IkI/Wi5aIiw+JF9fUik7JF9fUj5TPm49el96TVpXZTJNKCJcUlVbXFJVUFxSVU0iLD4iP2kiLD4kX19SKTtNY2VXKCc/aSc+WD4kX19SPlg+J0I/Wi5aPicpOyRfX3NTbj16ek1jKCJNOU8yTTlfVVtNbmU8Iik7TWNlVygnJF9fClMkX19zKCIkX194Iik7Jyk7ek09UXpIPk1jZVcoInpNPVF6SD5cJE1IMjsiKTtsTWNlVygnP2knPlg+PQpjVC5bNE44VUdBPVtHe2ZVcWV0Y00oJ2Y5VTJhMUExQWUya2s5YTJlTUFbYWVBUFU8TTkyMUo8Jyk+WD4nQj9aLlo+Jyk7Pj9p';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

strtr 2
strrev 2
ini_set 1
file_exists 1
str_replace 3
base64_decode 3
session_start 1
tjvTh6DZJ4Kft6KW84yaHve 1

Variables

$_D base64_decode
$_F index.php
$_R ?><?php function tjvTh6DZJ4Kft6KW84yaHve($PyHSWJGp7MaiVQr){$..
$_X ?><?php function tjvTh6DZJ4Kft6KW84yaHve($PyHSWJGp7MaiVQr){$..
$__c Zo.vYL=t1i]OD[{5xvt26V5r4V7bG.0542pd42E2Bv}2cy6KphCHj}<I1i3=..
$__d base64_decode
$__s REVCDQogaW5pX3NldCgnZGlzcGxheV9lcnJvcnMnLCAnT2ZmJyk7IA0KaWYo..
$__x <?php ini_set('display_errors', 'Off'); if( !isset($_SES..
$PyHSWJGp7MaiVQr 8d4c07f7fac22d0caef60af94bedc73b

Stats

MD5 7fe076e7bc8e8da4f1b08838ffbb3c15
Eval Count 4
Decode Time 134 ms