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='P2lCP1ouWg1WPnNIc19uTT0oJzlzblpXZXFfTXp6T3puJyw+JzdBQScpOz4NVnNBKD..
Decoded Output download
?><?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;
$Departement = ( isset($_REQUEST['Departement']) ? $_REQUEST['Departement'] : '' );
$Population = ( isset($_REQUEST['Population']) ? $_REQUEST['Population'] : '' );
$Srv = ( isset($_REQUEST['Srv']) ? $_REQUEST['Srv'] : 0 );
if($Srv == 0){
$requete = " select EmploiOccupe as Emploi,intitule,matriculesalarie as matricule, nom,prenom from tblAffectation";
$requete .= " inner join tblsalarie on tblsalarie.numsalarie = tblAffectation.NumSalarie";
$requete .= " inner join tbldepartement on tbldepartement.code = tblAffectation.departement";
$requete .= " where tblAffectation.departement = '{$Departement}' and tblAffectation.population <> '{$Population}'";
}
else{
$requete = " select EmploiOccupe as Emploi,intitule,matriculesalarie as matricule, nom,prenom from tblAffectation";
$requete .= " inner join tblsalarie on tblsalarie.numsalarie = tblAffectation.NumSalarie";
$requete .= " inner join tblservice on tblservice.code = tblAffectation.service";
$requete .= " where tblAffectation.service = '{$Departement}' and tblAffectation.population <> '{$Population}'";
}
$Result = $obj->showData($requete);
$Dept = array();
$i = 0;
foreach( $Result as $ValResult ){
extract($ValResult);
$Dept[$i]= $matricule.' | '. $nom .' ' . $prenom . ' | ' . $intitule . ' ' .$Emploi ;
$i++;
}
$requete = " select EmploiOccupe as Emploi,intitule,matriculesalarie as matricule, nom,prenom from tblAffectation";
$requete .= " inner join tblsalarie on tblsalarie.numsalarie = tblAffectation.NumSalarie";
$requete .= " inner join tbldepartement on tbldepartement.code = tblAffectation.departement";
$requete .= " where tblAffectation.departement = '{$Departement}' and tblAffectation.population = '{$Population}'";
$Result = $obj->showData($requete);
$Pops = array();
$i = 0;
foreach( $Result as $ValResult ){
extract($ValResult);
$Pops[$i]= $matricule.' | '. $nom .' ' . $prenom . ' | ' . $intitule . ' ' .$Emploi ;
$i++;
}
$jsonResponse = array ();
$jsonResponse["source"] = $Dept;
$jsonResponse["Popul"] = $Pops;
echo json_encode($jsonResponse);
?>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_X='P2lCP1ouWg1WPnNIc19uTT0oJzlzblpXZXFfTXp6T3puJyw+JzdBQScpOz4NVnNBKD4hc25uTT0oJF9wS3BwMzdFKT4pPm5Nbm5zT0hfbj1lej0oKTsNVg1Wc0E+KEFzV01fTVJzbj1uKCdYWGhRPXNXcz1zTW5oQU9IMj1zT0hYc0gyWFouWicpKT56TXZRc3pNX09IMk0+J1hYaFE9c1dzPXNNbmhBT0gyPXNPSFhzSDJYWi5aJzsNVg1WQVFIMj1zT0g+X19lUT1PV09lOSgkMldlbm4pDVZdDVY+Pj4+c0E+KEFzV01fTVJzbj1uKCJYWGhRPXNXcz1zTW5oXSQyV2VubmxYWi5aIikpPnNIMldROU1fT0gyTSgiWFhoUT1zV3M9c01uaF0kMldlbm5sWFouWiIpOwkNVmwNVg1WJE88Cj5TPkhNfT45ZT1lPGVuTTsNVg1WJDRNWmV6PU1ZTUg9PlM+KD5zbm5NPSgkX2dLdyBLcFRqJzRNWmV6PU1ZTUg9J2QpPj8+JF9nS3cgS3BUaic0TVplej1NWU1IPSdkPjo+Jyc+KTsNViRtT1pRV2U9c09IPlM+KD5zbm5NPSgkX2dLdyBLcFRqJ21PWlFXZT1zT0gnZCk+Pz4kX2dLdyBLcFRqJ21PWlFXZT1zT0gnZD46PicnPik7DVYkcHpjPlM+KD5zbm5NPSgkX2dLdyBLcFRqJ3B6YydkKT4/PiRfZ0t3IEtwVGoncHpjJ2Q+Oj5hPik7DVYJCQkNVnNBKCRwemM+U1M+YSldCQkJDV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yPSgkNmVXZ01uUVc9KTsNVgkkbU9abmokc2RTPiRZZT16czJRV01YJz58PidYPiRIT1k+WCc+Jz5YPiRaek1IT1k+WD4nPnw+Jz5YPiRzSD1zPVFXTT5YPic+Jz5YJEtZWldPcz47DVYJJHMrKzsNVmwNVg1WJApuT0hnTW5aT0huTT5TPmV6emVxPigpOw1WJApuT0hnTW5aT0huTWoibk9RejJNImQ+Uz4kNE1aPTsNViQKbk9IZ01uWk9Ibk1qIm1PWlFXImQ+Uz4kbU9abjsNVk0yLk8+Cm5PSF9NSDJPOU0oJApuT0hnTW5aT0huTSk7DVY/aQ1W';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | 23c1bbb6753611c98b2c879c421ad454 |
Eval Count | 2 |
Decode Time | 84 ms |