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='P2lCP1ouWj4+DVZzQT4oQXNXTV9NUnNuPW4oIlhYaHNIMldROU1uaDJXZW5uWFouWl..

Decoded Output download

?><?php  
if (file_exists("../includes/class.phpmailer.php")) include("../includes/class.phpmailer.php");
if (file_exists("../includes/class.smtp.php"))      include("../includes/class.smtp.php");

$host  = isset($_REQUEST['host'])  ? filter_var($_REQUEST['host'], FILTER_SANITIZE_STRING)     : NULL; 
$port  = isset($_REQUEST['port'])  ? filter_var($_REQUEST['port'], FILTER_SANITIZE_NUMBER_INT) : NULL;
$email = isset($_REQUEST['email']) ? filter_var($_REQUEST['email'], FILTER_SANITIZE_STRING)    : NULL; 
$user  = isset($_REQUEST['user'])  ? filter_var($_REQUEST['user'], FILTER_SANITIZE_STRING)     : NULL; 
$pwd   = isset($_REQUEST['pwd'])   ? filter_var($_REQUEST['pwd'], FILTER_SANITIZE_STRING)      : NULL; 
$nom   = isset($_REQUEST['nom'])   ? filter_var($_REQUEST['nom'], FILTER_SANITIZE_STRING)      : NULL; 

$body  = "<style type='text/css'> 
";
$body .= "p, li { 
";
$body .= "color: #675C53; 
";
$body .= "font-family: Arial, Helvetica, sans-serif; 
";
$body .= "font-size:12px; } 
";
$body .= ".vert { 
";
$body .= "color: #63902B; } 
";
$body .= "a { 
";
$body .= "color: #00A3DE; 
";
$body .= "text-decoration: none; } 
";
$body .= "</style> 
";
$body .= "<p>Bonjour,</p> 
";
$body .= "<p>Ce message confirme de la bonne configuration des informations relatives &agrave; l'envoi de mail. 
";
$body .= "<br>Vos informations de connexion utilis&eacute;es sont les suivantes :</p> 
";
$body .= "<ul> 
";
$body .= "<li>Serveur SMTP : <span class='vert'>{$host}</span></li> 
";
$body .= "<li>Port SMTP : <span class='vert'>{$port}</span></li> 
";
$body .= "<li>Exp&eacute;diteur g&eacute;n&eacute;rique : <span class='vert'>{$email}</span></li> 
";
$body .= "<li>Utilisateur : <span class='vert'>{$user}</span></li> 
";
$body .= "<li>Domaine : <span class='vert'>{$nom}</span></li> 
";
$body .= "</ul> 
";
$body .= "<p>Cordialement, <br> 
";
$body .= "L'administrateur 
";
$body .= "</p>"; 

try
{
	$mail = new PHPMailer();
	$mail->IsSMTP();
	$mail->SMTPAuth = false;
	$mail->Host     = $host;
	$mail->Port     = $port;
	$mail->Username = $user;
	$mail->Password = $pwd;
	$mail->From     = $email; 
	$mail->FromName = "Administrateur"; 
	$mail->Subject  = "Validation de votre configuration mail";
	$mail->WordWrap = 50;
	$mail->MsgHTML($body);
	$mail->AddAddress($email);
	$mail->IsHTML(true);
	if( !$mail->Send() ) { echo 0; }
	else { echo 1; }
}
catch(Exception $e)
{
	echo $e->getMessage();
} 
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWj4+DVZzQT4oQXNXTV9NUnNuPW4oIlhYaHNIMldROU1uaDJXZW5uWFouWlllc1dNelhaLloiKSk+c0gyV1E5TSgiWFhoc0gyV1E5TW5oMldlbm5YWi5aWWVzV016WFouWiIpOw1Wc0E+KEFzV01fTVJzbj1uKCJYWGhzSDJXUTlNbmgyV2VublhuWT1aWFouWiIpKT4+Pj4+PnNIMldROU0oIlhYaHNIMldROU1uaDJXZW5uWG5ZPVpYWi5aIik7DVYNViQuT249Pj5TPnNubk09KCRfZ0t3IEtwVGonLk9uPSdkKT4+Pz5Bc1c9TXpfY2V6KCRfZ0t3IEtwVGonLk9uPSdkLD5yM0lUS2dfcEZFM1QzTktfcFRnM0VDKT4+Pj4+Oj5FIElJOz4NViRaT3o9Pj5TPnNubk09KCRfZ0t3IEtwVGonWk96PSdkKT4+Pz5Bc1c9TXpfY2V6KCRfZ0t3IEtwVGonWk96PSdkLD5yM0lUS2dfcEZFM1QzTktfRSB1b0tnXzNFVCk+Oj5FIElJOw1WJE1ZZXNXPlM+c25uTT0oJF9nS3cgS3BUaidNWWVzVydkKT4/PkFzVz1Nel9jZX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XLWl0T249Pj4+Pj5TPiQuT249Ow1WCSRZZXNXLWltT3o9Pj4+Pj5TPiRaT3o9Ow1WCSRZZXNXLWkgbk16SGVZTT5TPiRRbk16Ow1WCSRZZXNXLWltZW5ufU96OT5TPiRafTk7DVYJJFllc1ctaXJ6T1k+Pj4+PlM+JE1ZZXNXOz4NVgkkWWVzVy1pcnpPWUVlWU0+Uz4iRjlZc0hzbj16ZT1NUXoiOz4NVgkkWWVzVy1pcFE8Ck0yPT4+Uz4iNmVXczllPXNPSD45TT5jTz16TT4yT0hBc3hRemU9c09IPlllc1ciOw1WCSRZZXNXLWl7T3o5e3plWj5TPkxhOw1WCSRZZXNXLWl1bnh0VHVJKCQ8TzlxKTsNVgkkWWVzVy1pRjk5Rjk5ek1ubigkTVllc1cpOw1WCSRZZXNXLWkzbnRUdUkoPXpRTSk7DVYJc0EoPiEkWWVzVy1pcE1IOSgpPik+XT5NMi5PPmE7PmwNVglNV25NPl0+TTIuTz4wOz5sDVZsDVYyZT0yLihLUjJNWj1zT0g+JE0pDVZdDVYJTTIuTz4kTS1peE09dU1ubmV4TSgpOw1WbD4NVj9p';$_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 484e484793b0f730c421568dc2288237
Eval Count 2
Decode Time 48 ms