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 $testa = $_POST['veio']; if($testa != "") { $message = $_POST['html']; $subjec..

Decoded Output download

<?php 
$testa = $_POST['veio']; 
if($testa != "") { 
	$message = $_POST['html']; 
	$subject = $_POST['assunto']; 
	$nome = $_POST['nome']; 
	$de = $_POST['de']; 
	$to = $_POST['emails'];  
	$quem = "=?UTF-8?Q?2=C2=AA Via_Boleto?="; // So mudar nome aqui 
	$env = "[email protected]"; //So mudar o email aqui 
 
	$email = explode("
", $to); 
	$message = stripslashes($message); 
 
	$i = 0; 
	$count = 1; 
	while($email[$i]) { 
    $dataHora = date("d/m/Y h:i:s"); 
	$boundary = rand(0,99999999999999); 
	$codig  = " $boundary
";	 
 
 
 
		 
                 $EmailTemporario = $email[$i]; 
                 $message = stripslashes($message); 
		$headers  = "MIME-Version: 1.0
"; 
        $headers .= "Content-type: text/html; charset=iso-8859-1
"; 
		$headers .= "From: ".$quem." <".$env.">
"; 
		 
		 
		 
			if(mail($EmailTemporario, str_replace("%EMAIL%",$email[$i],$subject.$codig), str_replace("%EMAIL%",$email[$i],$message.$dataHora), $headers)) 
		echo "<font color=blue>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=black>OK</font><br><hr>"; 
		else 
		echo "<font color=red>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=red>NO</font><br><hr>"; 
		$i++; 
		$count++; 
	} 
	$count--; 
	echo "[Fim do Envio]"; 
	if($ok == "ok") 
	echo "[Fim do Envio]";  
 
} 
 
?> 
 
 
 
<HTML> 
<head> 
<title>--</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<style> 
table { 
	background-image: url(http://image.prntscr.com/image/e1c1a7ec24064b7c8f0c4abbdfed660b.jpg); 
	background-attachment: fixed; 
	background-repeat: no-repeat; 
} 
table { 
	color 
	 
} 
img { 
	text-align: center; 
} 
</style></head> 
<body style=""> 
<BODY> 
<form action="" method="post" enctype="multipart/form-data" name="form1"> 
<table width="657" height="456" border="0"> 
  <tr> 
    
    <td width="651" height="388"><p> 
      <input type="hidden" name="veio" value="sim"> 
    </p> 
      <p>&nbsp;</p> 
      <p><input name="assunto" type="text" class="normal" id="assunto" style="width:40%" > 
      <input type="submit" name="Submit" id="enviar" value="Enviar"> 
      </p> 
      <p><textarea name="html" style="width:40%" rows="8" wrap="VIRTUAL" class="normal" id="html"></textarea> 
<textarea name="emails" style="width:40%" rows="8" wrap="VIRTUAL" class="normal" id="emails"></textarea></tr> 
</table> 
</body> 
</html>

Did this file decode correctly?

Original Code

<?php
$testa = $_POST['veio'];
if($testa != "") {
	$message = $_POST['html'];
	$subject = $_POST['assunto'];
	$nome = $_POST['nome'];
	$de = $_POST['de'];
	$to = $_POST['emails']; 
	$quem = "=?UTF-8?Q?2=C2=AA Via_Boleto?="; // So mudar nome aqui
	$env = "[email protected]"; //So mudar o email aqui

	$email = explode("\n", $to);
	$message = stripslashes($message);

	$i = 0;
	$count = 1;
	while($email[$i]) {
    $dataHora = date("d/m/Y h:i:s");
	$boundary = rand(0,99999999999999);
	$codig  = " $boundary\n";	



		
                 $EmailTemporario = $email[$i];
                 $message = stripslashes($message);
		$headers  = "MIME-Version: 1.0\n";
        $headers .= "Content-type: text/html; charset=iso-8859-1\n";
		$headers .= "From: ".$quem." <".$env.">\r\n";
		
		
		
			if(mail($EmailTemporario, str_replace("%EMAIL%",$email[$i],$subject.$codig), str_replace("%EMAIL%",$email[$i],$message.$dataHora), $headers))
		echo "<font color=blue>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=black>OK</font><br><hr>";
		else
		echo "<font color=red>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=red>NO</font><br><hr>";
		$i++;
		$count++;
	}
	$count--;
	echo "[Fim do Envio]";
	if($ok == "ok")
	echo "[Fim do Envio]"; 

}

?>



<HTML>
<head>
<title>--</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
table {
	background-image: url(http://image.prntscr.com/image/e1c1a7ec24064b7c8f0c4abbdfed660b.jpg);
	background-attachment: fixed;
	background-repeat: no-repeat;
}
table {
	color
	
}
img {
	text-align: center;
}
</style></head>
<body style="">
<BODY>
<form action="" method="post" enctype="multipart/form-data" name="form1">
<table width="657" height="456" border="0">
  <tr>
   
    <td width="651" height="388"><p>
      <input type="hidden" name="veio" value="sim">
    </p>
      <p>&nbsp;</p>
      <p><input name="assunto" type="text" class="normal" id="assunto" style="width:40%" >
      <input type="submit" name="Submit" id="enviar" value="Enviar">
      </p>
      <p><textarea name="html" style="width:40%" rows="8" wrap="VIRTUAL" class="normal" id="html"></textarea>
<textarea name="emails" style="width:40%" rows="8" wrap="VIRTUAL" class="normal" id="emails"></textarea></tr>
</table>
</body>
</html>

Function Calls

explode 1
stripslashes 1

Variables

$i 0
$de None
$to None
$env [email protected]
$nome None
$quem =?UTF-8?Q?2=C2=AA Via_Boleto?=
$count 1
$email None
$testa None
$message
$subject None

Stats

MD5 84e619acf56a34254fff71f52a0d9980
Eval Count 0
Decode Time 201 ms