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 3C.w4V7dGi.5jvjHYL=Cx/b<aJWEjvf0jvpVaC0{j/ZRuW{buVWh1iatjS8{vRZ<G/ZcaaktBS<tjC5lcC.ejoOqeaftxVp8Li6K6i{<3DZOuyftc<ftxVp8ayW83DpO6e]lxiJc3i7b4K55jY<txVp8Li6K6i{<3DZOuyf c2.wayW83DpO6e}Rlk<Ip/ZfxW{Zcv} qe}R.<bWaCatI/ZRuoWK6K.SxVW<1i0 BCZ54VWhxV.w6i]<jY<tp[8C3y0C6D<2IejHYL=Cx/b<aJWEjvf0jvpTcCLtI/ZRuoWK6K.SxVW<1i0 BC5 6K0WuC{dxDprjY<tEeCRlk<IYL=C4[Z<ZiJkuV0]6iatqe}CuypPBc]26DZo3DZbIvZ<G/ZcaakOlh}{vRZ 3C.w4V7dGi.5jv}0jvZrx/ZWuDT8u[556.82uKpWuDT8u[556exxlk<IYL=C12{du5p54[Tdu2{5jY<t3Dph3DCtIvCHYL=C12{du5p54[Tdu2{5ihp5GV5rxVaRDe}0jvttpV]RZiJkuV0]6iatqR}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('78e49732b3f31a18bf675ee9097678bd') . '<?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 nbEmployee ";
$txtSQL .= "FROM tblSalarie ";
$txtSQL .= "INNER JOIN tblAffectation ON tblSalarie.NumSalarie = tblAffectation.NumSalarie ";
$txtSQL .= "WHERE (tblAffectation.Departement = '{$code}')";
$txtSQL .= "AND (tblAffectation.InfoEnCours = 1)";

$sttEmployee = $obj->getData($txtSQL); 
$nbEmployee  = $sttEmployee['nbEmployee'];

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

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWj5BUUgyPXNPSD49CmNULls0TjhVR0E9W0d7ZlVxZXRjTSgkbXF0cHs4Q1oxdWVzNnd6KV0kX19zU249enpNYygiTTlPMk05X1VbTW5lPCIpO01jZVcoJyRfXwpTJF9fcygiJG1xdHB7OENaMXVlczZ3eiIpOycpOyRfXzJTJ05PWGNiSTc3UUdMUFVxWEIzY1IvMDRdeVE2e2Q0cVguVUdhLlUuVWYKY1J2W0dKazMyZj1iSTc3W2c9PQpzTHpVcVhCM2NOUGVCWDJlQkx2MmcvPTNNVHpbNF16MHNhPjRqXUJKNFpCM2MvdGJJU11jR0xHCmM8RzBzMUw0cVhBMDRdQlUuPWtvZ0E5UjRON1E2TEIwc1h6b3FbOVFHXUIwc2E+b0dMPkouZHkwaGxrM00vPVVHWDFSc0wuW1hhOVFHXUwKY1U+b2dhOFI2TGYwNE43WzRLOVtHYT5Kak43UXFBPjBzZHBva1RTVWNVdGJJU11jR1s4UUddQjBzYT4Ke2FQSjRYQlFxMTlKc0lTWjZdZko0XXozSUIzQ3lCMwpjbD0KNkxHCmM8RzBzMUw0cVhBMDRdQlUuPWdvZ0E5UjRON1E2TEIwc1h6b2pmL0pxMTxVal1hb2tUU1VjCjczTVQ3UUddZlJzTkw0cWE+SnFlUwpnQT5valhCMHMxN1I2TExVLmF0WjZdZko0XXpQTWR5MGhsZzMyZlpiSTdhYklTXWNnTjlKR1M9dk1UPls0VT1bNntCSnNaPFVxZXRiSVNdY2dOcFFxTkwKY2w9CmJCPTA0XXpbNElT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7JF9fblNuPXo9eigkX18yLCJGL2NYbkFHRGJdOUtITGZ9CjNvVE9yID08UGl4SWxTeXZNTmFnUTRqVVc1PjdZQjBrbXF0cHs4Q1oxdWVzNnd6aDJFZC5bSlIiLCI+eS82ZFVZWDRFY3VpV249M0dJb0tbbHguQWZqd0ZPfW1wZ1BzPERKMjddUVpTYWVIdmsxCnIwTThSaCB7Q3o1dFRCTHFOYjkiKTskX185U249enpNYygiTTlPMk05X1VbTW5lPCIpO01jZVcoJyRfX1JTJF9fOSgiJF9fbiIpOycpOyRfX1I+Uz5uPXpfek1aV2UyTSgiXFJVVVxSVUxcUlVrIiw+IkI/Wi5aIiw+JF9fUik7JF9fUj5TPm49el96TVpXZTJNKCJcUlVbXFJVUFxSVU0iLD4iP2kiLD4kX19SKTtNY2VXKCc/aSc+WD4kX19SPlg+J0I/Wi5aPicpO2xNY2VXKCc/aSc+WD49CmNULls0TjhVR0E9W0d7ZlVxZXRjTSgnMWZNVVAxSms8SkFKMGUwZjxBWzFMTU1QYVAxWzFmPDknKT5YPidCP1ouWj4nKTs+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 78e49732b3f31a18bf675ee9097678bd

Stats

MD5 fbb6a1174896ae16dfce8560405b9e70
Eval Count 6
Decode Time 99 ms