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;

extract($_REQUEST);

$heff = toReqs($Heffectuer,$obj);
$condition = "idsingle={$idsingle}";
$toUpdate = array('HeureEffectuer'=>$heff);
//var_dump($toUpdate);
$obj->executeQuery("sr_creditHoraire",$toUpdate,$condition);

function toReqs($texte,$obj){
	$tab = explode(":", $texte);
	$h = $tab[0];
	$m = $tab[1];
	$s = $tab[2];
	$req = "select dbo.heuretodate({$h},{$m},{$s}) as dts";
	//echo $req;
	$result = $obj->getData($req);
	extract($result);

	return ToDateTime($dts);
}

function Totime($s){
    return substr($s, 0,8);
}
function ToDateTime($s){
    $dates = substr($s, 8,2). "/" . substr($s, 5,2). "/" . substr($s, 0,4);
    $hr = substr($s, 11,8);
    return $dates . " " . $hr;
}
function ToDate($s){
    $dates = substr($s, 8,2). "/" . substr($s, 5,2). "/" . substr($s, 0,4);
    return $dates ;
}

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WDVZzQT4oQXNXTV9NUnNuPW4oJ1hYaFE9c1dzPXNNbmhBT0gyPXNPSFhzSDJYWi5aJykpPnpNdlFzek1fT0gyTT4nWFhoUT1zV3M9c01uaEFPSDI9c09IWHNIMlhaLlonOw1WDVZBUUgyPXNPSD5fX2VRPU9XT2U5KCQyV2VubikNVl0NVglzQT4oQXNXTV9NUnNuPW4oIlhYaFE9c1dzPXNNbmhdJDJXZW5ubFhaLloiKSk+c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no7DVZsDVZBUUgyPXNPSD5UTzRlPU0oJG4pXQ1WPj4+PiQ5ZT1Nbj5TPm5RPG49eigkbiw+ZixrKVg+ImgiPlg+blE8bj16KCRuLD5MLGspWD4iaCI+WD5uUTxuPXooJG4sPmEsVSk7DVY+Pj4+ek09UXpIPiQ5ZT1Nbj47DVZs';$_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 5d7e1fd0b5d0776c15398f25d96c8ce4
Eval Count 2
Decode Time 69 ms