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 = 'P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1W..
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;
$txtCode = isset($_REQUEST['txtCode']) ? filter_var($_REQUEST['txtCode'], FILTER_SANITIZE_NUMBER_INT) : NULL;
$txtLibProfil = isset($_REQUEST['txtLibProfil']) ? filter_var($_REQUEST['txtLibProfil'], FILTER_SANITIZE_STRING) : NULL;
$table = "tblProfil";
$txtSQL = "SELECT COUNT(*) nbProfil FROM tblProfil WHERE INTITULE LIKE '{$txtLibProfil}%'";
$sttProfil = $obj->getData($txtSQL);
$nbProfile = $sttProfil['nbProfil'];
if ( !empty($txtCode) || ($txtCode <> 0) ) { $condition = "IDProfil = " . $txtCode; }
else { $condition = null; }
if ( ($condition == null) && ($nbProfile > 0) )
{
echo 0;
exit;
}
else
{
$majProfile = array( 'INTITULE' => $txtLibProfil );
$obj->executeQuery($table, $majProfile, $condition);
echo 1;
}
?>
Did this file decode correctly?
Original Code
<?php $_F = __FILE__;
$_X = 'P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WDVZzQT4oQXNXTV9NUnNuPW4oJ1hYaFE9c1dzPXNNbmhBT0gyPXNPSFhzSDJYWi5aJykpPnpNdlFzek1fT0gyTT4nWFhoUT1zV3M9c01uaEFPSDI9c09IWHNIMlhaLlonOw1WDVZBUUgyPXNPSD5fX2VRPU9XT2U5KCQyV2VubikNVl0NVj4+Pj5zQT4oQXNXTV9NUnNuPW4oIlhYaFE9c1dzPXNNbmhdJDJXZW5ubFhaLloiKSk+c0gyV1E5TV9PSDJN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kWWUKbXpPQXNXTSw+JDJPSDlzPXNPSCk7Pg1WCU0yLk8+MDsNVmwNVg1WP2k=';
$_D = strrev('edoced_46esab');
eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=')); ?>
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | b6d392c3a8e8a767ff3632aab86886b3 |
Eval Count | 2 |
Decode Time | 46 ms |