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

Decoded Output download

?><?php
ini_set('display_errors', 'Off'); 

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;
$key    = isset($_REQUEST['key'])    ? filter_var($_REQUEST['key'], FILTER_SANITIZE_NUMBER_INT) : NULL;
$IDEtape    = isset($_REQUEST['IDEtape'])    ? filter_var($_REQUEST['IDEtape'], FILTER_SANITIZE_NUMBER_INT) : NULL;
$cbDepartement = isset($_REQUEST['cbDepartement']) ? filter_var($_REQUEST['cbDepartement'], FILTER_SANITIZE_STRING)  : NULL;
$txtService    = isset($_REQUEST['txtService'])    ? filter_var($_REQUEST['txtService'], FILTER_SANITIZE_STRING)     : NULL;
$txtTitre      = isset($_REQUEST['txtTitre'])      ? filter_var($_REQUEST['txtTitre'], FILTER_SANITIZE_STRING)       : NULL;
$txtMatricule  = isset($_REQUEST['txtMatricul'])  ? filter_var($_REQUEST['txtMatricul'], FILTER_SANITIZE_STRING)   : NULL;
$chkPopulation = isset($_REQUEST['rdPopulation'])    ? filter_var($_REQUEST['rdPopulation'], FILTER_VALIDATE_BOOLEAN)    : NULL;
$chkPopulation = $chkPopulation ? 1 : 0;
$txtEmail      = isset($_REQUEST['txtEmail'])      ? filter_var($_REQUEST['txtEmail'], FILTER_SANITIZE_STRING)       : NULL;
$txtNbJours    = isset($_REQUEST['txtNbJours'])    ? filter_var($_REQUEST['txtNbJours'], FILTER_SANITIZE_NUMBER_INT) : NULL;
$chkFinale     = isset($_REQUEST['chkFinale'])     ? filter_var($_REQUEST['chkFinale'], FILTER_SANITIZE_STRING)      : NULL;
$key         = isset($_REQUEST['txtReceived'])      ? filter_var($_REQUEST['txtReceived'], FILTER_SANITIZE_STRING)      : NULL;
$chkFinale     = ( ( $chkFinale || !empty($chkFinale) ) ? true : false ); 
//$chkFinale     = ( ( $chkFinale || !empty($chkFinale) ) ? true : true );
$cbDepartement = ( ($txtService != "") ? $txtService : $cbDepartement);
$cbPopulation   = isset($_REQUEST['cbPopulation'])   ? filter_var($_REQUEST['cbPopulation'], FILTER_SANITIZE_STRING)       : NULL;
$table         = "tblParamEtape";
if($chkPopulation == 1){
	$cbDepartement = null;
	$cbPopulation   = isset($_REQUEST['cbPopulation'])   ? filter_var($_REQUEST['cbPopulation'], FILTER_SANITIZE_STRING)       : NULL;
}
else{
	$cbPopulation = null;
	$cbDepartement = isset($_REQUEST['cbDepartement']) ? filter_var($_REQUEST['cbDepartement'], FILTER_SANITIZE_STRING)  : NULL;
}
if ( !empty($IDEtape) || ($IDEtape <> 0) )
//if ( $key == 'modif' ) 
{ 
	//$condition = "IDEtape = '{$IDEtape}'"; 
	$query = "UPDATE tblParamEtape SET titreEtape='{$txtTitre}', matriculeValideur='{$txtMatricule}', mailValideur='{$txtEmail}', Population='{$cbPopulation}', Choixpopulation={$chkPopulation}, nbjourValidite={$txtNbJours}, finale={$chkFinale}  WHERE  IDEtape='{$IDEtape}'";
	$obj->executeSQL($query); 
	//$majPEtape = array( 'titreEtape' => $txtTitre, 'matriculeValideur' => $txtMatricule, 'mailValideur' => $txtEmail, 'nbjourValidite' => $txtNbJours, 'finale' => $chkFinale,'Population' => $cbPopulation,'Choixpopulation' => $chkPopulation ); 
}
else 
{ 
	$condition = null; 
	$majPEtape = array( 'titreEtape' => $txtTitre, 'matriculeValideur' => $txtMatricule, 'mailValideur' => $txtEmail, 'nbjourValidite' => $txtNbJours, 'idDepartement' => $cbDepartement, 'finale' => $chkFinale, 'Population' => $cbPopulation,'Choixpopulation' => $chkPopulation ); 
}
 
$obj->executeQuery($table, $majPEtape, $condition); 

?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='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Pg1WbA1WTVduTT4NVl0+DVYJJDJPSDlzPXNPSD5TPkhRV1c7Pg1WCSRZZQptSz1lWk0+Uz5lenplcSg+Jz1zPXpNSz1lWk0nPlNpPiQ9Uj1Ucz16TSw+J1llPXpzMlFXTTZlV3M5TVF6Jz5TaT4kPVI9dWU9enMyUVdNLD4nWWVzVzZlV3M5TVF6Jz5TaT4kPVI9S1llc1csPidIPApPUXo2ZVdzOXM9TSc+U2k+JD1SPUU8OE9Rem4sPidzOTRNWmV6PU1ZTUg9Jz5TaT4kMjw0TVplej1NWU1IPSw+J0FzSGVXTSc+U2k+JDIueXJzSGVXTSw+J21PWlFXZT1zT0gnPlNpPiQyPG1PWlFXZT1zT0gsJy8uT3NSWk9aUVdlPXNPSCc+U2k+JDIueW1PWlFXZT1zT0g+KTs+DVZsDVY+DVYkTzwKLWlNUk0yUT1Nd1FNenEoJD1lPFdNLD4kWWUKbUs9ZVpNLD4kMk9IOXM9c09IKTs+DVYNVj9p';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

strtr 1
strrev 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_X 0

Stats

MD5 56e4eb1d0a5b89b101c5c13e13ea5e2d
Eval Count 2
Decode Time 73 ms